Emergency 2017 Dokumentation  v3.0.1
qsf::ShadowSetupCsm Class Reference

Cascaded Shadow Map (CSM) high level shadow setup. More...

#include <ShadowSetupCsm.h>

Public Member Functions

 ShadowSetupCsm ()
 
virtual ~ShadowSetupCsm ()
 
Ogre::StableCsmShadowCameraSetupgetOgreCsmShadowCameraSetup () const
 
virtual void setupOgreCompositorShadowNode (Ogre::CompositorShadowNodeDef &ogreCompositorShadowNodeDef) override
 
- Public Member Functions inherited from qsf::ShadowSetup
 ShadowSetup ()
 
virtual ~ShadowSetup ()
 
bool isDebug () const
 Return whether or not the shadow setup is considered to be in debug mode. More...
 
void setDebug (bool debugMode)
 Set whether or not the component is considered to be in debug mode. More...
 

Protected Member Functions

virtual uint8 getNumberOfShadowMaps () const override
 Return the number of used shadow maps. More...
 
virtual void recreate () override
 
- Protected Member Functions inherited from qsf::ShadowSetup
Ogre::PixelFormat getOgrePixelFormat () const
 
void setupOgreCompositorShadowNodeSceneRendering (Ogre::CompositorShadowNodeDef &ogreCompositorShadowNodeDef, const std::string &renderTargetName, uint32 shadowMapIndex)
 

Additional Inherited Members

- Protected Attributes inherited from qsf::ShadowSetup
bool mDebugMode
 Requested. More...
 
bool mInternalDebugMode
 What we currently have in use. More...
 
Ogre::SceneManager * mOgreSceneManager
 
Ogre::Camera * mOgreCamera
 

Detailed Description

Cascaded Shadow Map (CSM) high level shadow setup.

Todo:
  • TODO(co) Port to OGRE 2.0

Definition at line 46 of file ShadowSetupCsm.h.

Constructor & Destructor Documentation

qsf::ShadowSetupCsm::ShadowSetupCsm ( )
virtual qsf::ShadowSetupCsm::~ShadowSetupCsm ( )
virtual

Member Function Documentation

virtual uint8 qsf::ShadowSetupCsm::getNumberOfShadowMaps ( ) const
overrideprotectedvirtual

Return the number of used shadow maps.

Returns
The number of used shadow maps

Implements qsf::ShadowSetup.

Ogre::StableCsmShadowCameraSetup* qsf::ShadowSetupCsm::getOgreCsmShadowCameraSetup ( ) const
virtual void qsf::ShadowSetupCsm::recreate ( )
overrideprotectedvirtual

Implements qsf::ShadowSetup.

virtual void qsf::ShadowSetupCsm::setupOgreCompositorShadowNode ( Ogre::CompositorShadowNodeDef &  ogreCompositorShadowNodeDef)
overridevirtual

Implements qsf::ShadowSetup.


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