Get the number of vertices in the given vertex buffer


GML Code Example


Argument Description
buffer The vertex buffer to check.

Returns: Real


With this function you can find out the number of individual vertices defined in any given vertex buffer.


GML Code Example

v_num = vertex_get_number(v_buffer);

The above code will store the number of vertices stored in the given vertex buffer to a variable.

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