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