CC3OpenGLES11Textures manages trackers for texture and texture environment state. More...
#import <CC3OpenGLES11Textures.h>
CC3OpenGLES11Textures manages trackers for texture and texture environment state.
- (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.
- (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).
- (CC3OpenGLES11StateTrackerTexParameterCapability *) autoGenerateMipMap [read, write, retain] |
Tracks whether automatica mipmaps are enabled (GL name GL_GENERATE_MIPMAP).
- (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.
- (CC3OpenGLES11StateTrackerTexParameterEnumeration *) horizontalWrappingFunction [read, write, retain] |
Tracks texture horizontal (S) wrapping function (GL name GL_TEXTURE_WRAP_S).
- (CC3OpenGLES11StateTrackerTexParameterEnumeration *) magnifyingFunction [read, write, retain] |
Tracks texture magnifying function (GL name GL_TEXTURE_MAG_FILTER).
- (CC3OpenGLES11TextureMatrixStack *) matrixStack [read, write, retain] |
Manages the texture matrix stack.
- (CC3OpenGLES11StateTrackerTexParameterEnumeration *) minifyingFunction [read, write, retain] |
Tracks texture minifying function (GL name GL_TEXTURE_MIN_FILTER).
- (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).
- (CC3OpenGLES11StateTrackerTexParameterEnumeration *) verticalWrappingFunction [read, write, retain] |
Tracks texture vertical (T) wrapping function (GL name GL_TEXTURE_WRAP_T).