OSG
3.4.0
|
#include <GraphicsHandleX11.h>
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.
Definition at line 44 of file GraphicsHandleX11.h.
typedef GLXContext osgViewer::GraphicsHandleX11::Context |
Definition at line 62 of file GraphicsHandleX11.h.
Definition at line 63 of file GraphicsHandleX11.h.
|
inline |
Definition at line 48 of file GraphicsHandleX11.h.
|
inline |
Get native OpenGL graphics context.
Definition at line 70 of file GraphicsHandleX11.h.
|
inline |
Get X11 display.
Definition at line 56 of file GraphicsHandleX11.h.
|
inline |
Set native OpenGL graphics context.
Definition at line 67 of file GraphicsHandleX11.h.
|
inline |
Set X11 display.
Definition at line 53 of file GraphicsHandleX11.h.
|
protected |
Definition at line 75 of file GraphicsHandleX11.h.
|
protected |
Definition at line 74 of file GraphicsHandleX11.h.