pc.VertexIteratorAccessor
Helps with accessing a specific vertex attribute.
Summary
Methods
| get | Get a attribute component at the current index. |
| set | Set all the attribute components at the current index. |
Details
Constructor
VertexIteratorAccessor(buffer, vertexElement)
Returns a new pc.VertexIteratorAccessor object.
Parameters
| buffer | ArrayBuffer | The vertex buffer containing the attribute to be accessed. |
| vertexElement | pc.VertexAttributeElement | The vertex attribute to be accessed. |