vertex_get_number(buffer);
Argument | Description |
---|---|
buffer | The vertex buffer to check. |
Returns: Real
With this function you can find out the number of individual
vertices defined in any given vertex buffer.
v_num = vertex_get_number(v_buffer);
The above code will store the number of vertices stored in the given vertex buffer to a variable.