9 #include <glbinding/glbinding_api.h> 10 #include <glbinding/glbinding_features.h> 21 class AbstractFunction;
Contains all the classes of glbinding.
std::function< void(ContextHandle)> ContextSwitchCallback
The signature of the context switch callback.
Definition: glbinding.h:28
GLBINDING_API void removeCallbackMask(CallbackMask mask)
GLBINDING_API void setCallbackMask(CallbackMask mask)
CallbackMask
The CallbackMask is a bitfield to encode the states of callbacks for the OpenGL API function calls...
Definition: CallbackMask.h:17
GLBINDING_API void resolveFunctions()
GLBINDING_API void setLogCallback(FunctionLogCallback callback)
GLBINDING_API void useCurrentContext()
std::function< void(const AbstractFunction &)> SimpleFunctionCallback
Definition: glbinding.h:25
GLBINDING_API void addCallbackMask(CallbackMask mask)
std::function< ProcAddress(const char *)> GetProcAddress
The signature for the getProcAddress function.
Definition: ProcAddress.h:24
GLBINDING_API void setCallbackMaskExcept(CallbackMask mask, const std::set< std::string > &blackList)
GLBINDING_API void useContext(ContextHandle context)
GLBINDING_API void addCallbackMaskExcept(CallbackMask mask, const std::set< std::string > &blackList)
GLBINDING_API void setBeforeCallback(FunctionCallback callback)
GLBINDING_API void releaseContext(ContextHandle context)
GLBINDING_API FunctionCallback beforeCallback()
GLBINDING_API void registerAdditionalFunction(AbstractFunction *function)
void(*)( ProcAddress)
The generic pointer to an OpenGL function.
Definition: ProcAddress.h:18
GLBINDING_API FunctionCallback afterCallback()
GLBINDING_API void initialize(glbinding::GetProcAddress functionPointerResolver, bool resolveFunctions=true)
GLBINDING_API void addContextSwitchCallback(ContextSwitchCallback callback)
GLBINDING_API ProcAddress resolveFunction(const char *name)
The AbstractFunction represents an OpenGL API function by its name and entry point after dynamic addr...
Definition: AbstractFunction.h:29
GLBINDING_API SimpleFunctionCallback unresolvedCallback()
std::function< void(FunctionCall *)> FunctionLogCallback
Definition: glbinding.h:27
long long int ContextHandle
Definition: ContextHandle.h:9
GLBINDING_API void setUnresolvedCallback(SimpleFunctionCallback callback)
GLBINDING_API FunctionLogCallback logCallback()
std::function< void(const FunctionCall &)> FunctionCallback
Definition: glbinding.h:26
GLBINDING_API void removeCallbackMaskExcept(CallbackMask mask, const std::set< std::string > &blackList)
GLBINDING_API void releaseCurrentContext()
GLBINDING_API void setAfterCallback(FunctionCallback callback)