vertex_format_delete

Remove a custom vertex format from memory.

Syntax:

vertex_format_delete(formatID);


Returns: N/A


Description

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.


Example:

vertex_format_delete(myFormat);

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


Back: Vertex Formats
Next: vertex_format_begin
© Copyright YoYo Games Ltd. 2018 All Rights Reserved