VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgStateComponent Class Referenceabstract

Base class for components that affect the state on a subset of the scene graph, injecting state, shaders, or other information. More...

Inheritance diagram for makVrv::DtOsgStateComponent:
Inheritance graph
[legend]

Public Member Functions

 DtOsgStateComponent (DtDe &de)
 CTOR. More...
 
virtual bool install (osg::StateSet *stateset)=0
 Install this component on a state set. More...
 
virtual bool uninstall (osg::StateSet *stateset)=0
 Uninstall this component from a state set. More...
 

Protected Member Functions

virtual ~DtOsgStateComponent ()
 DTOR. More...
 
std::string loadShaderSource (const std::string &strFileName) const
 Loads shader source code from a path. More...
 

Protected Attributes

DtDemyDe
 
DtOsgShaderFilesCachemyShaderFilesCache
 

Detailed Description

Base class for components that affect the state on a subset of the scene graph, injecting state, shaders, or other information.

Constructor & Destructor Documentation

makVrv::DtOsgStateComponent::DtOsgStateComponent ( DtDe de)

CTOR.

virtual makVrv::DtOsgStateComponent::~DtOsgStateComponent ( )
protectedvirtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtOsgStateComponent::install ( osg::StateSet *  stateset)
pure virtual

Install this component on a state set.

Implemented in makVrv::DtOsgLightingComponent, makVrv::DtOsgFogComponent, and makVrv::DtOsgGlobalShaderComponent.

virtual bool makVrv::DtOsgStateComponent::uninstall ( osg::StateSet *  stateset)
pure virtual

Uninstall this component from a state set.

Implemented in makVrv::DtOsgLightingComponent, makVrv::DtOsgFogComponent, and makVrv::DtOsgGlobalShaderComponent.

std::string makVrv::DtOsgStateComponent::loadShaderSource ( const std::string &  strFileName) const
protected

Loads shader source code from a path.

Member Data Documentation

DtDe& makVrv::DtOsgStateComponent::myDe
protected
DtOsgShaderFilesCache& makVrv::DtOsgStateComponent::myShaderFilesCache
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)