vertex_format_delete


语法:

vertex_format_delete(formatID);


Returns:

N/A(无返回值)


描述

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.


例如:

vertex_format_delete(myFormat);

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