OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
#include <OgreSceneLoaderManager.h>
Public Member Functions | |
SceneLoaderManager () | |
virtual | ~SceneLoaderManager () |
SceneLoader * | _getSceneLoader (const String &name) const |
void | load (const String &filename, const String &groupName, SceneNode *rootNode) |
Load a scene from a SceneLoader. More... | |
void | load (DataStreamPtr &stream, const String &groupName, SceneNode *rootNode) |
Load a scene from a SceneLoader. More... | |
void | registerSceneLoader (const String &name, const StringVector &ext, SceneLoader *sl) |
Register a new SceneLoader. More... | |
void | unregisterSceneLoader (const String &name) |
Public Member Functions inherited from Ogre::Singleton< SceneLoaderManager > | |
Singleton (void) | |
~Singleton (void) | |
Static Public Member Functions | |
static SceneLoaderManager & | getSingleton (void) |
static SceneLoaderManager * | getSingletonPtr (void) |
Static Public Member Functions inherited from Ogre::Singleton< SceneLoaderManager > | |
static SceneLoaderManager & | getSingleton (void) |
Get the singleton instance. More... | |
static SceneLoaderManager * | getSingletonPtr (void) |
Get the singleton instance. More... | |
Ogre::SceneLoaderManager::SceneLoaderManager | ( | ) |
|
virtual |
void Ogre::SceneLoaderManager::registerSceneLoader | ( | const String & | name, |
const StringVector & | ext, | ||
SceneLoader * | sl | ||
) |
Register a new SceneLoader.
name | The name for the SceneLoader for lookup. |
ext | A StringVector containing the supported extensions for the SceneLoader being registered. |
sl | Pointer to the SceneLoader instance. |
void Ogre::SceneLoaderManager::unregisterSceneLoader | ( | const String & | name | ) |
|
inline |
void Ogre::SceneLoaderManager::load | ( | const String & | filename, |
const String & | groupName, | ||
SceneNode * | rootNode | ||
) |
Load a scene from a SceneLoader.
filename | The name (and path) of the file to be loaded. This is also used to determine the SceneLoader to use by the file extension. |
groupName | The name of a resource group which should be used if any resources are created during the parse of this script. |
rootNode | The root node for the scene being loaded. |
void Ogre::SceneLoaderManager::load | ( | DataStreamPtr & | stream, |
const String & | groupName, | ||
SceneNode * | rootNode | ||
) |
Load a scene from a SceneLoader.
stream | Weak reference to a data stream which is the source of the scene. This is also used to determine the SceneLoader to use by the file extension. |
groupName | The name of a resource group which should be used if any resources are created during the parse of this script. |
rootNode | The root node for the scene being loaded. |
|
static |
|
static |