CC3OpenGLES11State manages trackers that read and remember OpenGL ES 1.1 state and restore that state when the close method is invoked. More...
#import <CC3OpenGLES11State.h>
The originalValueHandling property of each contained tracker 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) clearBuffers: | (GLbitfield) | mask |
Clears the buffers identified by the specified bitmask, which is a bitwise OR combination of one or more of the following masks: GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT.
- (void) clearColorBuffer |
Clears the color buffer.
This is a convenience method. To clear more than one buffer, use the clearBuffers: method, passing in the buffers to clear, instead of invoking several distinct clear*Buffer methods.
- (void) clearDepthBuffer |
Clears the depth buffer.
This is a convenience method. To clear more than one buffer, use the clearBuffers: method, passing in the buffers to clear, instead of invoking several distinct clear*Buffer methods.
- (void) clearStencilBuffer |
Clears the stencil buffer.
This is a convenience method. To clear more than one buffer, use the clearBuffers: method, passing in the buffers to clear, instead of invoking several distinct clear*Buffer methods.
- (CC3OpenGLES11StateTrackerColor *) clearColor [read, write, retain] |
Tracks clear buffer color (GL get name GL_COLOR_CLEAR_VALUE and set function glClearColor).
- (CC3OpenGLES11StateTrackerFloat *) clearDepth [read, write, retain] |
Tracks clear buffer color (GL get name GL_DEPTH_CLEAR_VALUE and set function glClearDepthf).
- (CC3OpenGLES11StateTrackerFloat *) clearStencil [read, write, retain] |
Tracks clear buffer color (GL get name GL_STENCIL_CLEAR_VALUE and set function glClearStencil).
- (CC3OpenGLES11StateTrackerColor *) color [read, write, retain] |
Tracks drawing color (GL get name GL_CURRENT_COLOR and set function glColor4f).
- (CC3OpenGLES11StateTrackerEnumeration *) cullFace [read, write, retain] |
Tracks face culling (GL get name GL_CULL_FACE_MODE and set function glCullFace).
- (CC3OpenGLES11StateTrackerEnumeration *) depthFunction [read, write, retain] |
Tracks depth function (GL get name GL_DEPTH_FUNC and set function glDepthFunc).
- (CC3OpenGLES11StateTrackerBoolean *) depthMask [read, write, retain] |
Tracks depth mask (GL get name GL_DEPTH_WRITEMASK and set function glDepthMask).
- (CC3OpenGLES11StateTrackerEnumeration *) frontFace [read, write, retain] |
Tracks front face (GL get name GL_FRONT_FACE and set function glFrontFace).
- (CC3OpenGLES11StateTrackerViewport *) scissor [read, write, retain] |
Tracks viewport (GL get name GL_SCISSOR_BOX and set function glScissor).
- (CC3OpenGLES11StateTrackerEnumeration *) shadeModel [read, write, retain] |
Tracks shade model (GL get name GL_SHADE_MODEL and set function glShadeModel).
- (CC3OpenGLES11StateTrackerViewport *) viewport [read, write, retain] |
Tracks viewport (GL get name GL_VIEWPORT and set function glViewport).