Function ecs_stage_is_readonly

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_stage_is_readonly(const ecs_world_t *stage)

Description

Test whether the current world object is readonly. This function allows the code to test whether the currently used world object is readonly or whether it allows for writing.

Parameters

world - A pointer to a stage or the world.

Returns
True if the world or stage is readonly.

Source

Line 2840 in include/flecs.h.