OpenSceneGraph  3.0.1
Public Member Functions | Protected Attributes
osgViewer::GraphicsHandleCarbon Class Reference

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

List of all members.

Public Member Functions

 GraphicsHandleCarbon ()
void setAGLContext (AGLContext context)
 Set native AGL graphics context.
AGLContext getAGLContext () const
 Get native AGL graphics context.

Protected Attributes

AGLContext _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.


Constructor & Destructor Documentation

osgViewer::GraphicsHandleCarbon::GraphicsHandleCarbon ( ) [inline]

Member Function Documentation

AGLContext osgViewer::GraphicsHandleCarbon::getAGLContext ( ) const [inline]

Get native AGL graphics context.

void osgViewer::GraphicsHandleCarbon::setAGLContext ( AGLContext  context) [inline]

Set native AGL graphics context.


Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5.