|
OpenSceneGraph 3.6.5
|
Class to encapsulate platform-specific OpenGL context handle variables. More...
#include <GraphicsHandleX11>

Public Types | |
| typedef GLXContext | Context |
| typedef GLXPbuffer | Pbuffer |
Public Member Functions | |
| GraphicsHandleX11 () | |
| void | setDisplay (Display *display) |
| Set X11 display. | |
| Display * | getDisplay () const |
| Get X11 display. | |
| void | setContext (Context context) |
| Set native OpenGL graphics context. | |
| Context | getContext () const |
| Get native OpenGL graphics context. | |
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 |
Get native OpenGL graphics context.
References _context.
|
inline |
Get X11 display.
References _display.
|
inline |
Set native OpenGL graphics context.
References _context.
|
inline |
Set X11 display.
References _display.
|
protected |
Referenced by getContext(), GraphicsHandleX11(), and setContext().
|
protected |
Referenced by getDisplay(), GraphicsHandleX11(), and setDisplay().
| Generated at Sun Aug 10 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0. |