MeVisLab Resolution Independence API
ml::GLContextStack::TemporaryGLContextScope Class Reference

#include <mlGLContext.h>

Public Member Functions

 TemporaryGLContextScope ()
 ~TemporaryGLContextScope ()

Detailed Description

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.

Constructor & Destructor Documentation

◆ TemporaryGLContextScope()

ml::GLContextStack::TemporaryGLContextScope::TemporaryGLContextScope ( )
inline

◆ ~TemporaryGLContextScope()

ml::GLContextStack::TemporaryGLContextScope::~TemporaryGLContextScope ( )
inline

The documentation for this class was generated from the following file: