Function ecs_get_system_ctx

Synopsis

#include <include/flecs/addons/system.h>

FLECS_API void * ecs_get_system_ctx(const ecs_world_t *world, ecs_entity_t system)

Description

Get system context. This operation returns the context pointer set for the system. If the provided entity is not a system, the function will return NULL.

Parameters

world - The world.

system - The system from which to obtain the context.

Returns
The context.

Source

Line 234 in include/flecs/addons/system.h.