#include <OgreSceneManagerEnumerator.h>
Inheritance diagram for Ogre::SceneManagerEnumerator:
Public Methods | |
SceneManagerEnumerator () | |
~SceneManagerEnumerator () | |
void | setSceneManager (SceneType st, SceneManager *sm) |
Sets a SceneManager implementation. More... | |
SceneManager * | getSceneManager (SceneType st) |
Implementation of SceneManager retrieval. More... | |
void | setRenderSystem (RenderSystem *rs) |
Notifies all SceneManagers of the destination rendering system. More... | |
Static Public Methods | |
SceneManagerEnumerator & | getSingleton (void) |
Override standard Singleton retrieval. More... | |
SceneManagerEnumerator * | getSingletonPtr (void) |
Static Protected Attributes | |
SceneManagerEnumerator * | ms_Singleton = 0 |
Private Types | |
typedef std::map< SceneType, SceneManager * > | SceneManagerList |
Private Attributes | |
std::set< SceneManager * > | mUniqueSceneMgrs |
SceneManagerList | mSceneManagers |
SceneManager * | mDefaultManager |
Standard scene manager for default management. More... |
In order to give applications easy access to these implementations, the Root object has a getSceneManager method to retrieve a SceneManager which is appropriate to the scene type. However, this is the class which implements this behaviour and defines the scene types, because it is intended that the Root class is not customised by everybody (and it may be restricted access in the future).
If you customise Ogre and want to add a new SceneManager implementation (e.g. an Octree-based scene manager for outside locations), feel free to customise this class so that it is passed back where required.
For this early release of Ogre, only the basic SceneManager implementation is passed back for all scene types. This is a highly generic and extremely unoptimised reference implementation.
|
|
|
|
|
|
|
Implementation of SceneManager retrieval.
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< SceneManagerEnumerator >. |
|
|
|
Notifies all SceneManagers of the destination rendering system.
|
|
Sets a SceneManager implementation.
|
|
Standard scene manager for default management.
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team