Public Member Functions

CC3OpenGLES11StateTrackerCapability Class Reference

CC3OpenGLES11StateTrackerCapability tracks a boolean GL capability, indicating whether the capability is enabled or disabled. More...

#import <CC3OpenGLES11StateTracker.h>

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

List of all members.

Public Member Functions

(void) - disable
(void) - enable

Detailed Description

CC3OpenGLES11StateTrackerCapability tracks a boolean GL capability, indicating whether the capability is enabled or disabled.

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) disable

Disables the capability.

This is the same as setting the value property to NO.

- (void) enable

Enables the capability.

This is the same as setting the value property to YES.


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