Flecs: App
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
App
C++ API » Addons

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 an app builder.

## Detailed Description

Optional addon for running the main application loop.

## Function Documentation

## ◆ app()

flecs::app_builder app | ( |  | ) |
| inline

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.

Definition at line 20 of file world.hpp.