Function in ldk_ecs.h

ldk_ecs_entity_create

Create the ECS entity.

LDK_API LDKEntity ldk_ecs_entity_create(void);

Returns

The requested value.

Function in ldk_ecs.h

ldk_ecs_entity_destroy

Destroy the ECS entity.

LDK_API void ldk_ecs_entity_destroy(LDKEntity entity);

Parameters

LDKEntity entity
Entity to inspect or modify.
Function in ldk_ecs.h

ldk_ecs_entity_foreach

Visit active ECS entities using a caller-provided callback.

LDK_API bool ldk_ecs_entity_foreach(
 LDKECSEntityIterFn fn,
 void *user
);

Parameters

LDKECSEntityIterFn fn
Callback invoked by this operation.
void *user
Opaque caller-supplied data passed to the callback.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_ecs.h

ldk_ecs_entity_registry_get

Get the ECS entity registry.

LDK_API LDKEntityRegistry * ldk_ecs_entity_registry_get(void);

Returns

Pointer to the requested object or data; NULL when unavailable.