Project

General

Profile

SO3Engine

#include <SO3Shadow.h>

Inheritance diagram for SO3::SShadow:
SO3::SData SO3::SShadowCSM SO3::SShadowDeferred SO3::SShadowLiSPSM SO3::SShadowPSSM SO3::SShadowStencil

Public Member Functions

 SShadow (SShadowManager *sManager, const std::string &shadowTechniqueName, const SShadowManager::ShadowType &shadowType)
 
virtual ~SShadow ()
 
SShadowManager::ShadowType GetShadowType ()
 
SShadowManagerGetShadowManager ()
 
virtual void UpdateShadowTechnique ()=0
 
virtual void UpdateShadowMaterial (Ogre::Technique *tech)
 
virtual void RemoveMaterialPass (Ogre::Technique *tech)
 
virtual bool IsShadowMaterialPass (Ogre::Pass *pass)
 
Ogre::ShadowCameraSetupPtr GetCameraSetup ()
 
- Public Member Functions inherited from SO3::SData
 SData (const std::string &dataName)
 
virtual ~SData ()
 
std::string GetName () const
 
SUserObjectBindingsGetUserObjectBindings ()
 
const SUserObjectBindingsGetUserObjectBindings () const
 

Protected Types

typedef std::map< SViewPort *, SShadowViewport * > SHADOWViewportMap
 

Protected Member Functions

void SetCameraSetup (Ogre::ShadowCameraSetupPtr shadowCameraSetup)
 

Protected Attributes

SScenecurrentScene
 
Ogre::SceneManager * ogreScene
 
SShadowManagershadowManager
 
Ogre::ShadowCameraSetupPtr cameraSetup
 
Ogre::PixelFormat mRttFormat
 
SHADOWViewportMap viewportMap
 
Ogre::Real mFadeStart
 
Ogre::Real mFadeEnd
 
- Protected Attributes inherited from SO3::SData
std::string name
 

Detailed Description

Definition at line 69 of file SO3Shadow.h.

Member Typedef Documentation

◆ SHADOWViewportMap

Definition at line 78 of file SO3Shadow.h.

Constructor & Destructor Documentation

◆ SShadow()

SShadow::SShadow ( SShadowManager sManager,
const std::string &  shadowTechniqueName,
const SShadowManager::ShadowType shadowType 
)

Constructor.

Definition at line 27 of file SO3Shadow.cpp.

◆ ~SShadow()

SShadow::~SShadow ( )
virtual

Destructor.

Definition at line 46 of file SO3Shadow.cpp.

Member Function Documentation

◆ GetCameraSetup()

Ogre::ShadowCameraSetupPtr SShadow::GetCameraSetup ( )

Definition at line 64 of file SO3Shadow.cpp.

◆ GetShadowManager()

SShadowManager * SShadow::GetShadowManager ( )

Definition at line 74 of file SO3Shadow.cpp.

◆ GetShadowType()

SShadowManager::ShadowType SShadow::GetShadowType ( )

Definition at line 69 of file SO3Shadow.cpp.

◆ IsShadowMaterialPass()

bool SShadow::IsShadowMaterialPass ( Ogre::Pass *  pass)
virtual

Reimplemented in SO3::SShadowCSM, SO3::SShadowLiSPSM, and SO3::SShadowPSSM.

Definition at line 91 of file SO3Shadow.cpp.

◆ RemoveMaterialPass()

void SShadow::RemoveMaterialPass ( Ogre::Technique *  tech)
virtual

Reimplemented in SO3::SShadowCSM, SO3::SShadowLiSPSM, and SO3::SShadowPSSM.

Definition at line 87 of file SO3Shadow.cpp.

◆ SetCameraSetup()

void SShadow::SetCameraSetup ( Ogre::ShadowCameraSetupPtr  shadowCameraSetup)
protected

Internal function to set the camera setup.

Definition at line 57 of file SO3Shadow.cpp.

◆ UpdateShadowMaterial()

void SShadow::UpdateShadowMaterial ( Ogre::Technique *  tech)
virtual

Reimplemented in SO3::SShadowCSM, SO3::SShadowLiSPSM, and SO3::SShadowPSSM.

Definition at line 83 of file SO3Shadow.cpp.

◆ UpdateShadowTechnique()

void SShadow::UpdateShadowTechnique ( )
pure virtual

Member Data Documentation

◆ cameraSetup

Ogre::ShadowCameraSetupPtr SO3::SShadow::cameraSetup
protected

Definition at line 76 of file SO3Shadow.h.

◆ currentScene

SScene* SO3::SShadow::currentScene
protected

Definition at line 73 of file SO3Shadow.h.

◆ mFadeEnd

Ogre::Real SO3::SShadow::mFadeEnd
protected

Definition at line 81 of file SO3Shadow.h.

◆ mFadeStart

Ogre::Real SO3::SShadow::mFadeStart
protected

Definition at line 80 of file SO3Shadow.h.

◆ mRttFormat

Ogre::PixelFormat SO3::SShadow::mRttFormat
protected

Definition at line 77 of file SO3Shadow.h.

◆ ogreScene

Ogre::SceneManager* SO3::SShadow::ogreScene
protected

Definition at line 74 of file SO3Shadow.h.

◆ shadowManager

SShadowManager* SO3::SShadow::shadowManager
protected

Definition at line 75 of file SO3Shadow.h.

◆ viewportMap

SHADOWViewportMap SO3::SShadow::viewportMap
protected

Definition at line 79 of file SO3Shadow.h.


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