vertex_format_delete

This function must be called whenever you are finished using any created vector formats. You provide the format ID value (as returned by the function vector_format_end()), and this function will free the memory associated with it. Note that if you try to use this format again after calling this function, you will get an error.

 

Syntax:

vertex_format_delete(formatID);

Argument Type Description
formatID Vertex Format The vertex format to delete

 

Returns:

N/A

 

Example:

vertex_format_delete(myFormat);

The above code will remove the vertex format created in the variable "myFormat" from memory.