vertex_get_number

Get the number of vertices in the given vertex buffer

语法:

vertex_get_number(buffer);


参数 描述
buffer The vertex buffer to check.


返回: 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.


上一页: Building Primitives
下一页: vertex_delete_buffer
© Copyright YoYo Games Ltd. 2018 All Rights Reserved