vertex_get_buffer_size

Get the size - in bytes - of a given vertex buffer.

语法:

vertex_get_buffer_size(buffer);


参数 描述
buffer The buffer to get the size of.


返回: Real(实数)


描述

With this function you can get the size of the given vertex buffer in bytes.


例如:

bufferBytes = vertex_get_buffer_size(buff);

The above code will get the number of bytes used by the vertex buffer given and store the value in the variable "bufferBytes".


上一页: Vertex Formats
下一页: vertex_get_number
© Copyright YoYo Games Ltd. 2018 All Rights Reserved