OpenSceneGraph
3.0.1
|
Class to encapsulate platform-specific OpenGL context handle variables. More...
Public Member Functions | |
GraphicsHandleCocoa () | |
void | setNSOpenGLContext (NSOpenGLContext *context) |
Set native AGL graphics context. | |
NSOpenGLContext * | getNSOpenGLContext () const |
Get native AGL graphics context. | |
Protected Attributes | |
NSOpenGLContext * | _context |
Class to encapsulate platform-specific OpenGL context handle variables.
Derived osg::GraphicsContext classes can inherit from this class to share OpenGL resources.
osgViewer::GraphicsHandleCocoa::GraphicsHandleCocoa | ( | ) | [inline] |
NSOpenGLContext* osgViewer::GraphicsHandleCocoa::getNSOpenGLContext | ( | ) | const [inline] |
Get native AGL graphics context.
void osgViewer::GraphicsHandleCocoa::setNSOpenGLContext | ( | NSOpenGLContext * | context | ) | [inline] |
Set native AGL graphics context.
NSOpenGLContext* osgViewer::GraphicsHandleCocoa::_context [protected] |
![]() | Generated at Thu Sep 27 2012 12:20:31 for the OpenSceneGraph by doxygen 1.7.6.1. |