Function ecs_app_run

Synopsis

#include <include/flecs/addons/app.h>

FLECS_API int ecs_app_run(ecs_world_t *world, ecs_app_desc_t *desc)

Description

Run application. This will run the application with the parameters specified in desc. After the application quits (ecs_quit is called) the world will be cleaned up.

If a custom run action is set, it will be invoked by this operation. The default run action calls the frame action in a loop until it returns a non-zero value.

Parameters

world - The world.

desc - Application parameters.

Mentioned in

Source

Line 65 in include/flecs/addons/app.h.