Questions tagged [cctexturecache]

CCTextureCache: Singleton texture manager used in Cocos2d game engine.

Singleton texture manager used in Cocos2d game engine, that loads texture only once and handles all loading and releasing of openGL texture.

Here is full Api reference.

16 questions
0
votes
2 answers

Appropriate use of CCTextureCache

I'm currently creating a CCSprite like this: CCSprite *s = [CCSprite spriteWithFile:@"image.png"]; This sprite is the background image of a CCLayer that's used relatively often. Is the following use of CCTextureCache more efficient? CCTexture2D *t…
SundayMonday
  • 19,147
  • 29
  • 100
  • 154
1
2