vertex_delete_buffer

Delete a vertex buffer from memory.

Syntax:

GML Code Example

vertex_delete_buffer(buffer);


Argument Description
buffer The buffer to be removed.


Returns: N/A


Description

This function can be used to remove a previously created vertex buffer (see vertex_create_buffer) from system memory. This will also remove all vertex data for any custom primitives that it contained.


Example:

GML Code Example

vertex_delete_buffer(v_buff);
 

The above code will delete from memory the buffer indexed in the variable "v_buff".





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