glbinding  3.0.2.58901078581f
A C++ binding for the OpenGL API, generated using the gl.xml specification.
glbinding::AbstractState Class Referenceabstract

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. More...

#include <glbinding/include/glbinding/AbstractState.h>

Inheritance diagram for glbinding::AbstractState:
glbinding::State

Public Member Functions

 AbstractState ()
 Constructor that initializes all values with 0 / invalid. More...
 
virtual ~AbstractState ()
 
bool isInitialized () const
 
ProcAddress address () const
 
CallbackMask callbackMask () const
 
void setCallbackMask (CallbackMask mask)
 
virtual void resolve (const char *name)=0
 
bool isResolved () const
 

Protected Attributes

ProcAddress m_address
 The function pointer to the OpenGL function. More...
 
bool m_initialized
 Whether this state is initialized or not. More...
 
CallbackMask m_callbackMask
 The callback mask that is considered when dispatching function calls. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

glbinding::AbstractState::AbstractState ( )

Constructor that initializes all values with 0 / invalid.

virtual glbinding::AbstractState::~AbstractState ( )
virtual

Member Function Documentation

bool glbinding::AbstractState::isInitialized ( ) const
ProcAddress glbinding::AbstractState::address ( ) const
CallbackMask glbinding::AbstractState::callbackMask ( ) const
void glbinding::AbstractState::setCallbackMask ( CallbackMask  mask)
virtual void glbinding::AbstractState::resolve ( const char *  name)
pure virtual

Implemented in glbinding::State.

bool glbinding::AbstractState::isResolved ( ) const

Member Data Documentation

ProcAddress glbinding::AbstractState::m_address
protected

The function pointer to the OpenGL function.

bool glbinding::AbstractState::m_initialized
protected

Whether this state is initialized or not.

CallbackMask glbinding::AbstractState::m_callbackMask
protected

The callback mask that is considered when dispatching function calls.


The documentation for this class was generated from the following file: