![]() |
OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
|
Enumerates the SceneManager classes available to applications. More...
#include <OgreSceneManagerEnumerator.h>
Inheritance diagram for Ogre::SceneManagerEnumerator:Public Types | |
| typedef std::map< String, SceneManager * > | Instances |
| Scene manager instances, indexed by instance name. | |
| typedef ConstVectorIterator< MetaDataList > | MetaDataIterator |
| typedef std::vector< const SceneManagerMetaData * > | MetaDataList |
| List of available scene manager types as meta data. | |
| typedef MapIterator< Instances > | SceneManagerIterator |
Static Public Member Functions | |
| static SceneManagerEnumerator & | getSingleton (void) |
| Get the singleton instance. | |
| static SceneManagerEnumerator * | getSingletonPtr (void) |
| Get the singleton instance. | |
Static Public Member Functions inherited from Ogre::Singleton< SceneManagerEnumerator > | |
| static SceneManagerEnumerator & | getSingleton (void) |
| Get the singleton instance. | |
| static SceneManagerEnumerator * | getSingletonPtr (void) |
| Get the singleton instance. | |
Enumerates the SceneManager classes available to applications.
Scene manager instances, indexed by instance name.
List of available scene manager types as meta data.
| Ogre::SceneManagerEnumerator::SceneManagerEnumerator | ( | ) |
| Ogre::SceneManagerEnumerator::~SceneManagerEnumerator | ( | ) |
| void Ogre::SceneManagerEnumerator::addFactory | ( | SceneManagerFactory * | fact | ) |
Register a new SceneManagerFactory.
| void Ogre::SceneManagerEnumerator::removeFactory | ( | SceneManagerFactory * | fact | ) |
Remove a SceneManagerFactory.
| const SceneManagerMetaData * Ogre::SceneManagerEnumerator::getMetaData | ( | const String & | typeName | ) | const |
Get more information about a given type of SceneManager.
| typeName | The type name of the SceneManager you want to enquire on. If you don't know the typeName already, you can iterate over the metadata for all types using getMetaDataIterator. |
|
inline |
get all types of SceneManager available for construction
providing some information about each one.
| MetaDataIterator Ogre::SceneManagerEnumerator::getMetaDataIterator | ( | void | ) | const |
Iterate over all types of SceneManager available for construction, providing some information about each one.
| SceneManager * Ogre::SceneManagerEnumerator::createSceneManager | ( | const String & | typeName, |
| const String & | instanceName = BLANKSTRING |
||
| ) |
Create a SceneManager instance of a given type.
| typeName | String identifying a unique SceneManager type |
| instanceName | Optional name to given the new instance that is created. If you leave this blank, an auto name will be assigned. |
|
inline |
References Ogre::DefaultSceneManagerFactory::FACTORY_TYPE_NAME.
| void Ogre::SceneManagerEnumerator::destroySceneManager | ( | SceneManager * | sm | ) |
Destroy an instance of a SceneManager.
| SceneManager * Ogre::SceneManagerEnumerator::getSceneManager | ( | const String & | instanceName | ) | const |
Get an existing SceneManager instance that has already been created, identified by the instance name.
| instanceName | The name of the instance to retrieve. |
Identify if a SceneManager instance already exists.
| instanceName | The name of the instance to retrieve. |
| SceneManagerIterator Ogre::SceneManagerEnumerator::getSceneManagerIterator | ( | void | ) |
Get an iterator over all the existing SceneManager instances.
Get all the existing SceneManager instances.
| void Ogre::SceneManagerEnumerator::setRenderSystem | ( | RenderSystem * | rs | ) |
Notifies all SceneManagers of the destination rendering system.
Utility method to control shutdown of the managers.
|
static |
Get the singleton instance.
|
static |
Get the singleton instance.