CC3OpenGLES11StateTrackerCapability tracks a boolean GL capability, indicating whether the capability is enabled or disabled. More...
#import <CC3OpenGLES11StateTracker.h>
Public Member Functions | |
(void) | - disable |
(void) | - enable |
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.
- (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.