#import <CC3Texture.h>
Instance Methods | |
| (void) | - addTexture:named: |
Extension category to support Cocos3D functionality.
| - (void) addTexture: | (CCTexture *) | 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.