This function gets the size of the given vertex buffer in bytes.
vertex_get_buffer_size(buffer);
Argument | Type | Description |
---|---|---|
buffer | Vertex Buffer | The vertex buffer to get the size of. |
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.