 |
glbinding
2.1.1.000000000000
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
Go to the documentation of this file.
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);
std::vector< State > m_states
The list of all states.
Definition: AbstractFunction.h:254
ProcAddress address
The function pointer to the OpenGL function.
Definition: AbstractFunction.h:174
static int s_maxpos
The global maximum of states per function.
Definition: AbstractFunction.h:258
bool initialized
Whether this state is initialized or not.
Definition: AbstractFunction.h:175
The State struct represents the configuration of an OpenGL function for one thread....
Definition: AbstractFunction.h:166
void(*)() ProcAddress
The generic pointer to an OpenGL function.
Definition: ProcAddress.h:15
const char * m_name
The OpenGL API function name, including the 'gl' prefix.
Definition: AbstractFunction.h:252
GLBINDING_API void removeCallbackMask(CallbackMask mask)
Updates the callback mask of all registered OpenGL functions in the current state to exclude the pass...
A FunctionCall represents a function call of an OpenGL API function, including the parameter and retu...
Definition: FunctionCall.h:22
GLBINDING_API void setCallbackMask(CallbackMask mask)
Updates the callback mask of all registered OpenGL functions in the current state.
GLBINDING_API void addCallbackMask(CallbackMask mask)
Updates the callback mask of all registered OpenGL functions in the current state to include the pass...
CallbackMask
The CallbackMask is a bitfield to encode the states of callbacks and logging for the OpenGL API funct...
Definition: CallbackMask.h:15
CallbackMask callbackMask
The callback mask that is considered when dispatching function calls.
Definition: AbstractFunction.h:177
Contains all the classes of glbinding.
The AbstractFunction represents an OpenGL API function.
Definition: AbstractFunction.h:23
The main interface to handle additional features to OpenGL functions besides regular function calls.
Definition: Binding.h:27