Function in ldk_ecs.h

ldk_ecs_entity_name_get

Get the ECS entity name.

LDK_API const char * ldk_ecs_entity_name_get(LDKEntity entity);

Parameters

LDKEntity entity
Entity to inspect or modify.

Returns

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

Function in ldk_ecs.h

ldk_ecs_entity_name_hash_get

Get the stored hash of an entity name.

LDK_API u64 ldk_ecs_entity_name_hash_get(LDKEntity entity);

Parameters

LDKEntity entity
Entity to inspect or modify.

Returns

Computed identifier or hash.

Function in ldk_ecs.h

ldk_ecs_entity_name_hash_set

Assign the stored hash of an entity name.

LDK_API bool ldk_ecs_entity_name_hash_set(
 LDKEntity entity,
 u64 hash
);

Parameters

LDKEntity entity
Entity to inspect or modify.
u64 hash
Hash used by this operation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_ecs.h

ldk_ecs_entity_name_set

Set the ECS entity name.

LDK_API bool ldk_ecs_entity_name_set(
 LDKEntity entity,
 const char *name
);

Parameters

LDKEntity entity
Entity to inspect or modify.
const char *name
Name identifying the object or setting.

Returns

True if the operation succeeds; false otherwise.