![]() |
VR-Forces Development_Version Class Documentation
|
State component that injects Fog rendering capabilities into a state set. More...

Public Member Functions | |
| DtOsgFogComponent () | |
| CTOR. | |
| osg::Fog * | getFogAttribute () const |
| Gets the attribute that controls fog parameters TODO: someday, replace the Fog attr with straight up uniforms. | |
| virtual bool | install (osg::StateSet *stateset) |
| Install this component on a state set. | |
| virtual bool | uninstall (osg::StateSet *stateset) |
| Uninstall this component from a state set. | |
Public Member Functions inherited from makVrv::DtOsgStateComponent | |
| DtOsgStateComponent (const DtOsgStateComponentContext *context=0L) | |
| CTOR. | |
| const DtOsgStateComponentContext * | getContext () const |
| Gets the context under which this component operates. | |
Protected Member Functions | |
| virtual | ~DtOsgFogComponent () |
| DTOR. | |
Protected Member Functions inherited from makVrv::DtOsgStateComponent | |
| virtual | ~DtOsgStateComponent () |
| DTOR. | |
| std::string | loadShaderSource (const std::string &strFileName) const |
| Loads shader source code from a path. | |
Protected Attributes | |
| osg::ref_ptr< osg::Fog > | myFog |
State component that injects Fog rendering capabilities into a state set.
| makVrv::DtOsgFogComponent::DtOsgFogComponent | ( | ) |
CTOR.
|
protectedvirtual |
DTOR.
| osg::Fog* makVrv::DtOsgFogComponent::getFogAttribute | ( | ) | const |
Gets the attribute that controls fog parameters TODO: someday, replace the Fog attr with straight up uniforms.
|
virtual |
Install this component on a state set.
Implements makVrv::DtOsgStateComponent.
|
virtual |
Uninstall this component from a state set.
Implements makVrv::DtOsgStateComponent.
|
protected |