Stores the current GL context and re-activates it when the scope object is deleted.
StoreCurrentGLContextScope()
~StoreCurrentGLContextScope()
Creates a temporary OpenGL context and destroys it when the object goes out of scope.
TemporaryGLContextScope()
~TemporaryGLContextScope()
Manages a stack of GL contexts and their correct activation (NOTE: This is only accessible in the GUI...
static void pushCurrentContext()
pushes the current OpenGL context (detected via platform specific state) to the stack
static void popCurrentContext()
pops the previously pushed context and activates it
static void createTemporaryContextAndActivate()
Pushes the current context and creates and activates a new temporary OpenGL context which may be used...
static void destroyTemporaryContextAndActivatePreviousContext()
Destroys the temporary context created via createTemporaryContextAndActivate() and pops/activates the...