Function ecs_get_stage_id

Synopsis

#include <include/flecs.h>

FLECS_API int32_t ecs_get_stage_id(const ecs_world_t *world)

Description

Get current stage id. The stage id can be used by an application to learn about which stage it is using, which typically corresponds with the worker thread id.

Parameters

world - The world.

Returns
The stage id.

Source

Line 3224 in include/flecs.h.