Function in ldk_asset_manager.h

ldk_asset_manager_texture_atlas_load_shared

Load or reuse shared the asset manager texture atlas.

LDK_API LDKAssetTextureAtlas ldk_asset_manager_texture_atlas_load_shared(
 LDKAssetManager *manager,
 const char *path
);

Parameters

LDKAssetManager *manager
Asset manager that owns or resolves the asset.
const char *path
Path identifying the file or resource.

Returns

Handle to the requested object or resource.

Function in ldk_asset_manager.h

ldk_asset_manager_texture_atlas_reload

Reload the asset manager texture atlas.

LDK_API bool ldk_asset_manager_texture_atlas_reload(
 LDKAssetManager *manager,
 const char *path
);

Parameters

LDKAssetManager *manager
Asset manager that owns or resolves the asset.
const char *path
Path identifying the file or resource.

Returns

True if the operation succeeds; false otherwise.