Function ecs_ref_update

Synopsis

#include <include/flecs.h>

FLECS_API void ecs_ref_update(const ecs_world_t *world, ecs_ref_t *ref)

Description

Update ref. Ensures contents of ref are up to date. Same as ecs_ref_get_id, but does not return pointer to component id.

Parameters

world - The world.

ref - The ref.

Source

Line 2032 in include/flecs.h.