Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Component id flags.

Id flags are bits that can be set on an id (ecs_id_t). More...

Macros

#define ECS_ID_FLAG_BIT   (1ull << 63)
 Bit added to flags to differentiate between id flags and generation. More...
 

Variables

const ecs_id_t ECS_PAIR
 Indicates that the id is a pair.
 
const ecs_id_t ECS_OVERRIDE
 Automatically override component when it is inherited.
 
const ecs_id_t ECS_TOGGLE
 Adds bitset to storage which allows component to be enabled/disabled.
 
const ecs_id_t ECS_AND
 Include all components from entity to which AND is applied.
 

Detailed Description

Id flags are bits that can be set on an id (ecs_id_t).

Macro Definition Documentation

◆ ECS_ID_FLAG_BIT

#define ECS_ID_FLAG_BIT   (1ull << 63)

Bit added to flags to differentiate between id flags and generation.

Definition at line 1051 of file flecs.h.