Function physx_sys::PxSceneQuerySystem_preallocate_mut
source · pub unsafe extern "C" fn PxSceneQuerySystem_preallocate_mut(
self_: *mut PxSceneQuerySystem,
prunerIndex: u32,
nbShapes: u32
)
Expand description
Preallocates internal arrays to minimize the amount of reallocations.
The system does not prevent more allocations than given numbers. It is legal to not call this function at all, or to add more shapes to the system than the preallocated amounts.