![]() |
glbinding
3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
|
The State class represents the configuration of a function for one thread. This includes the driver function pointer (is allowed to differ between contexts) and the callback mask. More...
#include <glbinding/State.h>
Public Member Functions | |
| State ()=default | |
| Constructor. | |
| virtual void | resolve (const char *name) override |
| Resolve a function and save its address. | |
Public Member Functions inherited from glbinding::AbstractState | |
| AbstractState () | |
| Constructor that initializes all values with 0 / invalid. | |
| virtual | ~AbstractState () |
| Destructor. | |
| bool | isInitialized () const |
| Query if this state has been initialized. | |
| ProcAddress | address () const |
| Query address of OpenGL function. | |
| CallbackMask | callbackMask () const |
| Query callback mask. | |
| void | setCallbackMask (CallbackMask mask) |
| Set callback mask. | |
| bool | isResolved () const |
| Query resolution status. | |
Additional Inherited Members | |
Protected Attributes inherited from glbinding::AbstractState | |
| ProcAddress | m_address |
| The function pointer to the OpenGL function. | |
| bool | m_initialized |
| Whether this state is initialized or not. | |
| CallbackMask | m_callbackMask |
| The callback mask that is considered when dispatching function calls. | |
The State class represents the configuration of a function for one thread. This includes the driver function pointer (is allowed to differ between contexts) and the callback mask.
|
default |
Constructor.
Resolve a function and save its address.
| [in] | name | Name of the function to be resolved |
Implements glbinding::AbstractState.
1.9.8