This handles the creation, storage and overall handling of Texture Atlases. More...
#include <textureatlashandler.h>
Collaboration diagram for Mezzanine::UI::TextureAtlasHandler:Public Types | |
|
typedef std::map< String, UI::TextureAtlas * > | AtlasContainer |
| typedef AtlasContainer::iterator | AtlasIterator |
|
typedef AtlasContainer::const_iterator | ConstAtlasIterator |
Public Member Functions | |
| TextureAtlasHandler () | |
| Class constructor. | |
| ~TextureAtlasHandler () | |
| Class destructor. | |
| UI::TextureAtlas * | GetAtlas (const String &AtlasName) |
| Gets a loaded Atlas being stored in this manager. More... | |
| void | LoadAtlasFromFile (const String &Name, const String &Group="UI") |
| Loads a Mezzanine Texture Atlas file for use with UI::Screen's. More... | |
Protected Attributes | |
| AtlasContainer | Atlases |
This handles the creation, storage and overall handling of Texture Atlases.
Definition at line 56 of file textureatlashandler.h.
| UI::TextureAtlas * Mezzanine::UI::TextureAtlasHandler::GetAtlas | ( | const String & | AtlasName) |
Gets a loaded Atlas being stored in this manager.
| AtlasName | The name of the Atlas, which is usually the name of the file without the extension. |
Definition at line 94 of file textureatlashandler.cpp.
| void Mezzanine::UI::TextureAtlasHandler::LoadAtlasFromFile | ( | const String & | Name, |
| const String & | Group = "UI" |
||
| ) |
Loads a Mezzanine Texture Atlas file for use with UI::Screen's.
| Name | The name of the file to be loaded. |
| Group | The resource group where the MTA file can be found. |
Definition at line 65 of file textureatlashandler.cpp.
1.8.4