Shader generator scene manager sub class. More...
#include <OgreShaderGenerator.h>
Public Member Functions | |
SGSceneManagerListener (ShaderGenerator *owner) | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
virtual void | postFindVisibleObjects (SceneManager *source, SceneManager::IlluminationRenderStage irs, Viewport *v) |
Called after searching for visible objects in this SceneManager. More... | |
virtual void | postUpdateSceneGraph (SceneManager *source, Camera *camera) |
Called after updating the scene graph in this SceneManager. More... | |
virtual void | preFindVisibleObjects (SceneManager *source, SceneManager::IlluminationRenderStage irs, Viewport *v) |
Listener overridden function notify the shader generator when finding visible objects process started. More... | |
virtual void | preUpdateSceneGraph (SceneManager *source, Camera *camera) |
Called prior to updating the scene graph in this SceneManager. More... | |
virtual void | sceneManagerDestroyed (SceneManager *source) |
Event notifying the listener of the SceneManager's destruction. More... | |
virtual void | shadowTextureCasterPreViewProj (Light *light, Camera *camera, size_t iteration) |
This event occurs just before the view & projection matrices are set for rendering into a shadow texture. More... | |
virtual void | shadowTextureReceiverPreViewProj (Light *light, Frustum *frustum) |
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver. More... | |
virtual void | shadowTexturesUpdated (size_t numberOfShadowTextures) |
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). More... | |
virtual bool | sortLightsAffectingFrustum (LightList &lightList) |
Hook to allow the listener to override the ordering of lights for the entire frustum. More... | |
Protected Attributes | |
ShaderGenerator * | mOwner |
Shader generator scene manager sub class.
Definition at line 764 of file OgreShaderGenerator.h.
|
inline |
Definition at line 767 of file OgreShaderGenerator.h.
|
inlineinherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inlinevirtual |
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. |
Reimplemented from Ogre::SceneManager::Listener.
Definition at line 781 of file OgreShaderGenerator.h.
|
inlinevirtualinherited |
Called after updating the scene graph in this SceneManager.
source | The SceneManager instance raising this event. |
camera | The camera being updated. |
Definition at line 243 of file OgreSceneManager.h.
|
inlinevirtual |
Listener overridden function notify the shader generator when finding visible objects process started.
Reimplemented from Ogre::SceneManager::Listener.
Definition at line 775 of file OgreShaderGenerator.h.
|
inlinevirtualinherited |
Called prior to updating the scene graph in this SceneManager.
source | The SceneManager instance raising this event. |
camera | The camera being updated. |
Definition at line 234 of file OgreSceneManager.h.
|
inlinevirtualinherited |
Event notifying the listener of the SceneManager's destruction.
Reimplemented in Ogre::Terrain.
Definition at line 350 of file OgreSceneManager.h.
|
inlinevirtual |
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 |
Reimplemented from Ogre::SceneManager::Listener.
Definition at line 792 of file OgreShaderGenerator.h.
|
inlinevirtual |
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 |
Reimplemented from Ogre::SceneManager::Listener.
Definition at line 798 of file OgreShaderGenerator.h.
|
inlinevirtual |
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 |
Reimplemented from Ogre::SceneManager::Listener.
Definition at line 787 of file OgreShaderGenerator.h.
|
inlinevirtualinherited |
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 346 of file OgreSceneManager.h.
|
protected |
Definition at line 806 of file OgreShaderGenerator.h.