pub unsafe extern "C" fn phys_PxCookTriangleMesh(
    params: *const PxCookingParams,
    desc: *const PxTriangleMeshDesc,
    stream: *mut PxOutputStream,
    condition: *mut PxTriangleMeshCookingResult
) -> bool
Expand description

Cooks a triangle mesh. The results are written to the stream.

To create a triangle mesh object it is necessary to first ‘cook’ the mesh data into a form which allows the SDK to perform efficient collision detection.

PxCookTriangleMesh() allows a mesh description to be cooked into a binary stream suitable for loading and performing collision detection at runtime.

true on success