CC3OpenGLES11StateTrackerTexParameterEnumeration Class Reference

CC3OpenGLES11StateTrackerTexParameterEnumeration tracks an enumerated GL state value for a texture parameter. More...

#import <CC3OpenGLES11Textures.h>

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

List of all members.


Detailed Description

CC3OpenGLES11StateTrackerTexParameterEnumeration tracks an enumerated GL state value for a texture parameter.

This implementation uses GL function glGetTexParameteri to read the value from the GL engine, and GL function glTexParameteri to set the value in the GL engine.

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.

The shouldAlwaysSetGL property is set to YES, which causes the state in the GL engine to be updated whenever the value is set in the tracker.


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