Function steam_audio::ffi::iplDestroyStaticMesh [] [src]

pub unsafe extern "C" fn iplDestroyStaticMesh(
    staticMesh: *mut IPLhandle
) -> IPLvoid

Destroys a Static Mesh object. If any other API objects are still referencing the Static Mesh object, it will not be destroyed; destruction occurs when the object's reference count reaches zero. Since the Scene object maintains an internal reference to the Static Mesh object, you may call this function at any point after fully specifying the Static Mesh object using \c ::iplSetStaticMeshVertices, \c ::iplSetStaticMeshTriangles, and \c ::iplSetStaticMeshMaterials.

\param staticMesh [in, out] Address of a handle to the Static Mesh object to destroy.