vertex_get_number

Get the number of vertices in the given vertex buffer

Syntax:

GML Code Example

vertex_get_number(buffer);


Argument Description
buffer The vertex buffer to check.


Returns: Real


Description

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


Example:

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