Flecs v4.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Collaboration diagram for Entity Names:

Macros

#define ecs_lookup_from(world, parent, path)    ecs_lookup_path_w_sep(world, parent, path, ".", NULL, true)
 Lookup an entity from a parent.
 
#define ecs_get_path_from(world, parent, child)    ecs_get_path_w_sep(world, parent, child, ".", NULL)
 Get path from a parent.
 
#define ecs_get_path(world, child)    ecs_get_path_w_sep(world, 0, child, ".", NULL)
 Get path from root.
 
#define ecs_get_path_buf(world, child, buf)    ecs_get_path_w_sep_buf(world, 0, child, ".", NULL, buf, false)
 Get path from root, write to buffer.
 
#define ecs_new_from_path(world, parent, path)    ecs_new_from_path_w_sep(world, parent, path, ".", NULL)
 Create a new entity from a path.
 
#define ecs_add_path(world, entity, parent, path)    ecs_add_path_w_sep(world, entity, parent, path, ".", NULL)
 Add a path to an entity.
 
#define ecs_add_fullpath(world, entity, path)    ecs_add_path_w_sep(world, entity, 0, path, ".", NULL)
 Add a full path to an entity.
 

Detailed Description

Macro Definition Documentation

◆ ecs_add_fullpath

#define ecs_add_fullpath ( world,
entity,
path )    ecs_add_path_w_sep(world, entity, 0, path, ".", NULL)

Add a full path to an entity.

Definition at line 617 of file flecs_c.h.

◆ ecs_add_path

#define ecs_add_path ( world,
entity,
parent,
path )    ecs_add_path_w_sep(world, entity, parent, path, ".", NULL)

Add a path to an entity.

Definition at line 613 of file flecs_c.h.

◆ ecs_get_path

#define ecs_get_path ( world,
child )    ecs_get_path_w_sep(world, 0, child, ".", NULL)

Get path from root.

Definition at line 601 of file flecs_c.h.

◆ ecs_get_path_buf

#define ecs_get_path_buf ( world,
child,
buf )    ecs_get_path_w_sep_buf(world, 0, child, ".", NULL, buf, false)

Get path from root, write to buffer.

Definition at line 605 of file flecs_c.h.

◆ ecs_get_path_from

#define ecs_get_path_from ( world,
parent,
child )    ecs_get_path_w_sep(world, parent, child, ".", NULL)

Get path from a parent.

Definition at line 597 of file flecs_c.h.

◆ ecs_lookup_from

#define ecs_lookup_from ( world,
parent,
path )    ecs_lookup_path_w_sep(world, parent, path, ".", NULL, true)

Lookup an entity from a parent.

Definition at line 593 of file flecs_c.h.

◆ ecs_new_from_path

#define ecs_new_from_path ( world,
parent,
path )    ecs_new_from_path_w_sep(world, parent, path, ".", NULL)

Create a new entity from a path.

Definition at line 609 of file flecs_c.h.