Hi
I am monitoring the Texture memory using this method:
print(math.floor(collectgarbage("count")))
After entering the scene and exiting the scene,I am using scene manager.
It gives me something around 200 KB
but I get a different number using
-- print(application:getTextureMemoryUsage())
This method gives me (10208) which means around 10 MB.
Any body knows why is that?
Thanks:)
www.zoolax.com
Comments
Thanks.
Is there any limit for texture memory usage?
But for iOS and Android, CPU and GPU share the system memory therefore all system memory available is also available for textures.
Likes: SinisterSoft
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps