CC3OpenGLES11MatrixPalette provides access to several commands that operate on one matrix the matrix palette. More...
#import <CC3OpenGLES11Matrices.h>
Public Member Functions | |
(id) | - initWithParent:forPalette:andModeTracker: |
(void) | - loadFromModelView |
Static Public Member Functions | |
(id) | + trackerWithParent:forPalette:andModeTracker: |
CC3OpenGLES11MatrixPalette provides access to several commands that operate on one matrix the matrix palette.
None of these commands require state tracking.
Even though this class does not track any state, it does rely on the tracker for the matrix mode, to ensure that the matrix mode associated with this matrix stack is active before calling a GL function.
- (id) initWithParent: | (CC3OpenGLES11StateTracker *) | aTracker | |
forPalette: | (GLint) | paletteIndex | |
andModeTracker: | (CC3OpenGLES11StateTrackerEnumeration *) | aModeTracker | |
Initializes this instance for the GL_MATRIX_PALETTE_OES matrix mode and specified palette index.
The specified aModeTracker is used to ensure that the matrix mode of this matrix is active before issuing any commands.
- (void) loadFromModelView |
Loads this matrix palette from the current modelview matrix.
+ (id) trackerWithParent: | (CC3OpenGLES11StateTracker *) | aTracker | |
forPalette: | (GLint) | paletteIndex | |
andModeTracker: | (CC3OpenGLES11StateTrackerEnumeration *) | aModeTracker | |
Allocates and initializes an autoreleased instance for the GL_MATRIX_PALETTE_OES matrix mode and specified palette index.
The specified aModeTracker is used to ensure that the matrix mode of this matrix is active before issuing any commands.