OpenGL context management.
More...
#include <macOpenGL.h>
OpenGL context management.
Definition at line 26 of file macOpenGL.h.
◆ GLCtx
◆ activate()
static void macos::GLContext::activate |
( |
GLCtx & |
ctx | ) |
|
|
static |
Make given context current.
◆ create()
static GLCtx macos::GLContext::create |
( |
| ) |
|
|
static |
Returns new context or 0 in case of an error.
◆ current()
static GLCtx macos::GLContext::current |
( |
| ) |
|
|
static |
Return currently active context.
◆ destroy()
static void macos::GLContext::destroy |
( |
GLCtx & |
ctx | ) |
|
|
static |
The documentation for this class was generated from the following file: