vertex_get_buffer_size

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

Syntax:

GML Code Example

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:

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





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here