Skip to main content

b3RecPlayer_SetWorkerCount

Function b3RecPlayer_SetWorkerCount 

Source
pub unsafe extern "C" fn b3RecPlayer_SetWorkerCount(
    player: *mut b3RecPlayer,
    count: c_int,
)
Expand description

Set the worker count of the replay world. Clamped to [1, B3_MAX_WORKERS]. Applied to the live world at once and reused whenever the player rebuilds its world on Restart or a backward seek. Replaying at a different count than recorded re-partitions the constraint graph, so the StateHash check becomes a cross-thread determinism test.