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