Flecs v3.1
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
55
60
64int64_t get_tick() const;
65
69void set_target_fps(ecs_ftime_t target_fps) const;
70
75
79void reset_clock() const;
80
84void set_threads(int32_t threads) const;
85
89int32_t get_threads() const;
90
#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.
ecs_ftime_t get_target_fps() const
Get 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.
ecs_ftime_t get_time_scale() const
Get timescale.
int64_t get_tick() const
Get tick.
int32_t get_threads() const
Set number of threads.
void set_time_scale(ecs_ftime_t mul) const
Set timescale.
bool progress(ecs_ftime_t delta_time=0.0) const
Progress world one tick.
Entity.
Definition: entity.hpp:30
Pipeline builder.
Definition: builder.hpp:24