Function render__destroy_mesh

Source
pub unsafe extern "C" fn render__destroy_mesh(
    handle: RenderMeshHandle,
) -> ErrorCode
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.