#include <OgreSceneManager.h>
Public Member Functions | |
ShadowListener () | |
virtual | ~ShadowListener () |
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)=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 110 of file OgreSceneManager.h.
Ogre::ShadowListener::ShadowListener | ( | ) |
Definition at line 113 of file OgreSceneManager.h.
virtual Ogre::ShadowListener::~ShadowListener | ( | ) | [virtual] |
Definition at line 114 of file OgreSceneManager.h.
virtual void Ogre::ShadowListener::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::ShadowListener::shadowTextureCasterPreViewProj | ( | Light * | light, | |
Camera * | camera | |||
) | [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 |
virtual void Ogre::ShadowListener::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::ShadowListener::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 184 of file OgreSceneManager.h.
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Thu Jun 19 20:38:45 2008