natiny_mesh_destroy

C
void natiny_mesh_destroy(NatinyMesh mesh);

Frees the geometry: the vertices of every part, and the textures that were loaded from the source file's materials.

Parameters

Name Type Description
mesh NatinyMesh Mesh handle

Example

C
natiny_mesh_destroy(mesh);