ecs_defer_begin

Function ecs_defer_begin 

Source
pub unsafe extern "C" fn ecs_defer_begin(
    world: *mut ecs_world_t,
) -> bool
Expand description

Defer operations until end of frame. When this operation is invoked while iterating, operations inbetween the defer_begin and defer_end operations are executed at the end of the frame.

This operation is thread safe.

@param world The world. @return true if world changed from non-deferred mode to deferred mode.