vertex_delete_buffer


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.


Syntax:

vertex_delete_buffer(buffer);

Argument Description
buffer The buffer to be removed.


Returns:

N/A


Example:

vertex_delete_buffer(v_buff);

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