#include <macOpenGL.h>
Public Types | |
| typedef CGLContextObj | GLCtx |
| OpenGL context structure. | |
Static Public Member Functions | |
| static GLCtx | create () |
| Returns new context or 0 in case of an error. | |
| static GLCtx | createFullScreen () |
| Returns new full-screen context or 0 in case of an error. | |
| static void | destroy (GLCtx &ctx) |
| destroys given context | |
| static void | activate (GLCtx &ctx) |
| Make given context current. | |
| static GLCtx | current () |
| Return currently active context. | |
Definition at line 16 of file macOpenGL.h.
| typedef CGLContextObj macx::GLContext::GLCtx |
| static void macx::GLContext::activate | ( | GLCtx & | ctx | ) | [static] |
Make given context current.
| static GLCtx macx::GLContext::create | ( | ) | [static] |
Returns new context or 0 in case of an error.
| static GLCtx macx::GLContext::createFullScreen | ( | ) | [static] |
Returns new full-screen context or 0 in case of an error.
| static GLCtx macx::GLContext::current | ( | ) | [static] |
Return currently active context.
| static void macx::GLContext::destroy | ( | GLCtx & | ctx | ) | [static] |
destroys given context
1.5.8