Properties

CC3OpenGLES11StateTrackerActiveTexture Class Reference

CC3OpenGLES11StateTrackerActiveTexture tracks an enumerated GL state value for identifying the active texture. More...

#import <CC3OpenGLES11Textures.h>

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

List of all members.

Properties

GLenum glEnumValue

Detailed Description

CC3OpenGLES11StateTrackerActiveTexture tracks an enumerated GL state value for identifying the active texture.

The active texture value can 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 originalValueHandling property is set to kCC3GLESStateOriginalValueReadOnceAndRestore, which will cause the state to be automatically read once, on the first invocation of the open method, and to be automatically restored on each invocation of the close method.


Property Documentation

- (GLenum) glEnumValue [read, assign]

The GL enumeration value GL_TEXTUREi, where i is determined by the value property.


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