![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Pipelines order and schedule systems for execution. More...
Classes | |
| struct | flecs::pipeline_builder< Components > |
| Pipeline builder. More... | |
| struct | flecs::pipeline_builder_i< Base > |
| Pipeline builder interface. More... | |
| struct | flecs::pipeline< Components > |
| Forward declaration for pipeline. More... | |
| flecs::pipeline_builder | flecs::world::pipeline () const |
| Create a new pipeline. | |
| template<typename Pipeline, if_not_t< is_enum< Pipeline >::value > = 0> | |
| flecs::pipeline_builder | pipeline () const |
| Create a new pipeline. | |
| void | set_pipeline (const flecs::entity pip) const |
| Set the pipeline. | |
| template<typename Pipeline> | |
| void | set_pipeline () const |
| Set the pipeline. | |
| flecs::entity | get_pipeline () const |
| Get the pipeline. | |
| bool | progress (ecs_ftime_t delta_time=0.0) const |
| Progress the world one tick. | |
| void | run_pipeline (const flecs::entity_t pip, ecs_ftime_t delta_time=0.0) const |
| Run a pipeline. | |
| template<typename Pipeline, if_not_t< is_enum< Pipeline >::value > = 0> | |
| void | run_pipeline (ecs_ftime_t delta_time=0.0) const |
| Run a pipeline. | |
| void | set_time_scale (ecs_ftime_t mul) const |
| Set the time scale. | |
| void | set_target_fps (ecs_ftime_t target_fps) const |
| Set the target FPS. | |
| void | reset_clock () const |
| Reset the simulation clock. | |
| void | set_threads (int32_t threads) const |
| Set the number of threads. | |
| int32_t | get_threads () const |
| Get the number of threads. | |
| void | set_task_threads (int32_t task_threads) const |
| Set the number of task threads. | |
| bool | using_task_threads () const |
| Return true if task thread use has been requested. | |
Pipelines order and schedule systems for execution.
|
|
|
|
inline |
|
|
|
|
Run a pipeline.
| Pipeline | Type associated with the pipeline. |
|
|
|
|
Set the number of task threads.
|
|
|
Return true if task thread use has been requested.