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
29ecs_ftime_t frame_begin(ecs_ftime_t delta_time = 0) const;
30
34void frame_end() const;
35
39void run_post_frame(ecs_fini_action_t action, void *ctx) const;
40
44void quit() const;
45
49bool should_quit() const;
50
55
59void set_target_fps(ecs_ftime_t target_fps) const;
60
64void reset_clock() const;
65
void set_target_fps(ecs_ftime_t target_fps) const
Set the target FPS.
void frame_end() const
End frame.
void reset_clock() const
Reset the simulation clock.
void quit() const
Signal application should quit.
void set_time_scale(ecs_ftime_t mul) const
Set the time scale.
ecs_ftime_t frame_begin(ecs_ftime_t delta_time=0) const
Begin frame.
void run_post_frame(ecs_fini_action_t action, void *ctx) const
Run callback after completing the frame.
bool should_quit() const
Test if quit() has been called.
void(* ecs_fini_action_t)(ecs_world_t *world, void *ctx)
Action callback on world exit.
Definition flecs.h:653
#define ecs_ftime_t
Customizable precision for scalar time values.
Definition flecs.h:59