summaryrefslogtreecommitdiff
path: root/src/resources/atlas/atlasresource.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-25 23:48:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-25 23:48:28 +0300
commit81dca73da50d8f421a74993de8cd5a9d61ef1e2a (patch)
tree506308ca4243c57eb15c6c537e231f19255c1047 /src/resources/atlas/atlasresource.h
parenta73b1787f1b2c293f00f4e71186753c0df476b77 (diff)
downloadplus-81dca73da50d8f421a74993de8cd5a9d61ef1e2a.tar.gz
plus-81dca73da50d8f421a74993de8cd5a9d61ef1e2a.tar.bz2
plus-81dca73da50d8f421a74993de8cd5a9d61ef1e2a.tar.xz
plus-81dca73da50d8f421a74993de8cd5a9d61ef1e2a.zip
Add memory counting functions into AtlasResource and some other.
Diffstat (limited to 'src/resources/atlas/atlasresource.h')
-rw-r--r--src/resources/atlas/atlasresource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/atlas/atlasresource.h b/src/resources/atlas/atlasresource.h
index 0a9d90f04..7dddc6728 100644
--- a/src/resources/atlas/atlasresource.h
+++ b/src/resources/atlas/atlasresource.h
@@ -44,6 +44,10 @@ class AtlasResource final : public Resource
void decRef() override final;
+ int calcMemoryLocal() override final;
+
+ int calcMemoryChilds(const int level) override final;
+
std::vector<TextureAtlas*> atlases;
};