LDKAssetIterFn
Callback invoked for each live asset during enumeration.
typedef bool(*LDKAssetIterFn)(LDKAssetHandle asset, LDKAssetInfo *info, void *user);
Parameters
asset
- Asset handle to inspect or modify.
info
- Info used by this operation.
user
- Opaque caller-supplied data passed to the callback.
Returns
True if the operation succeeds; false otherwise.
ldk_asset_handle_is_alive
Check whether the asset handle refers to a live resource.
LDK_API bool ldk_asset_handle_is_alive(
LDKAssetManager *manager,
LDKAssetHandle asset
);
Returns
True when the queried condition holds; false otherwise.
ldk_asset_handle_null
Return an invalid handle for the asset handle.
LDK_API LDKAssetHandle ldk_asset_handle_null(void);
Returns
An invalid or empty handle.