Function in ldk_asset_source.h

ldk_asset_source_find

Find an asset by logical path in the source configuration.

LDK_API bool ldk_asset_source_find(
 const LDKAssetSource *source,
 const char *path,
 LDKAssetSourceFile *out_file
);

Parameters

const LDKAssetSource *source
Source object or source data for this operation.
const char *path
Path identifying the file or resource.
LDKAssetSourceFile *out_file
Receives the resulting file.

Returns

True if the operation succeeds; false otherwise.