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.
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.
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.
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.
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.