CC3OpenGLES11VertexArrays manages trackers for vertex arrays. More...
#import <CC3OpenGLES11VertexArrays.h>
CC3OpenGLES11VertexArrays manages trackers for vertex arrays.
- (CC3OpenGLES11StateTrackerArrayBufferBinding*) bufferBinding: | (GLenum) | bufferTarget |
Returns the array or index buffer binding tracker, as determined by the specified bufferTarget value.
- (void) deleteBuffer: | (GLuint) | buffID |
Deletes the GL buffer with the specifid buffer ID.
This is a wrapper for the GL function glDeleteBuffers.
- (void) drawIndicies: | (GLvoid *) | indicies | |
ofLength: | (GLuint) | len | |
andType: | (GLenum) | type | |
as: | (GLenum) | drawMode | |
Draws the vertices indexed by the specified indices, to the specified number of indices, each of the specified GL type, and using the specified draw mode.
This is a wrapper for the GL function glDrawElements.
- (void) drawVerticiesAs: | (GLenum) | drawMode | |
startingAt: | (GLuint) | start | |
withLength: | (GLuint) | len | |
Draws vertices bound by the vertex pointers using the specified draw mode, starting at the specified index, and drawing the specified number of verticies.
This is a wrapper for the GL function glDrawArrays.
- (GLuint) generateBuffer |
Generates and returns a GL buffer ID.
This is a wrapper for the GL function glGenBuffers.
- (CC3OpenGLES11StateTrackerArrayBufferBinding *) arrayBuffer [read, write, retain] |
Tracks vertex array buffer binding.
- (CC3OpenGLES11StateTrackerVertexColorsPointer *) colors [read, write, retain] |
Tracks the vertex colors pointer.
- (CC3OpenGLES11StateTrackerElementArrayBufferBinding *) indexBuffer [read, write, retain] |
Tracks vertex element array buffer binding.
- (CC3OpenGLES11StateTrackerVertexLocationsPointer *) locations [read, write, retain] |
Tracks the vertex locations pointer.
- (CC3OpenGLES11StateTrackerVertexNormalsPointer *) normals [read, write, retain] |
Tracks the vertex normals pointer.
- (CC3OpenGLES11StateTrackerVertexPointSizesPointer *) pointSizes [read, write, retain] |
Tracks the vertex point sizes pointer.