Function physx_sys::PxScene_flushSimulation_mut
source · pub unsafe extern "C" fn PxScene_flushSimulation_mut(
self_: *mut PxScene,
sendPendingReports: bool
)
Expand description
Clear internal buffers and free memory.
This method can be used to clear buffers and free internal memory without having to destroy the scene. Can be useful if the physics data gets streamed in and a checkpoint with a clean state should be created.
It is not allowed to call this method while the simulation is running. The call will fail.