openscenegraph
|
Public Member Functions | |
GraphicsHandleCarbon () | |
void | setAGLContext (AGLContext context) |
AGLContext | getAGLContext () const |
Protected Attributes | |
AGLContext | _context |
Class to encapsulate platform-specific OpenGL context handle variables. Derived osg::GraphicsContext classes can inherit from this class to share OpenGL resources.
osgViewer::GraphicsHandleCarbon::GraphicsHandleCarbon | ( | ) | [inline] |
AGLContext osgViewer::GraphicsHandleCarbon::getAGLContext | ( | ) | const [inline] |
Get native AGL graphics context.
void osgViewer::GraphicsHandleCarbon::setAGLContext | ( | AGLContext | context | ) | [inline] |
Set native AGL graphics context.
AGLContext osgViewer::GraphicsHandleCarbon::_context [protected] |