SO3Engine
|
#include <SO3Shadow.h>
Public Member Functions | |
SShadow (SShadowManager *sManager, const std::string &shadowTechniqueName, const SShadowManager::ShadowType &shadowType) | |
virtual | ~SShadow () |
SShadowManager::ShadowType | GetShadowType () |
SShadowManager * | GetShadowManager () |
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 |
SUserObjectBindings & | GetUserObjectBindings () |
const SUserObjectBindings & | GetUserObjectBindings () const |
Protected Types | |
typedef std::map< SViewPort *, SShadowViewport * > | SHADOWViewportMap |
Protected Member Functions | |
void | SetCameraSetup (Ogre::ShadowCameraSetupPtr shadowCameraSetup) |
Protected Attributes | |
SScene * | currentScene |
Ogre::SceneManager * | ogreScene |
SShadowManager * | shadowManager |
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
|
protected |
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()
|
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()
|
virtual |
Reimplemented in SO3::SShadowCSM, SO3::SShadowLiSPSM, and SO3::SShadowPSSM.
Definition at line 91 of file SO3Shadow.cpp.
◆ RemoveMaterialPass()
|
virtual |
Reimplemented in SO3::SShadowCSM, SO3::SShadowLiSPSM, and SO3::SShadowPSSM.
Definition at line 87 of file SO3Shadow.cpp.
◆ SetCameraSetup()
|
protected |
Internal function to set the camera setup.
Definition at line 57 of file SO3Shadow.cpp.
◆ UpdateShadowMaterial()
|
virtual |
Reimplemented in SO3::SShadowCSM, SO3::SShadowLiSPSM, and SO3::SShadowPSSM.
Definition at line 83 of file SO3Shadow.cpp.
◆ UpdateShadowTechnique()
|
pure virtual |
Implemented in SO3::SShadowCSM, SO3::SShadowDeferred, SO3::SShadowLiSPSM, SO3::SShadowPSSM, and SO3::SShadowStencil.
Definition at line 79 of file SO3Shadow.cpp.
Member Data Documentation
◆ cameraSetup
|
protected |
Definition at line 76 of file SO3Shadow.h.
◆ currentScene
|
protected |
Definition at line 73 of file SO3Shadow.h.
◆ mFadeEnd
|
protected |
Definition at line 81 of file SO3Shadow.h.
◆ mFadeStart
|
protected |
Definition at line 80 of file SO3Shadow.h.
◆ mRttFormat
|
protected |
Definition at line 77 of file SO3Shadow.h.
◆ ogreScene
|
protected |
Definition at line 74 of file SO3Shadow.h.
◆ shadowManager
|
protected |
Definition at line 75 of file SO3Shadow.h.
◆ viewportMap
|
protected |
Definition at line 79 of file SO3Shadow.h.
The documentation for this class was generated from the following files:
- include/SO3Renderer/SO3Shadow.h
- src/SO3Renderer/SO3Shadow.cpp
Generated by 1.9.8