Function ecs_set_entity_generation

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_set_entity_generation(ecs_world_t *world, ecs_entity_t entity_with_generation)

Description

Sets the entity's generation in the world's sparse set. Used for managing manual id pools.

Parameters

world - The world.

entity_with_generation - Entity for which to set the generation with the new generation to set.

Source

Line 1390 in include/flecs.h.