OpenSceneGraph  3.4.0
Public Types | Public Member Functions | Protected Attributes
osgViewer::GraphicsHandleX11 Class Reference

Class to encapsulate platform-specific OpenGL context handle variables. More...

Inheritance diagram for osgViewer::GraphicsHandleX11:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Class to encapsulate platform-specific OpenGL context handle variables.

Derived osg::GraphicsContext classes can inherit from this class to share OpenGL resources.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Get native OpenGL graphics context.

Display* osgViewer::GraphicsHandleX11::getDisplay ( ) const [inline]

Get X11 display.

Set native OpenGL graphics context.

void osgViewer::GraphicsHandleX11::setDisplay ( Display *  display) [inline]

Set X11 display.


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:14:31 for the OpenSceneGraph by doxygen 1.7.6.1.