CC3OpenGLES11StateTrackerFogFloat Class Reference

CC3OpenGLES11StateTrackerFogFloat tracks a float GL state value for fog. More...

#import <CC3OpenGLES11Fog.h>

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

List of all members.


Detailed Description

CC3OpenGLES11StateTrackerFogFloat tracks a float GL state value for fog.

This implementation uses GL function glGetFloatv to read the value from the GL engine, and GL function glFogf 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 documentation for this class was generated from the following file: