Singleton Class which handles the registering and control of texture plugins.
~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.
ExternalTextureSource * mCurrExternalTextureSource
The current texture controller selected.
TextureSystemList mTextureSystems
static ExternalTextureSourceManager & getSingleton(void)
Override standard Singleton retrieval.
static ExternalTextureSourceManager * getSingletonPtr(void)
Override standard Singleton retrieval.
ExternalTextureSource * getExternalTextureSource(const String &sTexturePlugInType)
Returns the plugin which registered itself with a specific name (eg.
void setExternalTextureSource(const String &sTexturePlugInType, ExternalTextureSource *pTextureSystem)
Called from plugin to register itself.
void 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 destro...
map< String, ExternalTextureSource * >::type TextureSystemList
ExternalTextureSourceManager()
Constructor.
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...