MeVisLabToolboxReference
|
#include <OpenGL/CGLTypes.h>
Go to the source code of this file.
Classes | |
class | macx::GLContext |
OpenGL context management. More... | |
Namespaces | |
namespace | macx |
Defines | |
#define | MACX__CREATE_AND_ACTIVATE_GLCONTEXT |
Convenience macro to create and activate an OpenGL context. | |
#define | MACX__DESTROY_GLCONTEXT_AND_ACTIVATE_PREVIOUS |
Convenience macro to activate the previously used OpenGL context and destroy the current one. |
Definition in file macOpenGL.h.
#define MACX__CREATE_AND_ACTIVATE_GLCONTEXT |
macx::GLContext::GLCtx __pCtx = macx::GLContext::current(); \ macx::GLContext::GLCtx __nCtx = macx::GLContext::create(); \ macx::GLContext::activate(__nCtx);
Convenience macro to create and activate an OpenGL context.
Definition at line 42 of file macOpenGL.h.
#define MACX__DESTROY_GLCONTEXT_AND_ACTIVATE_PREVIOUS |
macx::GLContext::activate(__pCtx); \ macx::GLContext::destroy(__nCtx);
Convenience macro to activate the previously used OpenGL context and destroy the current one.
Definition at line 48 of file macOpenGL.h.