#include <mlGLContext.h>
Classes | |
| struct | GLCtx |
| Structure with platform dependent information about OpenGL context. More... | |
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 28 of file mlGLContext.h.
| static void GLContext::activate | ( | GLCtx & | ctx | ) | [static] |
Make given context current.
| static GLCtx GLContext::create | ( | ) | [static] |
Returns new context or 0 in case of an error.
| static GLCtx GLContext::createFullScreen | ( | ) | [static] |
Returns new full-screen context or 0 in case of an error.
| static GLCtx GLContext::current | ( | ) | [static] |
Return currently active context.
| static void GLContext::destroy | ( | GLCtx & | ctx | ) | [static] |
destroys given context
1.5.8