Pages
Home
HTML
Corona SDK
Cocos2d
Xcode
PHP
Sunday, 2 June 2013
How to remove unused/all textures: cocos2d
Syntax for removing unused textures in cocos2d
:
[[CCTextureCache sharedTextureCache] removeUnusedTextures];
Syntax for removing all Texture
:
[[CCTextureCache sharedTextureCache] removeAllTextures];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment