Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
18
24template <typename Pipeline, if_not_t< is_enum<Pipeline>::value > = 0>
26
30void set_pipeline(const flecs::entity pip) const;
31
35template <typename Pipeline>
36void set_pipeline() const;
37
42
46bool progress(ecs_ftime_t delta_time = 0.0) const;
47
51void run_pipeline(const flecs::entity_t pip, ecs_ftime_t delta_time = 0.0) const;
52
57template <typename Pipeline, if_not_t< is_enum<Pipeline>::value > = 0>
58void run_pipeline(ecs_ftime_t delta_time = 0.0) const;
59
64
68void set_target_fps(ecs_ftime_t target_fps) const;
69
73void reset_clock() const;
74
78void set_threads(int32_t threads) const;
79
83int32_t get_threads() const;
84
88void set_task_threads(int32_t task_threads) const;
89
93bool using_task_threads() const;
94
ecs_entity_t entity_t
Entity type.
Definition c_types.hpp:21
void set_target_fps(ecs_ftime_t target_fps) const
Set the target FPS.
flecs::pipeline_builder pipeline() const
Create a new pipeline.
flecs::entity get_pipeline() const
Get the pipeline.
void run_pipeline(const flecs::entity_t pip, ecs_ftime_t delta_time=0.0) const
Run a pipeline.
void reset_clock() const
Reset the simulation clock.
void set_threads(int32_t threads) const
Set the number of threads.
void set_pipeline() const
Set the pipeline.
flecs::pipeline_builder pipeline() const
Create a new pipeline.
int32_t get_threads() const
Get the number of threads.
void set_time_scale(ecs_ftime_t mul) const
Set the time scale.
void set_task_threads(int32_t task_threads) const
Set the number of task threads.
void run_pipeline(ecs_ftime_t delta_time=0.0) const
Run a pipeline.
bool progress(ecs_ftime_t delta_time=0.0) const
Progress the world one tick.
void set_pipeline(const flecs::entity pip) const
Set the pipeline.
bool using_task_threads() const
Return true if task thread use has been requested.
#define ecs_ftime_t
Customizable precision for scalar time values.
Definition flecs.h:59
Entity.
Definition entity.hpp:30
Pipeline builder.
Definition builder.hpp:24