vertex_get_buffer_size

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

Syntax:

vertex_get_buffer_size(buffer);


Argument Description
buffer The buffer to get the size of.


Returns: Real


Description

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


Example:

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".


Back: Vertex Formats
Next: vertex_get_number
© Copyright YoYo Games Ltd. 2015 All Rights Reserved