Public Member Functions

CC3OpenGLES11StateTrackerTextureBinding Class Reference

CC3OpenGLES11StateTrackerTextureBinding tracks an integer GL state value for texture binding. More...

#import <CC3OpenGLES11Textures.h>

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

List of all members.

Public Member Functions

(void) - unbind

Detailed Description

CC3OpenGLES11StateTrackerTextureBinding tracks an integer GL state value for texture binding.

This implementation uses the GL function glBindTexture to set the value in the GL engine.

The originalValueHandling property is set to kCC3GLESStateOriginalValueIgnore, which will not read the GL value from the GL engine in the open method, and will not restore the value in the close method.


Member Function Documentation

- (void) unbind

Unbinds all textures by setting the value property to zero.


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