OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MWRender::AtmosphereUpdater Class Reference
Inheritance diagram for MWRender::AtmosphereUpdater:
Collaboration diagram for MWRender::AtmosphereUpdater:

Public Member Functions

void setEmissionColor (const osg::Vec4f &emissionColor)
 
- Public Member Functions inherited from SceneUtil::StateSetUpdater
 StateSetUpdater ()
 
 StateSetUpdater (const StateSetUpdater &copy, const osg::CopyOp &copyop)
 

Protected Member Functions

virtual void setDefaults (osg::StateSet *stateset)
 
virtual void apply (osg::StateSet *stateset, osg::NodeVisitor *)
 
- Protected Member Functions inherited from SceneUtil::StateSetUpdater
void reset ()
 Reset mStateSets, forcing a setDefaults() on the next frame. Can be used to change the defaults if needed. More...
 

Private Attributes

osg::Vec4f mEmissionColor
 

Member Function Documentation

virtual void MWRender::AtmosphereUpdater::apply ( osg::StateSet *  stateset,
osg::NodeVisitor *  nv 
)
inlineprotectedvirtual

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::AtmosphereUpdater::setDefaults ( osg::StateSet *  stateset)
inlineprotectedvirtual

Set default state - optionally override in derived classes

May be used e.g. to allocate StateAttributes.

Reimplemented from SceneUtil::StateSetUpdater.

Here is the call graph for this function:

void MWRender::AtmosphereUpdater::setEmissionColor ( const osg::Vec4f &  emissionColor)
inline

Member Data Documentation

osg::Vec4f MWRender::AtmosphereUpdater::mEmissionColor
private

The documentation for this class was generated from the following file: