Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Enabling & Disabling
Collaboration diagram for Enabling & Disabling:

Macros

#define ecs_enable_component(world, entity, T, enable)    ecs_enable_id(world, entity, ecs_id(T), enable)
 
#define ecs_is_enabled_component(world, entity, T)    ecs_is_enabled_id(world, entity, ecs_id(T))
 
#define ecs_enable_pair(world, entity, First, second, enable)    ecs_enable_id(world, entity, ecs_pair(ecs_id(First), second), enable)
 
#define ecs_is_enabled_pair(world, entity, First, second)    ecs_is_enabled_id(world, entity, ecs_pair(ecs_id(First), second))
 

Detailed Description

Macro Definition Documentation

◆ ecs_enable_component

#define ecs_enable_component ( world,
entity,
T,
enable )    ecs_enable_id(world, entity, ecs_id(T), enable)

Definition at line 552 of file flecs_c.h.

◆ ecs_enable_pair

#define ecs_enable_pair ( world,
entity,
First,
second,
enable )    ecs_enable_id(world, entity, ecs_pair(ecs_id(First), second), enable)

Definition at line 558 of file flecs_c.h.

◆ ecs_is_enabled_component

#define ecs_is_enabled_component ( world,
entity,
T )    ecs_is_enabled_id(world, entity, ecs_id(T))

Definition at line 555 of file flecs_c.h.

◆ ecs_is_enabled_pair

#define ecs_is_enabled_pair ( world,
entity,
First,
second )    ecs_is_enabled_id(world, entity, ecs_pair(ecs_id(First), second))

Definition at line 561 of file flecs_c.h.