![]() |
VR-Forces 5.0.2 Developer's Guide
|
State component that injects top-level global shader code; i.e. shader state that should affect the entire scene graph.

Public Member Functions | |
| DtOsgGlobalShaderComponent (DtDe &de) | |
| virtual bool | install (osg::StateSet *stateset) |
| virtual bool | uninstall (osg::StateSet *stateset) |
Public Member Functions inherited from makVrv::DtOsgStateComponent | |
| DtOsgStateComponent (DtDe &de) | |
Protected Member Functions | |
| virtual | ~DtOsgGlobalShaderComponent () |
Protected Member Functions inherited from makVrv::DtOsgStateComponent | |
| virtual | ~DtOsgStateComponent () |
| virtual const std::string & | loadShaderSource (const std::string &strFileName) const |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtOsgStateComponent | |
| DtDe & | myDe |
| DtOsgShaderFilesCache & | myShaderFilesCache |
| makVrv::DtOsgGlobalShaderComponent::DtOsgGlobalShaderComponent | ( | DtDe & | de | ) |
CTOR.
|
protectedvirtual |
DTOR.
|
virtual |
Install this component on a state set.
Implements makVrv::DtOsgStateComponent.
|
virtual |
Uninstall this component from a state set.
Implements makVrv::DtOsgStateComponent.