![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Used with ecs_app_run(). More...
#include <app.h>
Public Attributes | |
| ecs_ftime_t | target_fps |
| Target FPS. | |
| ecs_ftime_t | delta_time |
| Frame time increment (0 for measured values). | |
| int32_t | threads |
| Number of threads. | |
| int32_t | frames |
| Number of frames to run (0 for infinite). | |
| bool | enable_rest |
| Enables ECS access over HTTP, necessary for the explorer. | |
| bool | enable_stats |
| Periodically collects statistics. | |
| uint16_t | port |
| HTTP port used by REST API. | |
| ecs_app_init_action_t | init |
| If set, the function is run before starting the main loop. | |
| void * | ctx |
| Reserved for custom run and frame actions. | |
Used with ecs_app_run().
| void* ecs_app_desc_t::ctx |
| ecs_ftime_t ecs_app_desc_t::delta_time |
| bool ecs_app_desc_t::enable_rest |
| bool ecs_app_desc_t::enable_stats |
| int32_t ecs_app_desc_t::frames |
| ecs_app_init_action_t ecs_app_desc_t::init |
| ecs_ftime_t ecs_app_desc_t::target_fps |