40 #ifndef _graphicstexturemanager_h
41 #define _graphicstexturemanager_h
43 #include "entresolmanager.h"
44 #include "entresolmanagerfactory.h"
45 #include "singleton.h"
46 #include "Graphics/graphicsenumerations.h"
51 template<
typename T>
class SharedPtr;
52 typedef SharedPtr<Texture> TexturePtr;
63 %
template(SingletonTextureManager) Singleton<TextureManager>;
94 virtual void AddTexture(
Texture* ToAdd);
146 virtual void UnloadTexture(
const String& TextureName);
153 virtual Whole GetNumTextures();
155 virtual void UnloadAllTextures();
161 virtual void Initialize();
163 virtual void Deinitialize();
171 virtual String GetImplementationTypeName()
const;
184 Ogre::TextureManager* _GetInternalManager()
const;
200 String GetManagerImplName()
const;
TextureType
An enum used to describe the various types of supported textures.
bool Boole
Generally acts a single bit, true or false.
ManagerType
A listing of Manager Types.
std::map< String, Texture * > TextureContainer
Basic container type for Texture storage in this class.
This is a base class for factories that construct managers used by the Entresol class.
By default textures are TU_Static_Write_Only and TU_AutoMipMap.
TextureContainer Textures
Container storing all of the currently loaded Textures.
int Integer
A datatype used to represent any integer close to.
TextureContainer::iterator TextureIterator
Iterator type for Texture instances stored in this class.
static const String ImplementationName
A String containing the name of this manager implementation.
A factory responsible for the creation and destruction of the default TextureManager.
int Usage(Mezzanine::String ThisName, CoreTestGroup &TestGroups)
Print a message for the user onf the standard output that briefly describes hwo to use this...
This is the base class for all managers that do no describe properties of a single world...
A light-weight handle for manipulating nodes in DOM tree.
ProcessDepth Depth
The current process depth as interpretted by Main.
This class represents a texture loaded into video memory.
PixelFormat
This is used to describe how bits are arraged for each pixel in an image.
std::list< NameValuePair > NameValuePairList
This is a datatype mostly used for describing settings or parameters that can't be declared in advanc...
static const ManagerBase::ManagerType InterfaceType
A ManagerType enum value used to describe the type of interface/functionality this manager provides...
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
TextureContainer::const_iterator ConstTextureIterator
Const Iterator type for Texture instances stored in this class.
This manager handles the storage and query of of Graphics Textures.
std::string String
A datatype used to a series of characters.