![]() |
glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
#include <set>
#include <functional>
#include <glbinding/glbinding_api.h>
#include <glbinding/CallbackMask.h>
#include <glbinding/FunctionCall.h>
Go to the source code of this file.
Namespaces | |
namespace | glbinding |
Contains all the classes of glbinding. | |
Typedefs | |
using | glbinding::SimpleFunctionCallback = std::function< void(const AbstractFunction &)> |
The callback type of a simple function callback without parameters and return value. | |
using | glbinding::FunctionCallback = std::function< void(const FunctionCall &)> |
The callback type of a function callback with parameters and return value. | |
Functions | |
GLBINDING_API void | glbinding::setCallbackMask (CallbackMask mask) |
Updates the callback mask of all registered OpenGL functions in the current state. | |
GLBINDING_API void | glbinding::setCallbackMaskExcept (CallbackMask mask, const std::set< std::string > &blackList) |
Updates the callback mask of all registered OpenGL functions in the current state, excluding the blacklisted functions. | |
GLBINDING_API void | glbinding::addCallbackMask (CallbackMask mask) |
Updates the callback mask of all registered OpenGL functions in the current state to include the passed CallbackMask. | |
GLBINDING_API void | glbinding::addCallbackMaskExcept (CallbackMask mask, const std::set< std::string > &blackList) |
Updates the callback mask of all registered OpenGL functions in the current state to include the passed CallbackMask, excluding the blacklisted functions. | |
GLBINDING_API void | glbinding::removeCallbackMask (CallbackMask mask) |
Updates the callback mask of all registered OpenGL functions in the current state to exclude the passed CallbackMask. | |
GLBINDING_API void | glbinding::removeCallbackMaskExcept (CallbackMask mask, const std::set< std::string > &blackList) |
Updates the callback mask of all registered OpenGL functions in the current state to exclude the passed CallbackMask, excluding the blacklisted functions. | |
GLBINDING_API SimpleFunctionCallback | glbinding::unresolvedCallback () |
Unresolved callback accessor. | |
GLBINDING_API void | glbinding::setUnresolvedCallback (SimpleFunctionCallback callback) |
Updates the unresolved callback that is called upon invocation of an OpenGL function which have no counterpart in the OpenGL driver. | |
GLBINDING_API FunctionCallback | glbinding::beforeCallback () |
Before callback accessor. | |
GLBINDING_API void | glbinding::setBeforeCallback (FunctionCallback callback) |
Updates the before callback that is called before the actual OpenGL function invocation. | |
GLBINDING_API FunctionCallback | glbinding::afterCallback () |
After callback accessor. | |
GLBINDING_API void | glbinding::setAfterCallback (FunctionCallback callback) |