|
openscenegraph
|
#include <GraphicsHandleCocoa>
Public Member Functions | |
| GraphicsHandleCocoa () | |
| void | setNSOpenGLContext (NSOpenGLContext *context) |
| NSOpenGLContext * | getNSOpenGLContext () const |
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.
|
inline |
References _context.
|
inline |
Get native AGL graphics context.
References _context.
|
inline |
Set native AGL graphics context.
References _context.
|
protected |
Referenced by getNSOpenGLContext(), GraphicsHandleCocoa(), and setNSOpenGLContext().