Function ecs_get_path_w_sep_buf

Synopsis

#include <include/flecs.h>

void ecs_get_path_w_sep_buf(const ecs_world_t *world, ecs_entity_t parent, ecs_entity_t child, const char *sep, const char *prefix, ecs_strbuf_t *buf)

Description

Write path identifier to buffer. Same as ecs_get_path_w_sep, but writes result to an ecs_strbuf_t.

Parameters

world - The world.

parent - The entity from which to create the path.

child - The entity to which to create the path.

sep - The separator to use between path elements.

prefix - The initial character to use for root elements.

buf - The buffer to write to.

Source

Line 2714 in include/flecs.h.