![]() |
Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Pipeline world mixin. More...
Go to the source code of this file.
Functions | |
template<typename Pipeline , if_not_t< is_enum< Pipeline >::value > = 0> | |
flecs::pipeline_builder | pipeline () const |
Create a new pipeline. More... | |
void | set_pipeline (const flecs::entity pip) const |
Set pipeline. More... | |
template<typename Pipeline > | |
void | set_pipeline () const |
Set pipeline. More... | |
flecs::entity | get_pipeline () const |
Get pipeline. More... | |
bool | progress (ecs_ftime_t delta_time=0.0) const |
Progress world one tick. More... | |
void | run_pipeline (const flecs::entity_t pip, ecs_ftime_t delta_time=0.0) const |
Run pipeline. More... | |
template<typename Pipeline , if_not_t< is_enum< Pipeline >::value > = 0> | |
void | run_pipeline (ecs_ftime_t delta_time=0.0) const |
Run pipeline. More... | |
void | set_time_scale (ecs_ftime_t mul) const |
Set timescale. More... | |
void | set_target_fps (ecs_ftime_t target_fps) const |
Set target FPS. More... | |
void | reset_clock () const |
Reset simulation clock. More... | |
void | set_threads (int32_t threads) const |
Set number of threads. More... | |
int32_t | get_threads () const |
Set number of threads. More... | |
void | set_task_threads (int32_t task_threads) const |
Set number of task threads. More... | |
bool | using_task_threads () const |
Returns true if task thread use has been requested. More... | |
Pipeline world mixin.
Definition in file mixin.inl.
flecs::entity get_pipeline | ( | ) | const |
Get pipeline.
int32_t get_threads | ( | ) | const |
Set number of threads.
flecs::pipeline_builder pipeline | ( | ) | const |
Create a new pipeline.
Pipeline | Type associated with pipeline. |
bool progress | ( | ecs_ftime_t | delta_time = 0.0 | ) | const |
Progress world one tick.
void reset_clock | ( | ) | const |
Reset simulation clock.
void run_pipeline | ( | const flecs::entity_t | pip, |
ecs_ftime_t | delta_time = 0.0 |
||
) | const |
Run pipeline.
void run_pipeline | ( | ecs_ftime_t | delta_time = 0.0 | ) | const |
void set_pipeline | ( | ) | const |
Set pipeline.
void set_pipeline | ( | const flecs::entity | pip | ) | const |
Set pipeline.
void set_target_fps | ( | ecs_ftime_t | target_fps | ) | const |
Set target FPS.
void set_task_threads | ( | int32_t | task_threads | ) | const |
Set number of task threads.
void set_threads | ( | int32_t | threads | ) | const |
Set number of threads.
void set_time_scale | ( | ecs_ftime_t | mul | ) | const |
Set timescale.
bool using_task_threads | ( | ) | const |
Returns true if task thread use has been requested.