I’m using a bunch of procedural textures in my game. These textures are generated on the fly and re-used in many areas of the game, that’s why I generate them in a global location (to save both on memory and processing time) and get the texture from CCTextureCache wherever I need any of them.