Texture2D(Image) Class Reference

#import <Texture2D.h>

List of all members.

Public Member Functions

(id) - initWithImage:


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:

Generated on Tue Jun 9 10:39:45 2009 for cocos2d for iPhone 0.7.3 by  doxygen 1.5.8