VR-Forces 5.0.3 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::DtExampleShaderManager Class Reference

This is the implementation of the example model manager. It handles the creation and resizing of Example model instances.

Public Member Functions

 DtExampleShaderManager (DtDe &de, osg::StateSet *ss)
 
virtual ~DtExampleShaderManager ()
 
virtual void changeColorOverride (int color, float deltaChange)
 
virtual void changeScale (int axis, float deltaChange)
 

Protected Attributes

DtDemyDe
 
osg::ref_ptr< osg::StateSet > myModelStateSet
 
osg::ref_ptr< osg::Uniform > myColorToAdd
 
osg::ref_ptr< osg::Uniform > myScale
 
osg::ref_ptr
< osgEarth::VirtualProgram > 
myVirtualProgram
 

Constructor & Destructor Documentation

makVrv::DtExampleShaderManager::DtExampleShaderManager ( DtDe de,
osg::StateSet *  ss 
)

The Constructor takes in the de for the application also takes in a stateset to apply the new shaders to.

virtual makVrv::DtExampleShaderManager::~DtExampleShaderManager ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtExampleShaderManager::changeColorOverride ( int  color,
float  deltaChange 
)
virtual
virtual void makVrv::DtExampleShaderManager::changeScale ( int  axis,
float  deltaChange 
)
virtual

Member Data Documentation

DtDe& makVrv::DtExampleShaderManager::myDe
protected
osg::ref_ptr<osg::StateSet> makVrv::DtExampleShaderManager::myModelStateSet
protected
osg::ref_ptr<osg::Uniform> makVrv::DtExampleShaderManager::myColorToAdd
protected
osg::ref_ptr<osg::Uniform> makVrv::DtExampleShaderManager::myScale
protected
osg::ref_ptr<osgEarth::VirtualProgram> makVrv::DtExampleShaderManager::myVirtualProgram
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)