OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::SceneManager::SceneMgrQueuedRenderableVisitor Class Reference

Inner helper class to implement the visitor pattern for rendering objects in a queue. More...

#include <OgreSceneManager.h>

+ Inheritance diagram for Ogre::SceneManager::SceneMgrQueuedRenderableVisitor:
+ Collaboration diagram for Ogre::SceneManager::SceneMgrQueuedRenderableVisitor:

Public Member Functions

 SceneMgrQueuedRenderableVisitor ()
 
 ~SceneMgrQueuedRenderableVisitor ()
 
void visit (Renderable *r)
 Visit method called once per Renderable on a grouped collection. More...
 
bool visit (const Pass *p)
 
void visit (RenderablePass *rp)
 Called when visiting a RenderablePass, i.e. More...
 

Public Attributes

bool autoLights
 Automatic light handling? More...
 
bool scissoring
 Scissoring if requested? More...
 
SceneManagertargetSceneMgr
 Target SM to send renderables to. More...
 
bool transparentShadowCastersMode
 Are we in transparent shadow caster mode? More...
 

Protected Attributes

const PassmUsedPass
 Pass that was actually used at the grouping level. More...
 

Detailed Description

Inner helper class to implement the visitor pattern for rendering objects in a queue.

Definition at line 417 of file OgreSceneManager.h.

Constructor & Destructor Documentation

Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::SceneMgrQueuedRenderableVisitor ( )
inline

Definition at line 423 of file OgreSceneManager.h.

Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::~SceneMgrQueuedRenderableVisitor ( )
inline

Definition at line 425 of file OgreSceneManager.h.

Member Function Documentation

void Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit ( Renderable r)
virtual

Visit method called once per Renderable on a grouped collection.

Remarks
If this method is called, the RenderablePass visit method will not be called for this collection.

Implements Ogre::QueuedRenderableVisitor.

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit ( const Pass p)
virtual
void Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit ( RenderablePass rp)
virtual

Called when visiting a RenderablePass, i.e.

items in a sorted collection where items are not grouped by pass.

Remarks
If this is called, neither of the other 2 visit methods will be called.

Implements Ogre::QueuedRenderableVisitor.

Member Data Documentation

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::autoLights

Automatic light handling?

Definition at line 435 of file OgreSceneManager.h.

const Pass* Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::mUsedPass
protected

Pass that was actually used at the grouping level.

Definition at line 421 of file OgreSceneManager.h.

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::scissoring

Scissoring if requested?

Definition at line 437 of file OgreSceneManager.h.

SceneManager* Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::targetSceneMgr

Target SM to send renderables to.

Definition at line 431 of file OgreSceneManager.h.

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::transparentShadowCastersMode

Are we in transparent shadow caster mode?

Definition at line 433 of file OgreSceneManager.h.


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