VertexBufferIndices


Description:

public VertexBufferIndices (IndicesType indices_type, void* indices_array, int indices_len)

Depending on how much geometry you are submitting it can be worthwhile optimizing the number of redundant vertices you submit.

Note:

Use the CoglPrimitive api instead

Using an index array allows you to reference vertices multiple times, for example during triangle strips.

Parameters:

indices_type

a IndicesType specifying the data type used for the indices.

indices_array

Specifies the address of your array of indices

indices_len

The number of indices in indices_array

Returns:

A CoglHandle for the indices which you can pass to draw_elements .