vertex_delete_buffer

Delete a vertex buffer from memory.

Syntax:

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:

vertex_delete_buffer(v_buff);

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


Back: Vertex Formats
Next: vertex_begin
© Copyright YoYo Games Ltd. 2019 All Rights Reserved