#import <CC3VertexArrays.h>
Additional Inherited Members | |
Class Methods inherited from CC3VertexArray | |
(id) | + arrayFromCPODData:fromSPODMesh: |
(GLenum) | + defaultSemantic |
(id) | + vertexArray |
(id) | + vertexArrayWithName: |
(id) | + vertexArrayWithTag: |
(id) | + vertexArrayWithTag:withName: |
Properties inherited from CC3VertexArray | |
GLvoid *elements | __deprecated |
GLuint elementCount | __deprecated |
GLuint elementStride | __deprecated |
GLfloat capacityExpansionFactor | __deprecated |
BOOL shouldReleaseRedundantData | __deprecated |
GLuint | allocatedVertexCapacity |
GLuint | bufferID |
GLenum | bufferTarget |
GLenum | bufferUsage |
GLuint | elementLength |
GLuint | elementOffset |
GLint | elementSize |
GLenum | elementType |
BOOL | isUsingGLBuffer |
GLenum | semantic |
BOOL | shouldAllowVertexBuffering |
BOOL | shouldNormalizeContent |
BOOL | shouldReleaseRedundantContent |
GLuint | vertexCount |
GLuint | vertexStride |
GLvoid * | vertices |
A CC3VertexArray that manages the tangent or bitangent aspect of an array of vertices.
- (void) setTangent: | (CC3Vector) | aTangent | |
at: | (GLuint) | index | |
Sets the tangent element at the specified index in the underlying vertex content to the specified tangent value.
The index refers to vertices, not bytes. The implementation takes into consideration the vertexStride and elementOffset properties to access the correct element.
If the releaseRedundantContent method has been invoked and the underlying vertex content has been released, this method will raise an assertion exception.
- (CC3Vector) tangentAt: | (GLuint) | index |
Returns the tangent element at the specified index in the underlying vertex content.
The index refers to vertices, not bytes. The implementation takes into consideration the vertexStride and elementOffset properties to access the correct element.
If the releaseRedundantContent method has been invoked and the underlying vertex content has been released, this method will raise an assertion exception.