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

## 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...
const LightList * | manualLightList
| Manual light list. More...
bool | scissoring
| Scissoring if requested? More...
SceneManager * | targetSceneMgr
| Target SM to send renderables to. More...
bool | transparentShadowCastersMode
| Are we in transparent shadow caster mode? More...

## Protected Attributes

const Pass * | mUsedPass
| 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 357 of file OgreSceneManager.h.

## Constructor & Destructor Documentation

## SceneMgrQueuedRenderableVisitor()

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

Definition at line 363 of file OgreSceneManager.h.

## ~SceneMgrQueuedRenderableVisitor()

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

Definition at line 365 of file OgreSceneManager.h.

## Member Function Documentation

## visit() [1/3]

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.

## visit() [2/3]

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::visit | ( | const Pass * | p | ) |

virtual

Implements Ogre::QueuedRenderableVisitor.

## visit() [3/3]

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

## autoLights

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::autoLights

Automatic light handling?

Definition at line 375 of file OgreSceneManager.h.

## manualLightList

const LightList* Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::manualLightList

Manual light list.

Definition at line 377 of file OgreSceneManager.h.

## mUsedPass

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

protected

Pass that was actually used at the grouping level.

Definition at line 361 of file OgreSceneManager.h.

## scissoring

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::scissoring

Scissoring if requested?

Definition at line 379 of file OgreSceneManager.h.

## targetSceneMgr

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

Target SM to send renderables to.

Definition at line 371 of file OgreSceneManager.h.

## transparentShadowCastersMode

bool Ogre::SceneManager::SceneMgrQueuedRenderableVisitor::transparentShadowCastersMode

Are we in transparent shadow caster mode?

Definition at line 373 of file OgreSceneManager.h.

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

- OgreSceneManager.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.