destroy_mesh

Function destroy_mesh 

Source
pub fn destroy_mesh(handle: RenderMeshHandle)
Expand description

Schedule a mesh for destruction.

The handle will no longer be valid, however, anypending draw calls using the mesh will still go through. This means, for example, it’s valid to create a mesh, draw it, and destroy it within a single frame.