SharedGLContext

Shared opengl context helper

Members

Functions

bind
void bind(HDC hDC)

make this context current for DC

init
bool init(HDC hDC)

Init OpenGL context, if not yet initialized

swapBuffers
void swapBuffers(HDC hDC)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind(HDC hDC)

make null context current for DC

uninit
void uninit()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_error
bool _error;
Undocumented in source.
_hGLRC
HGLRC _hGLRC;
Undocumented in source.
_hPalette
HPALETTE _hPalette;
Undocumented in source.

Meta