Sets the vertex data source to use. The indices offset is kept but maybe reduced if it doesn't fit inside the new data. The count is set to the size from the offset to the end of the data.
Sets the vertex array's drawing mode.
Sets the vertex array's polygon mode. This describes how to rasterize each primitive. The default is {@link org.spout.renderer.api.gl.VertexArray.PolygonMode#FILL}. This can be used to draw only the wireframes of the polygons.
Sets the starting offset in the indices buffer. Defaults to 0.
Sets the number of indices to render during each draw call, starting at the offset set by {@link #setIndicesOffset(int)}. Setting this to a value smaller than zero results in rendering of the whole list. If the value is larger than the list (starting at the offset), it will be maxed to that value.
Draws the primitives defined by the vertex data.
Gets the ID for this vertex array as assigned by OpenGL.
An OpenGL 2.0 implementation of {@link VertexArray}. <p/> Vertex arrays will be used if the ARB or APPLE extension is supported by the hardware. Else, since core OpenGL doesn't support them until 3.0, the vertex attributes will have to be redefined on each render call.
@see VertexArray