Properties

CC3OpenGLES11StateTrackerActiveTexture Class Reference

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

#import <CC3OpenGLES11Textures.h>

Inheritance diagram for CC3OpenGLES11StateTrackerActiveTexture:
CC3OpenGLES11StateTrackerEnumeration CC3OpenGLES11StateTrackerPrimitive CC3OpenGLES11StateTracker

List of all members.

Properties

GLenum glEnumValue

Detailed Description

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.


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: