Abstract interface which classes must implement if they wish to receive events from the scene manager when single object is about to be rendered. More...
#include <OgreRenderObjectListener.h>
Public Member Functions | |
virtual | ~RenderObjectListener () |
virtual void | notifyRenderSingleObject (Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges)=0 |
Event raised when render single object started. |
Abstract interface which classes must implement if they wish to receive events from the scene manager when single object is about to be rendered.
Definition at line 43 of file OgreRenderObjectListener.h.
virtual Ogre::RenderObjectListener::~RenderObjectListener | ( | ) | [virtual] |
Definition at line 46 of file OgreRenderObjectListener.h.
virtual void Ogre::RenderObjectListener::notifyRenderSingleObject | ( | Renderable * | rend, | |
const Pass * | pass, | |||
const AutoParamDataSource * | source, | |||
const LightList * | pLightList, | |||
bool | suppressRenderStateChanges | |||
) | [pure virtual] |
Event raised when render single object started.
pass | The renderable that is going to be rendered. | |
pass | The pass which was set. | |
source | The auto parameter source used within this render call. The light list in use. True if render state changes should be suppressed. |
Implemented in Ogre::RTShader::ShaderGenerator::SGRenderObjectListener.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:39:08 2012