Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches

Optional addon for running the main application loop. More...

Collaboration diagram for App:

Classes

struct  flecs::app_builder
 App builder interface. More...
 
flecs::app_builder flecs::world::app ()
 Return app builder.
 

Detailed Description

Optional addon for running the main application loop.

Function Documentation

◆ app()

Return 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.

Definition at line 19 of file mixin.inl.