This function returns the number of vertices defined in a given vertex buffer.
vertex_get_number(buffer);
Argument | Type | Description |
---|---|---|
buffer | Vertex Buffer | The vertex buffer to check. |
v_num = vertex_get_number(v_buffer);
The above code gets the number of vertices stored in the given vertex buffer in and stores the value in a variable v_num.