#include <include/flecs/addons/pipeline.h> FLECS_API bool ecs_progress(ecs_world_t *world, FLECS_FLOAT delta_time)
Progress a world. This operation progresses the world by running all systems that are both enabled and periodic on their matching entities.
An application can pass a delta_time into the function, which is the time passed since the last frame. This value is passed to systems so they can update entity values proportional to the elapsed time since their last invocation.
When an application passes 0 to delta_time, ecs_progress will automatically measure the time passed since the last frame. If an application does not uses time management, it should pass a non-zero value for delta_time (1.0 is recommended). That way, no time will be wasted measuring the time.
world- The world to progress.
delta_time- The time passed since the last frame.
- false if ecs_quit has been called, true otherwise.
- Readme / Show me the code!
- Quickstart / Pipeline
- Manual / Using delta_time
- Manual / Staging
- Manual / Pipelines