|
void | reset () |
| Reset mStateSets, forcing a setDefaults() on the next frame. Can be used to change the defaults if needed. More...
|
|
virtual void MWRender::Moon::Updater::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.
virtual void MWRender::Moon::Updater::setDefaults |
( |
osg::StateSet * |
stateset | ) |
|
|
inlinevirtual |
Set default state - optionally override in derived classes
- May be used e.g. to allocate StateAttributes.
Reimplemented from SceneUtil::StateSetUpdater.
void MWRender::Moon::Updater::setTextures |
( |
const std::string & |
phaseTex, |
|
|
const std::string & |
circleTex |
|
) |
| |
|
inline |
osg::Vec4f MWRender::Moon::Updater::mAtmosphereColor |
osg::ref_ptr<osg::Texture2D> MWRender::Moon::Updater::mCircleTex |
osg::Vec4f MWRender::Moon::Updater::mMoonColor |
osg::ref_ptr<osg::Texture2D> MWRender::Moon::Updater::mPhaseTex |
float MWRender::Moon::Updater::mShadowBlend |
float MWRender::Moon::Updater::mTransparency |
The documentation for this struct was generated from the following file:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwrender/sky.cpp