VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtScopedGlContext Class Reference

RAII style OpenGL context. Useful for one off initialization.

Public Member Functions

 DtScopedGlContext (DtDe &de)
 
virtual ~DtScopedGlContext ()
 
 DtScopedGlContext ()=delete
 
 DtScopedGlContext (const DtScopedGlContext &)=delete
 
DtScopedGlContextoperator= (const DtScopedGlContext &)=delete
 

Protected Attributes

DtDemyDe
 
osg::ref_ptr
< osg::GraphicsContext::Traits > 
myTraits
 
osg::ref_ptr
< osg::GraphicsContext > 
myGraphicsContext
 

Constructor & Destructor Documentation

makVrv::DtScopedGlContext::DtScopedGlContext ( DtDe de)

constructor

virtual makVrv::DtScopedGlContext::~DtScopedGlContext ( )
virtual

destructor

makVrv::DtScopedGlContext::DtScopedGlContext ( )
delete

not allowed

makVrv::DtScopedGlContext::DtScopedGlContext ( const DtScopedGlContext )
delete

not allowed

Member Function Documentation

DtScopedGlContext& makVrv::DtScopedGlContext::operator= ( const DtScopedGlContext )
delete

not allowed

Member Data Documentation

DtDe& makVrv::DtScopedGlContext::myDe
protected
osg::ref_ptr<osg::GraphicsContext::Traits> makVrv::DtScopedGlContext::myTraits
protected
osg::ref_ptr<osg::GraphicsContext> makVrv::DtScopedGlContext::myGraphicsContext
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)