OGRE  1.9.0
Ogre::RenderObjectListener Class Referenceabstract

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>

Inheritance diagram for Ogre::RenderObjectListener:

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~RenderObjectListener()

virtual Ogre::RenderObjectListener::~RenderObjectListener ( )
virtual

Definition at line 46 of file OgreRenderObjectListener.h.

Member Function Documentation

◆ notifyRenderSingleObject()

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.

Remarks
This method is called by the SceneManager.
Parameters
rendThe renderable that is going to be rendered.
passThe pass which was set.
sourceThe auto parameter source used within this render call.
pLightListThe light list in use.
suppressRenderStateChangesTrue if render state changes should be suppressed.

Implemented in Ogre::RTShader::ShaderGenerator::SGRenderObjectListener.


The documentation for this class was generated from the following file: