Adds an attribute.
Clears all the vertex data.
Replaces the contents of this vertex data by the provided one. This is a deep copy. The vertex attribute are each individually cloned.
Returns the {@link VertexAttribute} associated to the name, or null if none can be found.
Returns the {@link VertexAttribute} at the desired index, or null if none is associated to the index.
Returns the buffer for the attribute associated to the provided name, or null if none can be found. The buffer is returned filled and ready for reading.
Returns the buffer for the attribute at the provided index, or null if none can be found. The buffer is returned filled and ready for reading.
Returns the attribute count.
Returns the index associated to the attribute name, or -1 if no attribute has the name.
Returns the name of the attribute at the provided index, or null if none can be found.
Returns an unmodifiable set of all the attribute names.
Returns the size of the attribute associated to the provided name.
Returns the size of the attribute at the provided index, or -1 if none can be found.
Returns the type of the attribute associated to the provided name, or null if none can be found.
Returns the type of the attribute at the provided index, or null if none can be found.
Returns the list of indices used by OpenGL to pick the vertices to draw the object with in the correct order.
Returns a byte buffer containing all the current indices.
Returns the index count.
Returns true if an attribute has the provided name.
Returns true in an attribute can be found at the provided index.
Removes the attribute associated to the provided name. If no attribute is found, nothing will be removed.
Removes the attribute at the provided index. If no attribute is found, nothing will be removed.
Sets the list of indices used by OpenGL to pick the vertices to draw the object with in the correct order.
Represents a vertex data. A vertex is a collection of attributes, most often attached to a point in space. This class is a data structure which groups together collections of primitives to represent a list of vertices.