openscenegraph
|
#include <GraphicsHandleX11>
Public Types | |
typedef GLXContext | Context |
typedef GLXPbuffer | Pbuffer |
Public Member Functions | |
GraphicsHandleX11 () | |
void | setDisplay (Display *display) |
Display * | getDisplay () const |
void | setContext (Context context) |
Context | getContext () const |
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 |