#include <OgreExternalTextureSourceManager.h>
Public Member Functions | |
ExternalTextureSourceManager () | |
Constructor. | |
~ExternalTextureSourceManager () | |
Destructor. | |
void | setCurrentPlugIn (const String &sTexturePlugInType) |
Sets active plugin (ie. | |
ExternalTextureSource * | getCurrentPlugIn (void) const |
Returns currently selected plugin, may be null if none selected. | |
void | destroyAdvancedTexture (const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) |
Calls the destroy method of all registered plugins. | |
ExternalTextureSource * | getExternalTextureSource (const String &sTexturePlugInType) |
Returns the plugin which reistered itself with a specific name (eg. | |
void | setExternalTextureSource (const String &sTexturePlugInType, ExternalTextureSource *pTextureSystem) |
Called from plugin to register itself. | |
Static Public Member Functions | |
static ExternalTextureSourceManager & | getSingleton (void) |
Override standard Singleton retrieval. | |
static ExternalTextureSourceManager * | getSingletonPtr (void) |
Override standard Singleton retrieval. | |
Protected Types | |
typedef std::map < String, ExternalTextureSource * > | TextureSystemList |
Protected Attributes | |
ExternalTextureSource * | mpCurrExternalTextureSource |
TextureSystemList | mTextureSystems |
Static Protected Attributes | |
static T * | ms_Singleton |
The plugins will be mostly controlled via a string interface.
Definition at line 50 of file OgreExternalTextureSourceManager.h.
typedef std::map< String, ExternalTextureSource*> Ogre::ExternalTextureSourceManager::TextureSystemList [protected] |
Definition at line 113 of file OgreExternalTextureSourceManager.h.
Ogre::ExternalTextureSourceManager::ExternalTextureSourceManager | ( | ) |
Constructor.
Ogre::ExternalTextureSourceManager::~ExternalTextureSourceManager | ( | ) |
Destructor.
void Ogre::ExternalTextureSourceManager::setCurrentPlugIn | ( | const String & | sTexturePlugInType | ) |
Sets active plugin (ie.
"video", "effect", "generic", etc..)
ExternalTextureSource* Ogre::ExternalTextureSourceManager::getCurrentPlugIn | ( | void | ) | const |
Returns currently selected plugin, may be null if none selected.
Definition at line 62 of file OgreExternalTextureSourceManager.h.
void Ogre::ExternalTextureSourceManager::destroyAdvancedTexture | ( | const String & | sTextureName, | |
const String & | groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME | |||
) |
Calls the destroy method of all registered plugins.
.. Only the owner plugin should perform the destroy action.
ExternalTextureSource* Ogre::ExternalTextureSourceManager::getExternalTextureSource | ( | const String & | sTexturePlugInType | ) |
Returns the plugin which reistered itself with a specific name (eg.
"video"), or null if specified plugin not found
void Ogre::ExternalTextureSourceManager::setExternalTextureSource | ( | const String & | sTexturePlugInType, | |
ExternalTextureSource * | pTextureSystem | |||
) |
Called from plugin to register itself.
static ExternalTextureSourceManager& Ogre::ExternalTextureSourceManager::getSingleton | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< T >.
static ExternalTextureSourceManager* Ogre::ExternalTextureSourceManager::getSingletonPtr | ( | void | ) | [static] |
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< T >.
Definition at line 110 of file OgreExternalTextureSourceManager.h.
Definition at line 114 of file OgreExternalTextureSourceManager.h.
T* Ogre::Singleton< T >::ms_Singleton [static, protected, inherited] |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:40 2008