Stores the current GL context and re-activates it when the scope object is deleted.
Creates a temporary OpenGL context and destroys it when the object goes out of scope.
Manages a stack of GL contexts and their correct activation (NOTE: This is only accessible in the GUI...
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...
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