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

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

Classes

struct  flecs::app_builder
 App builder interface. More...
 

Functions

flecs::app_builder flecs::world::app ()
 Return app builder. More...
 

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 15 of file mixin.inl.