Flecs: ecs_entity_range_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
ecs_entity_range_t Struct Reference
C API » Core » API types » Miscellaneous types

Type that stores an entity id range. More...

`#include <flecs.h>`

## Public Attributes
uint32_t | min
| First id in range (inclusive).
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>).

## Detailed Description

Type that stores an entity id range.

Returned by ecs_entity_range_new(), used with ecs_entity_range_set().

Definition at line 1574 of file flecs.h.

## Member Data Documentation

## ◆ cur

uint32_t ecs_entity_range_t::cur

Last issued id in range.

Definition at line 1577 of file flecs.h.

## ◆ max

uint32_t ecs_entity_range_t::max

Last id in range (inclusive, 0 = unlimited).

Definition at line 1576 of file flecs.h.

## ◆ min

uint32_t ecs_entity_range_t::min

First id in range (inclusive).

Definition at line 1575 of file flecs.h.

## ◆ recycled

ecs_vec_t ecs_entity_range_t::recycled

Recycled entity ids (vec<entity_t>).

Definition at line 1578 of file flecs.h.

The documentation for this struct was generated from the following file:

- include/flecs.h