Public Member Functions

CC3OpenGLES11StateTrackerHintEnumeration Class Reference

CC3OpenGLES11StateTrackerHintEnumeration tracks an enumeration GL state value for a hint. More...

#import <CC3OpenGLES11Hints.h>

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

List of all members.

Public Member Functions

(void) - useDontCare
(void) - useFastest
(void) - useNicest

Detailed Description

CC3OpenGLES11StateTrackerHintEnumeration tracks an enumeration GL state value for a hint.

This implementation uses GL function glGetFixedv to read the value from the GL engine, and GL function glHint 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.


Member Function Documentation

- (void) useDontCare

Sets the value of the hint to GL_DONT_CARE.

- (void) useFastest

Sets the value of the hint to GL_FASTEST.

- (void) useNicest

Sets the value of the hint to GL_NICEST.


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