CC3OpenGLES11StateTrackerActiveTexture tracks an enumerated GL state value for identifying the active texture. More...
#import <CC3OpenGLES11Textures.h>
Properties | |
GLenum | glEnumValue |
The active texture value can be between zero and the number of available texture channels minus one, inclusive.
The number of available texture channels can be retrieved from [CC3OpenGLES11Engine engine].platform.maxTextureChannels.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.
- (GLenum) glEnumValue [read, assign] |
The GL enumeration value GL_TEXTUREi, where i is determined by the value property.