Class to encapsulate platform-specific OpenGL context handle variables.
More...
|
typedef EGLContext | Context |
|
typedef EGLSurface | Pbuffer |
|
typedef GLXContext | Context |
|
typedef GLXPbuffer | Pbuffer |
|
|
Display * | _display |
|
Context | _context |
|
Class to encapsulate platform-specific OpenGL context handle variables.
Derived osg::GraphicsContext classes can inherit from this class to share OpenGL resources.
◆ getContext()
Context osgViewer::GraphicsHandleX11::getContext |
( |
| ) |
const |
|
inline |
Get native OpenGL graphics context.
◆ getDisplay()
Display* osgViewer::GraphicsHandleX11::getDisplay |
( |
| ) |
const |
|
inline |
◆ setContext()
void osgViewer::GraphicsHandleX11::setContext |
( |
Context |
context | ) |
|
|
inline |
Set native OpenGL graphics context.
◆ setDisplay()
void osgViewer::GraphicsHandleX11::setDisplay |
( |
Display * |
display | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/karlu20/private/installs/OpenSceneGraph/include/osgViewer/api/X11/GraphicsHandleX11