![]() |
OpenSceneGraph
|
Class to encapsulate platform-specific OpenGL context handle variables. More...

Public Types | |
| typedef GLXContext | Context |
| typedef GLXPbuffer | Pbuffer |
Public Member Functions | |
| GraphicsHandleX11 () | |
| void | setDisplay (Display *display) |
| Set X11 display. More... | |
| Display * | getDisplay () const |
| Get X11 display. More... | |
| void | setContext (Context context) |
| Set native OpenGL graphics context. More... | |
| Context | getContext () const |
| Get native OpenGL graphics context. More... | |
Protected Attributes | |
| 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.
| typedef GLXContext osgViewer::GraphicsHandleX11::Context |
|
inline |
|
inline |
Get native OpenGL graphics context.
|
inline |
Get X11 display.
|
inline |
Set native OpenGL graphics context.
|
inline |
Set X11 display.
|
protected |
|
protected |
1.8.13