pub unsafe extern "C" fn phys_PxCookHeightField(
    desc: *const PxHeightFieldDesc,
    stream: *mut PxOutputStream
) -> bool
Expand description

Cooks a heightfield. The results are written to the stream.

To create a heightfield object there is an option to precompute some of calculations done while loading the heightfield data.

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

true on success