MeVisLabToolboxReference
|
Creates a temporary OpenGL context and destroys it when the object goes out of scope. More...
#include <mlGLContext.h>
Public Member Functions | |
TemporaryGLContextScope () | |
~TemporaryGLContextScope () |
Creates a temporary OpenGL context and destroys it when the object goes out of scope.
The current OpenGL context is pushed and re-activated on deletion of the scope object.
Definition at line 30 of file mlGLContext.h.
GLContextStack::TemporaryGLContextScope::TemporaryGLContextScope | ( | ) | [inline] |
Definition at line 32 of file mlGLContext.h.
References GLContextStack::createTemporaryContextAndActivate().
GLContextStack::TemporaryGLContextScope::~TemporaryGLContextScope | ( | ) | [inline] |
Definition at line 35 of file mlGLContext.h.
References GLContextStack::destroyTemporaryContextAndActivatePreviousContext().