cocos3d
2.0.0
|
#import <CC3CC2Extensions.h>
Instance Methods | |
(void) | - addToCacheWithName: |
Extension category to support cocos3d functionality.
- (void) addToCacheWithName: | (NSString *) | texName |
If a CCTexture2D with the specified name does not already exist in the CCTextureCache, this texture is added to the CCTextureCache under that name.
If a texture already exists in the cache under the specified name, or if the specified name is nil, this texture is not added to the cache.