Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_entity_range_t Struct Reference

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 1548 of file flecs.h.

Member Data Documentation

◆ cur

uint32_t ecs_entity_range_t::cur

Last issued id in range.

Definition at line 1551 of file flecs.h.

◆ max

uint32_t ecs_entity_range_t::max

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

Definition at line 1550 of file flecs.h.

◆ min

uint32_t ecs_entity_range_t::min

First id in range (inclusive).

Definition at line 1549 of file flecs.h.

◆ recycled

ecs_vec_t ecs_entity_range_t::recycled

Recycled entity ids (vec<entity_t>).

Definition at line 1552 of file flecs.h.


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