osgViewer::GraphicsHandleCocoa Class Reference

List of all members.

Public Member Functions

 GraphicsHandleCocoa ()
void setNSOpenGLContext (NSOpenGLContext *context)
NSOpenGLContext * getNSOpenGLContext () const

Protected Attributes

NSOpenGLContext * _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::GraphicsHandleCocoa::GraphicsHandleCocoa (  )  [inline]


Member Function Documentation

void osgViewer::GraphicsHandleCocoa::setNSOpenGLContext ( NSOpenGLContext *  context  )  [inline]

Set native AGL graphics context.

NSOpenGLContext* osgViewer::GraphicsHandleCocoa::getNSOpenGLContext (  )  const [inline]

Get native AGL graphics context.


Member Data Documentation

NSOpenGLContext* osgViewer::GraphicsHandleCocoa::_context [protected]


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

Generated on Sat Mar 20 12:34:07 2010 for openscenegraph by  doxygen 1.5.6