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.
vertex_delete_buffer(buffer);
| Argument | Type | Description |
|---|---|---|
| buffer | Vertex Buffer | The vertex buffer to be removed. |
N/A
vertex_delete_buffer(v_buff);
The above code will delete from memory the buffer indexed in the variable "v_buff".