#include <include/flecs.h> FLECS_API void ecs_run_post_frame(ecs_world_t *world, ecs_fini_action_t action, void *ctx)
Register action to be executed once after frame. Post frame actions are typically used for calling operations that cannot be invoked during iteration, such as changing the number of threads.
world- The world.
action- The function to execute.
ctx- Userdata to pass to the function