Function in ldk_scene_systems.h

ldk_scene_systems_add

Adds a system and allocates its data when registered.

LDK_API bool ldk_scene_systems_add(
 LDKSceneSystems *systems,
 u64 id
);

Parameters

LDKSceneSystems *systems
Scene systems configuration being read or written.
u64 id
Identifier of the target object.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_scene_systems.h

ldk_scene_systems_clear

Stop and unbind owned data instances before releasing their memory. Do not call while the registry is executing a callback.

LDK_API void ldk_scene_systems_clear(LDKSceneSystems *systems);

Parameters

LDKSceneSystems *systems
Scene systems configuration being read or written.
Function in ldk_scene_systems.h

ldk_scene_systems_contains

Test whether the scene systems contains the requested value.

LDK_API bool ldk_scene_systems_contains(
 const LDKSceneSystems *systems,
 u64 id
);

Parameters

const LDKSceneSystems *systems
Scene systems configuration being read or written.
u64 id
Identifier of the target object.

Returns

True when the queried condition holds; false otherwise.

Function in ldk_scene_systems.h

ldk_scene_systems_data_get

Get the scene systems data.

LDK_API void * ldk_scene_systems_data_get(
 const LDKSceneSystems *systems,
 u64 system_id
);

Parameters

const LDKSceneSystems *systems
Scene systems configuration being read or written.
u64 system_id
Identifier of the system.

Returns

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

Function in ldk_scene_systems.h

ldk_scene_systems_remove

Remove the scene systems.

LDK_API bool ldk_scene_systems_remove(
 LDKSceneSystems *systems,
 u64 id
);

Parameters

LDKSceneSystems *systems
Scene systems configuration being read or written.
u64 id
Identifier of the target object.

Returns

True if the operation succeeds; false otherwise.