SharedGLContext

Shared opengl context helper

Members

Functions

bind
void bind(HDC hDC)

make this context current for DC

createCoreRC
bool createCoreRC(HDC hDC)
Undocumented in source. Be warned that the author may not have intended to support it.
init
bool init(HDC hDC)

Init OpenGL context, if not yet initialized

initGLBindings
bool initGLBindings(HDC hDC)
Undocumented in source. Be warned that the author may not have intended to support it.
multisampleFormat
int multisampleFormat(HDC hdc, int samples)
Undocumented in source. Be warned that the author may not have intended to support it.
reinit
bool reinit(HDC hDC, int samples)

A helper function to reinit a context to use multisampling

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