This is the base class of all OpenGL ES 1.1 state trackers. More...
#import <CC3OpenGLES11StateTracker.h>
Public Member Functions | |
(void) | - close |
(id) | - initWithParent: |
(void) | - notifyGLChanged |
(void) | - notifyTrackerAdded |
(void) | - open |
Static Public Member Functions | |
(id) | + trackerWithParent: |
Properties | |
CC3OpenGLES11Engine * | engine |
CC3OpenGLES11StateTracker * | parent |
This is the base class of all OpenGL ES 1.1 state trackers.
All trackers can be opened and closed, and define a default technique for handling the original GL state value (see the notes for the CC3GLESStateOriginalValueHandling enumeration).
- (void) close |
Closes this tracker.
This will be automatically invoked each time the CC3OpenGLES11Engine close method is invoked.
This abstract implementation clears an internal marker. Subclasses will override. Subclasses that override must invoke this superclass method.
Implemented in CC3OpenGLES11Engine, and CC3OpenGLES11StateTrackerPrimitive.
- (id) initWithParent: | (CC3OpenGLES11StateTracker *) | aTracker |
Initializes this instance, attached to the specified parent tracker.
- (void) notifyGLChanged |
Invoked automatically when the value of the specified tracker was set in the GL engine.
This implementation adds this tracker to the collection of trackers to be closed by the CC3OpenGLES11Engine.
- (void) notifyTrackerAdded |
Invoked automatically when a tracker is added to its parent.
This implementation adds this tracker to the collection of trackers to be opened by the CC3OpenGLES11Engine.
- (void) open |
Opens this tracker.
This will be automatically invoked each time the CC3OpenGLES11Engine open method is invoked.
This abstract implementation does nothing. Subclasses will override.
Implemented in CC3OpenGLES11Engine, and CC3OpenGLES11StateTrackerPrimitive.
+ (id) trackerWithParent: | (CC3OpenGLES11StateTracker *) | aTracker |
Allocates and initializes an autoreleased instance, attached to the specified parent tracker.
- (CC3OpenGLES11Engine*) engine [read, assign] |
The CC3OpenGLES11Engine at the root of the tracker assembly.
- (CC3OpenGLES11StateTracker *) parent [read, assign] |
The parent of this tracker.