![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Optional addon for running the main application loop. More...
Classes | |
| struct | flecs::app_builder |
| App builder interface. More... | |
| flecs::app_builder | flecs::world::app () |
| Return an app builder. | |
Optional addon for running the main application loop.
| flecs::app_builder app | ( | ) |
Return an app builder.
The app builder is a convenience wrapper around a loop that runs world::progress(). An app allows for writing platform-agnostic code, as it provides hooks to modules for overtaking the main loop, which is required for frameworks like Emscripten.