8 #include <glbinding/glbinding_api.h> 50 const char * name()
const;
56 void resolveAddress();
65 bool isResolved()
const;
140 void unresolved()
const;
189 bool hasState()
const;
201 bool hasState(
int pos)
const;
210 State & state()
const;
222 State & state(
int pos)
const;
231 static void provideState(
int pos);
240 static void neglectState(
int pos);
249 static void setStatePos(
int pos);
Contains all the classes of glbinding.
GLBINDING_API void removeCallbackMask(CallbackMask mask)
Updates the callback mask of all registered OpenGL functions in the current state to exclude the pass...
GLBINDING_API void setCallbackMask(CallbackMask mask)
Updates the callback mask of all registered OpenGL functions in the current state.
CallbackMask
The CallbackMask is a bitfield to encode the states of callbacks and logging for the OpenGL API funct...
Definition: CallbackMask.h:15
static int s_maxpos
The global maximum of states per function.
Definition: AbstractFunction.h:258
A FunctionCall represents a function call of an OpenGL API function, including the parameter and retu...
Definition: FunctionCall.h:22
void(*)() ProcAddress
The generic pointer to an OpenGL function.
Definition: ProcAddress.h:15
GLBINDING_API void addCallbackMask(CallbackMask mask)
Updates the callback mask of all registered OpenGL functions in the current state to include the pass...
The State struct represents the configuration of an OpenGL function for one thread. This includes the driver function pointer (is allowed to differ between contexts) and the callback mask.
Definition: AbstractFunction.h:166
std::vector< State > m_states
The list of all states.
Definition: AbstractFunction.h:254
CallbackMask callbackMask
The callback mask that is considered when dispatching function calls.
Definition: AbstractFunction.h:177
The AbstractFunction represents an OpenGL API function.
Definition: AbstractFunction.h:23
ProcAddress address
The function pointer to the OpenGL function.
Definition: AbstractFunction.h:174
The main interface to handle additional features to OpenGL functions besides regular function calls...
Definition: Binding.h:27
bool initialized
Whether this state is initialized or not.
Definition: AbstractFunction.h:175
const char * m_name
The OpenGL API function name, including the 'gl' prefix.
Definition: AbstractFunction.h:252