Public Member Functions | Static Public Member Functions | Properties

CC3OpenGLES11TextureUnit Class Reference

CC3OpenGLES11Textures manages trackers for texture and texture environment state. More...

#import <CC3OpenGLES11Textures.h>

Inheritance diagram for CC3OpenGLES11TextureUnit:
Inheritance graph
[legend]
Collaboration diagram for CC3OpenGLES11TextureUnit:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(void) - activate
(void) - clientActivate
(id) - initWithParent:withTextureUnitIndex:

Static Public Member Functions

(id) + trackerWithParent:withTextureUnitIndex:

Properties

CC3OpenGLES11StateTrackerTexEnvEnumerationalphaOperand0
CC3OpenGLES11StateTrackerTexEnvEnumerationalphaOperand1
CC3OpenGLES11StateTrackerTexEnvEnumerationalphaOperand2
CC3OpenGLES11StateTrackerTexEnvEnumerationalphaSource0
CC3OpenGLES11StateTrackerTexEnvEnumerationalphaSource1
CC3OpenGLES11StateTrackerTexEnvEnumerationalphaSource2
CC3OpenGLES11StateTrackerTexEnvColorcolor
CC3OpenGLES11StateTrackerTexEnvEnumerationcombineAlphaFunction
CC3OpenGLES11StateTrackerTexEnvEnumerationcombineRGBFunction
GLenum glEnumValue
CC3OpenGLES11TextureMatrixStackmatrixStack
CC3OpenGLES11StateTrackerTexEnvPointSpriteCapabilitypointSpriteCoordReplace
CC3OpenGLES11StateTrackerTexEnvEnumerationrgbOperand0
CC3OpenGLES11StateTrackerTexEnvEnumerationrgbOperand1
CC3OpenGLES11StateTrackerTexEnvEnumerationrgbOperand2
CC3OpenGLES11StateTrackerTexEnvEnumerationrgbSource0
CC3OpenGLES11StateTrackerTexEnvEnumerationrgbSource1
CC3OpenGLES11StateTrackerTexEnvEnumerationrgbSource2
CC3OpenGLES11StateTrackerTextureServerCapabilitytexture2D
CC3OpenGLES11StateTrackerTextureBindingtextureBinding
CC3OpenGLES11StateTrackerTextureClientCapabilitytextureCoordArray
CC3OpenGLES11StateTrackerVertexTexCoordsPointertextureCoordinates
CC3OpenGLES11StateTrackerTexEnvEnumerationtextureEnvironmentMode

Detailed Description

CC3OpenGLES11Textures manages trackers for texture and texture environment state.


Member Function Documentation

- (void) activate

Make this texture unit the active texture unit.

This is invoked automatically whenever the state of one of the properties changes.

- (void) clientActivate

Make this texture unit the active client texture unit.

This is invoked automatically whenever the client state of one of the properties changes.

- (id) initWithParent: (CC3OpenGLES11StateTracker *)  aTracker
withTextureUnitIndex: (GLuint)  texUnit 

Initialize this instance to track GL state for the specified texture unit.

Index texUnit corresponds to i in the GL capability name GL_TEXTUREi, and must be between zero and the number of available texture units minus one, inclusive.

The number of available texture units can be retrieved from [CC3OpenGLES11Engine engine].platform.maxTextureUnits.value.

The parent is the CC3OpenGLES11Textures state manager that is holding this manager.

+ (id) trackerWithParent: (CC3OpenGLES11StateTracker *)  aTracker
withTextureUnitIndex: (GLuint)  texUnit 

Allocates and initializes an autoreleased instance to track GL state for the specified texture unit.

Index texUnit corresponds to i in the GL capability name GL_TEXTUREi, and must be between zero and the number of available texture units minus one, inclusive.

The number of available texture units can be retrieved from [CC3OpenGLES11Engine engine].platform.maxTextureUnits.value.

The parent is the CC3OpenGLES11Textures state manager that is holding this manager.


Property Documentation

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) alphaOperand0 [read, write, retain]

Tracks alpha operand 0 (GL name GL_OPERAND0_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) alphaOperand1 [read, write, retain]

Tracks alpha operand 1 (GL name GL_OPERAND1_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) alphaOperand2 [read, write, retain]

Tracks alpha operand 2 (GL name GL_OPERAND2_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) alphaSource0 [read, write, retain]

Tracks alpha source 0 (GL name GL_SRC0_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) alphaSource1 [read, write, retain]

Tracks alpha source 1 (GL name GL_SRC1_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) alphaSource2 [read, write, retain]

Tracks alpha source 2 (GL name GL_SRC2_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvColor *) color [read, write, retain]

Tracks the texture unit color constant (GL name GL_TEXTURE_ENV_COLOR).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) combineAlphaFunction [read, write, retain]

Tracks texture combine alpha function (GL name GL_COMBINE_ALPHA).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) combineRGBFunction [read, write, retain]

Tracks texture combine RGB function (GL name GL_COMBINE_RGB).

- (GLenum) glEnumValue [read, assign]

The GL enumeration value for this texture unit in the form GL_TEXTUREi.

- (CC3OpenGLES11TextureMatrixStack *) matrixStack [read, write, retain]

Manages the texture matrix stack.

- (CC3OpenGLES11StateTrackerTexEnvPointSpriteCapability *) pointSpriteCoordReplace [read, write, retain]

Tracks whether point sprite texture environment variable GL_COORD_REPLACE_OES is set on or off.

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) rgbOperand0 [read, write, retain]

Tracks RGB operand 0 (GL name GL_OPERAND0_RGB).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) rgbOperand1 [read, write, retain]

Tracks RGB operand 1 (GL name GL_OPERAND1_RGB).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) rgbOperand2 [read, write, retain]

Tracks RGB operand 2 (GL name GL_OPERAND2_RGB).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) rgbSource0 [read, write, retain]

Tracks RGB source 0 (GL name GL_SRC0_RGB).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) rgbSource1 [read, write, retain]

Tracks RGB source 1 (GL name GL_SRC1_RGB).

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) rgbSource2 [read, write, retain]

Tracks RGB source 2 (GL name GL_SRC2_RGB).

- (CC3OpenGLES11StateTrackerTextureServerCapability *) texture2D [read, write, retain]

Tracks the texturing capability (GL capability name GL_TEXTURE_2D).

- (CC3OpenGLES11StateTrackerTextureBinding *) textureBinding [read, write, retain]

Tracks texture binding (GL get name GL_TEXTURE_BINDING_2D and set function glBindTexture).

- (CC3OpenGLES11StateTrackerTextureClientCapability *) textureCoordArray [read, write, retain]

Tracks the texture coordinate array capability (GL capability name GL_TEXTURE_COORD_ARRAY).

- (CC3OpenGLES11StateTrackerVertexTexCoordsPointer *) textureCoordinates [read, write, retain]

Tracks the vertex texture coordinates pointer.

- (CC3OpenGLES11StateTrackerTexEnvEnumeration *) textureEnvironmentMode [read, write, retain]

Tracks texture environment mode (GL name GL_TEXTURE_ENV_MODE).


The documentation for this class was generated from the following file: