set_n_vertices


Description:

public void set_n_vertices (int n_vertices)

Specifies how many vertices should be read when drawing the given this.

Usually this value is set implicitly when associating vertex data or indices with a Primitive .

<note>To be clear; it doesn't refer to the number of vertices - in terms of data - associated with the primitive it's just the number of vertices to read and draw.</note>

Parameters:

this

A Primitive object

n_vertices

The number of vertices to read when drawing.