VR-Forces 5.0.2 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::MyShaderManager Class Reference

Public Member Functions

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

Protected Attributes

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

Constructor & Destructor Documentation

makVrv::MyShaderManager::MyShaderManager ( 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::MyShaderManager::~MyShaderManager ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::MyShaderManager::changeColorOverride ( int  color,
float  deltaChange 
)
virtual

Member Data Documentation

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

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)