ecs_run_worker

Function ecs_run_worker 

Source
pub unsafe extern "C" fn ecs_run_worker(
    world: *mut ecs_world_t,
    system: ecs_entity_t,
    stage_current: i32,
    stage_count: i32,
    delta_time: f32,
    param: *mut c_void,
) -> ecs_entity_t
Expand description

Same as ecs_run, but subdivides entities across number of provided stages.

@param world The world. @param system The system to run. @param stage_current The id of the current stage. @param stage_count The total number of stages. @param delta_time The time passed since the last system invocation. @param param A user-defined parameter to pass to the system. @return handle to last evaluated entity if system was interrupted.