|
void | reset () |
| Reset mStateSets, forcing a setDefaults() on the next frame. Can be used to change the defaults if needed. More...
|
|
MWRender::AlphaFader::AlphaFader |
( |
| ) |
|
|
inline |
virtual void MWRender::AlphaFader::apply |
( |
osg::StateSet * |
stateset, |
|
|
osg::NodeVisitor * |
nv |
|
) |
| |
|
inlinevirtual |
Apply state - to override in derived classes
- Note
- Due to the double buffering approach you have to apply all state even if it has not changed since the last frame.
Reimplemented from SceneUtil::StateSetUpdater.
void MWRender::AlphaFader::setAlpha |
( |
float |
alpha | ) |
|
|
inline |
virtual void MWRender::AlphaFader::setDefaults |
( |
osg::StateSet * |
stateset | ) |
|
|
inlinevirtual |
float MWRender::AlphaFader::mAlpha |
|
private |
The documentation for this class was generated from the following file:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwrender/sky.cpp