Class to encapsulate platform-specific OpenGL context handle variables.
More...
Class to encapsulate platform-specific OpenGL context handle variables.
Derived osg::GraphicsContext classes can inherit from this class to share OpenGL resources.
◆ GraphicsHandleWin32()
osgViewer::GraphicsHandleWin32::GraphicsHandleWin32 |
( |
| ) |
|
|
inline |
◆ getHDC()
HDC osgViewer::GraphicsHandleWin32::getHDC |
( |
| ) |
const |
|
inline |
◆ getHWND()
HWND osgViewer::GraphicsHandleWin32::getHWND |
( |
| ) |
const |
|
inline |
◆ getWGLContext()
HGLRC osgViewer::GraphicsHandleWin32::getWGLContext |
( |
| ) |
const |
|
inline |
Get native OpenGL graphics context.
◆ setHDC()
void osgViewer::GraphicsHandleWin32::setHDC |
( |
HDC |
hdc | ) |
|
|
inline |
◆ setHWND()
void osgViewer::GraphicsHandleWin32::setHWND |
( |
HWND |
hwnd | ) |
|
|
inline |
◆ setWGLContext()
void osgViewer::GraphicsHandleWin32::setWGLContext |
( |
HGLRC |
hglrc | ) |
|
|
inline |
Set native OpenGL graphics context.
◆ _hdc
HDC osgViewer::GraphicsHandleWin32::_hdc |
|
protected |
◆ _hglrc
HGLRC osgViewer::GraphicsHandleWin32::_hglrc |
|
protected |
◆ _hwnd
HWND osgViewer::GraphicsHandleWin32::_hwnd |
|
protected |
The documentation for this class was generated from the following file: