Function physx_sys::PxCpuDispatcher_getWorkerCount
source · pub unsafe extern "C" fn PxCpuDispatcher_getWorkerCount(
self_: *const PxCpuDispatcher
) -> u32
Expand description
Returns the number of available worker threads for this dispatcher.
The SDK will use this count to control how many tasks are submitted. By matching the number of tasks with the number of execution units task overhead can be reduced.