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
18flecs::pipeline_builder<> pipeline(const char *name = nullptr) const;
19
25template <typename Pipeline, if_not_t< is_enum<Pipeline>::value > = 0>
27
31void set_pipeline(const flecs::entity pip) const;
32
36template <typename Pipeline>
37void set_pipeline() const;
38
43
47bool progress(ecs_ftime_t delta_time = 0.0) const;
48
52void run_pipeline(const flecs::entity_t pip, ecs_ftime_t delta_time = 0.0) const;
53
58template <typename Pipeline, if_not_t< is_enum<Pipeline>::value > = 0>
59void run_pipeline(ecs_ftime_t delta_time = 0.0) const;
60
64void set_threads(int32_t threads) const;
65
69int32_t get_threads() const;
70
74void set_task_threads(int32_t task_threads) const;
75
79bool using_task_threads() const;
80
ecs_entity_t entity_t
Entity type.
Definition c_types.hpp:21
flecs::entity get_pipeline() const
Get the pipeline.
flecs::pipeline_builder pipeline(const char *name=nullptr) const
Create a new pipeline.
void run_pipeline(const flecs::entity_t pip, ecs_ftime_t delta_time=0.0) const
Run a pipeline.
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_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