ManaPlus
|
#include <textureatlas.h>
Public Member Functions | |
TextureAtlas () | |
int | calcMemoryLocal () const |
int | calcMemoryChilds (const int level) const |
std::string | getCounterName () const |
Public Member Functions inherited from MemoryCounter | |
MemoryCounter () | |
virtual | ~MemoryCounter () |
int | calcMemory (const int level) const |
Data Fields | |
std::string | name |
Image * | atlasImage |
int | width |
int | height |
std::vector< AtlasItem * > | items |
Definition at line 40 of file textureatlas.h.
|
inline |
|
inlinevirtual |
Reimplemented from MemoryCounter.
Definition at line 60 of file textureatlas.h.
References MemoryCounter::calcMemory(), FOR_EACH, and items.
|
inlinevirtual |
Reimplemented from MemoryCounter.
Definition at line 54 of file textureatlas.h.
References items, and TextureAtlas().
|
inlinevirtual |
Image* TextureAtlas::atlasImage |
Definition at line 75 of file textureatlas.h.
Referenced by AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::createSDLAtlas(), AtlasManager::injectToResources(), AtlasManager::loadEmptyAtlas(), AtlasManager::loadTextureAtlas(), AtlasManager::moveToDeleted(), and AtlasResource::~AtlasResource().
int TextureAtlas::height |
Definition at line 77 of file textureatlas.h.
Referenced by AtlasManager::createSDLAtlas(), and AtlasManager::simpleSort().
std::vector<AtlasItem*> TextureAtlas::items |
Definition at line 78 of file textureatlas.h.
Referenced by calcMemoryChilds(), calcMemoryLocal(), AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::createSDLAtlas(), AtlasManager::emptySort(), AtlasManager::injectToResources(), AtlasManager::moveToDeleted(), AtlasManager::simpleSort(), and AtlasResource::~AtlasResource().
std::string TextureAtlas::name |
Definition at line 74 of file textureatlas.h.
Referenced by AtlasManager::convertAtlas(), AtlasManager::convertEmptyAtlas(), AtlasManager::emptySort(), getCounterName(), AtlasManager::injectToResources(), and AtlasManager::simpleSort().
int TextureAtlas::width |
Definition at line 76 of file textureatlas.h.
Referenced by AtlasManager::createSDLAtlas(), and AtlasManager::simpleSort().