#import <Texture2D.h>
Public Member Functions | |
| (id) | - initWithData:pixelFormat:pixelsWide:pixelsHigh:contentSize: |
Properties | |
| Texture2DPixelFormat | pixelFormat |
| NSUInteger | pixelsWide |
| NSUInteger | pixelsHigh |
| GLuint | name |
| CGSize | contentSize |
| GLfloat | maxS |
| GLfloat | maxT |
| - (id) initWithData: | (const void *) | data | ||
| pixelFormat: | (Texture2DPixelFormat) | pixelFormat | ||
| pixelsWide: | (NSUInteger) | width | ||
| pixelsHigh: | (NSUInteger) | height | ||
| contentSize: | (CGSize) | size | ||
Intializes with a texture2d with data
- (CGSize) contentSize [read, assign] |
content size
- (GLfloat) maxS [read, assign] |
texture max S
- (GLfloat) maxT [read, assign] |
texture max T
- (GLuint) name [read, assign] |
texture name
- (Texture2DPixelFormat) pixelFormat [read, assign] |
pixelFormat
- (NSUInteger) pixelsHigh [read, assign] |
hight in pixels
- (NSUInteger) pixelsWide [read, assign] |
width in pixels
1.5.8