pub unsafe extern "C" fn phys_PxCreateTriangleMesh(
params: *const PxCookingParams,
desc: *const PxTriangleMeshDesc,
insertionCallback: *mut PxInsertionCallback,
condition: *mut PxTriangleMeshCookingResult,
) -> *mut PxTriangleMeshExpand description
Cooks and creates a triangle mesh without going through a stream.
This method does the same as cookTriangleMesh, but the produced mesh is not stored into a stream but is either directly inserted in PxPhysics, or created as a standalone object. Use this method if you are unable to cook offline.
PxInsertionCallback can be obtained through PxPhysics::getPhysicsInsertionCallback() or PxCooking::getStandaloneInsertionCallback().
PxTriangleMesh pointer on success.