LDKECS
typedef struct LDKECS{
LDKEntityRegistry entity;
LDKComponentRegistry component;
LDKSystemRegistry system;
void *grouping_internal;
}LDKECS;
typedef struct LDKECS{
LDKEntityRegistry entity;
LDKComponentRegistry component;
LDKSystemRegistry system;
void *grouping_internal;
}LDKECS;
Callback visiting an ECS entity during iteration.
typedef bool(*LDKECSEntityIterFn)(LDKEntity entity, void *user);
entityuserTrue if the operation succeeds; false otherwise.
Initialize the ECS.
LDK_API bool ldk_ecs_initialize(
LDKECS *context,
u32 entity_page_capacity,
u32 entity_initial_pages
);
LDKECS *contextu32 entity_page_capacityu32 entity_initial_pagesTrue if the operation succeeds; false otherwise.
Shut down the ECS.
LDK_API void ldk_ecs_terminate(void);