Function physx_sys::PxBroadPhase_setScratchBlock_mut
source · pub unsafe extern "C" fn PxBroadPhase_setScratchBlock_mut(
self_: *mut PxBroadPhase,
scratchBlock: *mut c_void,
size: u32
)
Expand description
Sets a scratch buffer
Some broadphases might take advantage of a scratch buffer to limit runtime allocations.
All broadphases still work without providing a scratch buffer, this is an optional function that can potentially reduce runtime allocations.