Caelum::DepthComposer Class Reference

Compositor-based precipitation controller. More...

#include <DepthComposer.h>

List of all members.

Public Types

typedef std::map
< Ogre::Viewport
*, DepthComposerInstance * > 
ViewportInstanceMap

Public Member Functions

 DepthComposer (Ogre::SceneManager *sceneMgr)
void update ()
DepthComposerInstancecreateViewportInstance (Ogre::Viewport *viewport)
void destroyViewportInstance (Ogre::Viewport *viewport)
DepthComposerInstancegetViewportInstance (Ogre::Viewport *viewport)
void destroyAllViewportInstances ()
void setDebugDepthRender (bool value)
 Enables drawing the depth buffer.
bool getDebugDepthRender () const
void setSkyDomeHazeEnabled (bool value)
 Enables skydome haze.
bool getSkyDomeHazeEnabled () const
void setSunDirection (const Ogre::Vector3 &value)
const Ogre::Vector3 getSunDirection () const
void setHazeColour (const Ogre::ColourValue &value)
const Ogre::ColourValue getHazeColour () const
void setGroundFogEnabled (bool value)
 Enables exponential ground fog.
bool getGroundFogEnabled () const
void setGroundFogDensity (Real value)
 Sets ground fog density.
Real getGroundFogDensity () const
 Get ground fog density.
void setGroundFogBaseLevel (Real value)
 Sets ground fog level At ground level fogginess is equal to GroundFogDensity.
Real getGroundFogBaseLevel () const
 Get ground fog density.
void setGroundFogVerticalDecay (Real value)
 Sets ground fog vertical decay.
Real getGroundFogVerticalDecay () const
 Get ground fog density.
void setGroundFogColour (const Ogre::ColourValue &value)
 Sets ground fog colour.
const Ogre::ColourValue getGroundFogColour () const
 Get ground fog colour.

Public Attributes

ViewportInstanceMap mViewportInstanceMap

Protected Member Functions

Ogre::SceneManager * getSceneManager () const

Friends

class DepthComposerInstance


Detailed Description

Compositor-based precipitation controller.

This class will add and control precipitation controllers to viewports.

Compositors clone the composing materials. This controller will register itself as a compositor listener and change the material in notifyMaterialSetup.

Definition at line 35 of file DepthComposer.h.


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

Generated on Sun Aug 9 10:24:22 2009 for Caelum by  doxygen 1.5.9