![]() |
VR-Forces Developer's Guide
|
Base class for components that affect the state on a subset of the scene graph, injecting state, shaders, or other information.

Public Member Functions | |
| DtOsgStateComponent (DtDe &de) | |
| virtual bool | install (osg::StateSet *stateset)=0 |
| virtual bool | uninstall (osg::StateSet *stateset)=0 |
Protected Member Functions | |
| virtual | ~DtOsgStateComponent () |
| virtual const std::string & | loadShaderSource (const std::string &strFileName) const |
Protected Attributes | |
| DtDe & | myDe |
| DtOsgShaderFilesCache & | myShaderFilesCache |
Private Member Functions | |
| DtOsgStateComponent ()=delete | |
| DtOsgStateComponent (const DtOsgStateComponent &rhs)=delete | |
| DtOsgStateComponent & | operator= (const DtOsgStateComponent &rhs)=delete |
| makVrv::DtOsgStateComponent::DtOsgStateComponent | ( | DtDe & | de | ) |
CTOR.
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
protectedvirtual |
DTOR.
|
privatedelete |
not allowed
|
pure virtual |
Install this component on a state set.
Implemented in makVrv::DtOsgLightingComponent, makVrv::DtOsgFogComponent, and makVrv::DtOsgGlobalShaderComponent.
|
pure virtual |
Uninstall this component from a state set.
Implemented in makVrv::DtOsgLightingComponent, makVrv::DtOsgFogComponent, and makVrv::DtOsgGlobalShaderComponent.
|
protectedvirtual |
Loads shader source code from a path.
|
protected |
|
protected |