Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
16
22template <typename Pipeline, if_not_t< is_enum<Pipeline>::value > = 0>
24
28void set_pipeline(const flecs::entity pip) const;
29
33template <typename Pipeline>
34void set_pipeline() const;
35
40
44bool progress(ecs_ftime_t delta_time = 0.0) const;
45
49void run_pipeline(const flecs::entity_t pip, ecs_ftime_t delta_time = 0.0) const;
50
55template <typename Pipeline, if_not_t< is_enum<Pipeline>::value > = 0>
56void run_pipeline(ecs_ftime_t delta_time = 0.0) const;
57
62
66void set_target_fps(ecs_ftime_t target_fps) const;
67
71void reset_clock() const;
72
76void set_threads(int32_t threads) const;
77
81int32_t get_threads() const;
82
86void set_task_threads(int32_t task_threads) const;
87
91bool using_task_threads() const;
92
#define ecs_ftime_t
Customizable precision for scalar time values.
Definition: flecs.h:42
void set_target_fps(ecs_ftime_t target_fps) const
Set target FPS.
flecs::entity get_pipeline() const
Get pipeline.
void run_pipeline(const flecs::entity_t pip, ecs_ftime_t delta_time=0.0) const
Run pipeline.
void reset_clock() const
Reset simulation clock.
void set_threads(int32_t threads) const
Set number of threads.
void set_pipeline() const
Set pipeline.
flecs::pipeline_builder pipeline() const
Create a new pipeline.
int32_t get_threads() const
Set number of threads.
void set_time_scale(ecs_ftime_t mul) const
Set timescale.
void set_task_threads(int32_t task_threads) const
Set number of task threads.
bool progress(ecs_ftime_t delta_time=0.0) const
Progress world one tick.
bool using_task_threads() const
Returns true if task thread use has been requested.
Entity.
Definition: entity.hpp:30
Pipeline builder.
Definition: builder.hpp:24