Function ecs_query_get_group_ctx

Synopsis

#include <include/flecs.h>

FLECS_API void * ecs_query_get_group_ctx(ecs_query_t *query, uint64_t group_id)

Description

Get context of query group. This operation returns the context of a query group as returned by the on_group_create callback.

Parameters

query - The query.

group_id - The group for which to obtain the context.

Returns
The group context, NULL if the group doesn't exist.

Source

Line 3622 in include/flecs.h.