6#ifdef FLECS_ENTITY_RANGES
8#ifndef FLECS_ENTITY_RANGES_H
9#define FLECS_ENTITY_RANGES_H
FLECS_API void ecs_entity_range_set(ecs_world_t *world, const ecs_entity_range_t *range)
Set the active entity range.
FLECS_API const ecs_entity_range_t * ecs_entity_range_new(ecs_world_t *world, uint32_t min, uint32_t max)
Create a new entity range.
struct ecs_entity_range_t ecs_entity_range_t
Type that stores an entity id range.
FLECS_API const ecs_entity_range_t * ecs_entity_range_get(const ecs_world_t *world)
Get the currently active entity id range.
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
Type that stores an entity id range.
uint32_t max
Last id in range (inclusive, 0 = unlimited).
uint32_t cur
Last issued id in range.
ecs_vec_t recycled
Recycled entity ids (vec<entity_t>).
uint32_t min
First id in range (inclusive).