draw_elements
Description:
public void draw_elements (VerticesMode mode, VertexBufferIndices indices, int min_index, int max_index, int indices_offset, int count)
This function lets you use an array of indices to specify the vertices within your vertex buffer that you want to draw.
Note:
Use the CoglPrimitive
api instead
The indices themselves are created by calling VertexBufferIndices
Any un-submitted attribute changes are automatically submitted before drawing.
Parameters:
mode |
A VerticesMode specifying how the vertices should be interpreted. |
indices |
A CoglHandle for a set of indices allocated via VertexBufferIndices |
min_index |
Specifies the minimum vertex index contained in indices |
max_index |
Specifies the maximum vertex index contained in indices |
indices_offset |
An offset into named indices. The offset marks the first index to use for drawing. |
count |
Specifies the number of vertices you want to draw. |
handle |
A vertex buffer handle |