pub unsafe extern "C" fn PxConstraintAllocator_reserveFrictionData_mut(
    self_: *mut PxConstraintAllocator,
    byteSize: u32
) -> *mut u8
Expand description

Allocates friction data. Friction data can be retained by the application for a given pair and provided as an input to PxSolverContactDesc to improve simulation stability. It is the application’s responsibility to release this memory. If this memory is released, the application should ensure it does not pass pointers to this memory to PxSolverContactDesc.

The allocated memory. This address must be 4-byte aligned.