Depending on how much geometry you are submitting it can be worthwhile optimizing the number of redundant vertices you submit.
Use the CoglPrimitive
api instead
Using an index array allows you to reference vertices multiple times, for example during triangle strips.
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 |
A CoglHandle for the indices which you can pass to draw_elements. |