|
MeVisLab Resolution Independence API
|
#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 34 of file mlGLContext.h.
|
inline |
Definition at line 36 of file mlGLContext.h.
References ml::GLContextStack::createTemporaryContextAndActivate().
|
inline |
Definition at line 39 of file mlGLContext.h.
References ml::GLContextStack::destroyTemporaryContextAndActivatePreviousContext().