Public Member Functions | Protected Attributes | Properties

FlowTexture Class Reference

#import <FlowTexture.h>

List of all members.

Public Member Functions

(BOOL) - loadTextureFromResources:

Protected Attributes

GLenum internalFormat

Properties

GLenum textureFormat
unsigned char * textureData
int width
int height

Detailed Description

This class can load textures from an image file (png, jpg, tiff, ...)


Member Function Documentation

- (BOOL) loadTextureFromResources: (NSString*)  fileName

Loads the texture

Parameters:
fileNameThe filename of the texture
Returns:
YES if loading was successful

Member Data Documentation

- (GLenum) internalFormat [protected]

Property Documentation

- (int) height [read, write, assign]

The height of the texture

- (unsigned char *) textureData [read, write, assign]

An array holding raw texture data

- (GLenum) textureFormat [read, write, assign]

The texture format

- (int) width [read, write, assign]

The width of the texture


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines