Texture2D(Image) Class Reference
#import <Texture2D.h>
List of all members.
Detailed Description
Extensions to make it easy to create a
Texture2D object from an image file. Note that RGBA type textures will have their alpha premultiplied - use the blending mode (GL_ONE, GL_ONE_MINUS_SRC_ALPHA).
Member Function Documentation
| - (id) initWithImage: |
|
(UIImage *) |
uiImage |
|
|
Initializes a texture from a UIImage object
The documentation for this class was generated from the following file:
- /Users/riq/progs/cocos2d-iphone/branches/branch-0.7/cocos2d/Support/Texture2D.h