Function in ldk_asset_source.h

ldk_asset_path_set

Set the asset path.

LDK_API bool ldk_asset_path_set(
 LDKAssetPath *out_path,
 const char *path
);

Parameters

LDKAssetPath *out_path
Receives the resulting path.
const char *path
Path identifying the file or resource.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_asset_source.h

ldk_asset_source_runtree_set

Set the asset source runtree.

LDK_API bool ldk_asset_source_runtree_set(
 LDKAssetSource *source,
 const char *runtree_path
);

Parameters

LDKAssetSource *source
Source object or source data for this operation.
const char *runtree_path
Path of the runtree.

Returns

True if the operation succeeds; false otherwise.