Struct in ldk_asset_source.h

LDKAssetSourcePackage

typedef struct LDKAssetSourcePackage LDKAssetSourcePackage;
Function in ldk_asset_source.h

ldk_asset_source_package_open

Attach a BOX package as an asset source.

LDK_API LDKAssetSourcePackage * ldk_asset_source_package_open(
 LDKAssetSource *source,
 const char *path
);

Parameters

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

Returns

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

Function in ldk_asset_source.h

ldk_asset_source_package_path_get

Get the asset source package path.

LDK_API const XFSPath * ldk_asset_source_package_path_get(
 const LDKAssetSource *source,
 const LDKPackage *package
);

Parameters

const LDKAssetSource *source
Source object or source data for this operation.
const LDKPackage *package
Opened package used by this operation.

Returns

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