pub unsafe extern "C" fn phys_PxCreateConvexMesh(
    params: *const PxCookingParams,
    desc: *const PxConvexMeshDesc,
    insertionCallback: *mut PxInsertionCallback,
    condition: *mut PxConvexMeshCookingResult
) -> *mut PxConvexMesh
Expand description

Cooks and creates a convex mesh without going through a stream.

This method does the same as cookConvexMesh, 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().

PxConvexMesh pointer on success