Draws the primitives defined by the vertex data.
Gets the ID for this vertex array as assigned by OpenGL.
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 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.
Sets the starting offset in the indices buffer. Defaults to 0.
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.
Creates the resources. It can now be used.
Releases the resource. It can not longer be used.
Returns true if the resource was created and is ready for use, false if otherwise.
Throws an exception if the resource hasn't been created yet.
Throws an exception if the resource has been created already.
Returns the lowest OpenGL version required by this object's implementation.
Represent an OpenGL vertex array. The vertex data must be set with {@link #setData(org.spout.renderer.api.data.VertexData)} before it can be created.