Used with ecs_app_run().
More...
#include <app.h>
Used with ecs_app_run().
Definition at line 37 of file app.h.
◆ ctx
void* ecs_app_desc_t::ctx |
Reserved for custom run/frame actions.
Definition at line 49 of file app.h.
◆ delta_time
Frame time increment (0 for measured values)
Definition at line 39 of file app.h.
◆ enable_rest
bool ecs_app_desc_t::enable_rest |
Enables ECS access over HTTP, necessary for explorer.
Definition at line 42 of file app.h.
◆ enable_stats
bool ecs_app_desc_t::enable_stats |
Periodically collect statistics.
Definition at line 43 of file app.h.
◆ frames
int32_t ecs_app_desc_t::frames |
Number of frames to run (0 for infinite)
Definition at line 41 of file app.h.
◆ init
If set, function is ran before starting the main loop.
Definition at line 46 of file app.h.
◆ port
uint16_t ecs_app_desc_t::port |
HTTP port used by REST API.
Definition at line 44 of file app.h.
◆ target_fps
Target FPS.
Definition at line 38 of file app.h.
◆ threads
int32_t ecs_app_desc_t::threads |
Number of threads.
Definition at line 40 of file app.h.
The documentation for this struct was generated from the following file:
- include/flecs/addons/app.h