0
\$\begingroup\$

I know if we want the textures cached we can use the sharedtexture manager to cache them, but since this is on mobile platform , why don't cocos2d-x just do this for all texture loads ?

when creating sprites with images, are these textures cached as well ?

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

It automatically caches for us. You can check it via Profiler to monitor for the current usage of memory, it goes up until we purgeCache manually or when memory warning kicks in then it will automatically does the job for us.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .