Public Member Functions | Public Attributes | Protected Attributes

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:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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

Protected Attributes

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

Detailed Description

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

Definition at line 335 of file OgreSceneManager.h.


Constructor & Destructor Documentation

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

Definition at line 341 of file OgreSceneManager.h.

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

Definition at line 343 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.

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.

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit ( const Pass p  )  [virtual]

Member Data Documentation

Automatic light handling?

Definition at line 353 of file OgreSceneManager.h.

Manual light list.

Definition at line 355 of file OgreSceneManager.h.

Pass that was actually used at the grouping level.

Definition at line 339 of file OgreSceneManager.h.

Scissoring if requested?

Definition at line 357 of file OgreSceneManager.h.

Target SM to send renderables to.

Definition at line 349 of file OgreSceneManager.h.

Are we in transparent shadow caster mode?

Definition at line 351 of file OgreSceneManager.h.


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

Copyright © 2008 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:25:00