OpenSceneGraph 3.6.5
Public Member Functions | Protected Attributes | List of all members
osgViewer::GraphicsHandleCarbon Class Reference

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

#include <GraphicsHandleCarbon>

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

◆ GraphicsHandleCarbon()

osgViewer::GraphicsHandleCarbon::GraphicsHandleCarbon ( )
inline

Member Function Documentation

◆ getAGLContext()

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

Get native AGL graphics context.

◆ setAGLContext()

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

Set native AGL graphics context.

Member Data Documentation

◆ _context

AGLContext osgViewer::GraphicsHandleCarbon::_context
protected

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

osg logo
Generated at Mon Aug 14 2023 00:00:00 for the OpenSceneGraph by doxygen 1.9.8.