vertex_get_number

Get the number of vertices in the given vertex buffer

Syntax:

vertex_get_number(buffer);


Argument Description
buffer The vertex buffer to check.


Returns: Real


Description

With this function you can find out the number of individual vertices defined in any given vertex buffer.


Example:

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.


Back: Building Primitives
Next: vertex_delete_buffer
© Copyright YoYo Games Ltd. 2018 All Rights Reserved