#include <OgreSceneManager.h>
Public Member Functions | |
Listener () | |
virtual | ~Listener () |
virtual void | preFindVisibleObjects (SceneManager *source, IlluminationRenderStage irs, Viewport *v)=0 |
Called prior to searching for visible objects in this SceneManager. | |
virtual void | postFindVisibleObjects (SceneManager *source, IlluminationRenderStage irs, Viewport *v)=0 |
Called after searching for visible objects in this SceneManager. | |
virtual void | shadowTexturesUpdated (size_t numberOfShadowTextures)=0 |
Event raised after all shadow textures have been rendered into for all queues / targets but before any other geometry has been rendered (including main scene geometry and any additional shadow receiver passes). | |
virtual void | shadowTextureCasterPreViewProj (Light *light, Camera *camera, size_t iteration)=0 |
This event occurs just before the view & projection matrices are set for rendering into a shadow texture. | |
virtual void | shadowTextureReceiverPreViewProj (Light *light, Frustum *frustum)=0 |
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver. | |
virtual bool | sortLightsAffectingFrustum (LightList &lightList) |
Hook to allow the listener to override the ordering of lights for the entire frustum. |
Definition at line 241 of file OgreSceneManager.h.
Ogre::SceneManager::Listener::Listener | ( | ) |
Definition at line 244 of file OgreSceneManager.h.
virtual Ogre::SceneManager::Listener::~Listener | ( | ) | [virtual] |
Definition at line 245 of file OgreSceneManager.h.
virtual void Ogre::SceneManager::Listener::preFindVisibleObjects | ( | SceneManager * | source, | |
IlluminationRenderStage | irs, | |||
Viewport * | v | |||
) | [pure virtual] |
Called prior to searching for visible objects in this SceneManager.
source | The SceneManager instance raising this event. | |
irs | The stage of illumination being dealt with. IRS_NONE for a regular render, IRS_RENDER_TO_TEXTURE for a shadow caster render. | |
v | The viewport being updated. You can get the camera from here. |
virtual void Ogre::SceneManager::Listener::postFindVisibleObjects | ( | SceneManager * | source, | |
IlluminationRenderStage | irs, | |||
Viewport * | v | |||
) | [pure virtual] |
Called after searching for visible objects in this SceneManager.
source | The SceneManager instance raising this event. | |
irs | The stage of illumination being dealt with. IRS_NONE for a regular render, IRS_RENDER_TO_TEXTURE for a shadow caster render. | |
v | The viewport being updated. You can get the camera from here. |
virtual void Ogre::SceneManager::Listener::shadowTexturesUpdated | ( | size_t | numberOfShadowTextures | ) | [pure virtual] |
Event raised after all shadow textures have been rendered into for all queues / targets but before any other geometry has been rendered (including main scene geometry and any additional shadow receiver passes).
numberOfShadowTextures | The number of shadow textures in use |
virtual void Ogre::SceneManager::Listener::shadowTextureCasterPreViewProj | ( | Light * | light, | |
Camera * | camera, | |||
size_t | iteration | |||
) | [pure virtual] |
This event occurs just before the view & projection matrices are set for rendering into a shadow texture.
light | Pointer to the light for which shadows are being rendered | |
camera | Pointer to the camera being used to render | |
iteration | For lights that use multiple shadow textures, the iteration number |
virtual void Ogre::SceneManager::Listener::shadowTextureReceiverPreViewProj | ( | Light * | light, | |
Frustum * | frustum | |||
) | [pure virtual] |
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver.
light | Pointer to the light for which shadows are being rendered | |
frustum | Pointer to the projection frustum being used to project the shadow texture |
virtual bool Ogre::SceneManager::Listener::sortLightsAffectingFrustum | ( | LightList & | lightList | ) | [virtual] |
Hook to allow the listener to override the ordering of lights for the entire frustum.
lightList | The list of lights within range of the frustum which you may sort. |
Definition at line 340 of file OgreSceneManager.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:06:15 2009