vertex_get_buffer_size

This function gets the size of the given vertex buffer in bytes.

 

Syntax:

vertex_get_buffer_size(buffer);

ArgumentTypeDescription
bufferVertex BufferThe vertex buffer to get the size of.

 

Returns:

Real

 

Example:

bufferBytes = vertex_get_buffer_size(buff);

The above code gets the number of bytes used by the given vertex buffer and stores the value in the variable bufferBytes.