MeVisLabToolboxReference
|
Platform independent interface class to manage an OpenGL context. More...
Go to the source code of this file.
Classes | |
class | GLContextStack |
Manages a stack of GL contexts and their correct activation (NOTE: This is only accessible in the GUI main thread!) More... | |
class | GLContextStack::TemporaryGLContextScope |
Creates a temporary OpenGL context and destroys it when the object goes out of scope. More... | |
class | GLContextStack::StoreCurrentGLContextScope |
Stores the current GL context and re-activates it when the scope object is deleted. More... | |
Defines | |
#define | CREATE_AND_ACTIVATE_GLCONTEXT ML_OPENGL_NAMESPACE::GLContextStack::createTemporaryContextAndActivate(); |
Deprecated, use GLContextStack::createTemporaryContextAndActivate() instead. | |
#define | DESTROY_GLCONTEXT_AND_ACTIVATE_PREVIOUS ML_OPENGL_NAMESPACE::GLContextStack::destroyTemporaryContextAndActivatePreviousContext(); |
Deprecated, use GLContextStack::destroyTemporaryContextAndActivatePreviousContext() instead. |
Platform independent interface class to manage an OpenGL context.
Definition in file mlGLContext.h.
#define CREATE_AND_ACTIVATE_GLCONTEXT ML_OPENGL_NAMESPACE::GLContextStack::createTemporaryContextAndActivate(); |
Deprecated, use GLContextStack::createTemporaryContextAndActivate() instead.
Definition at line 78 of file mlGLContext.h.
#define DESTROY_GLCONTEXT_AND_ACTIVATE_PREVIOUS ML_OPENGL_NAMESPACE::GLContextStack::destroyTemporaryContextAndActivatePreviousContext(); |
Deprecated, use GLContextStack::destroyTemporaryContextAndActivatePreviousContext() instead.
Definition at line 82 of file mlGLContext.h.