ldk_asset_manager_texture_atlas_create
Create the asset manager texture atlas.
LDK_API LDKAssetTextureAtlas ldk_asset_manager_texture_atlas_create(
LDKAssetManager *manager,
const LDKTextureAtlas *atlas
);
Parameters
LDKAssetManager *manager
- Asset manager that owns or resolves the asset.
const LDKTextureAtlas *atlas
- Texture atlas being inspected or modified.
Returns
Handle to the requested object or resource.
ldk_asset_manager_texture_atlas_get_const
Get read-only access to the asset manager texture atlas.
LDK_API const LDKAssetTextureAtlasData * ldk_asset_manager_texture_atlas_get_const(
LDKAssetManager *manager,
LDKAssetTextureAtlas asset
);
Returns
Pointer to the requested object or data; NULL when unavailable.
ldk_asset_manager_texture_atlas_is_alive
Check whether the asset manager texture atlas refers to a live resource.
LDK_API bool ldk_asset_manager_texture_atlas_is_alive(
LDKAssetManager *manager,
LDKAssetTextureAtlas asset
);
Returns
True when the queried condition holds; false otherwise.
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.
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.
ldk_asset_manager_texture_atlas_unload
Unload the asset manager texture atlas.
LDK_API void ldk_asset_manager_texture_atlas_unload(
LDKAssetManager *manager,
LDKAssetTextureAtlas asset
);
ldk_asset_texture_atlas_null
Return an invalid handle for the asset texture atlas.
LDK_API LDKAssetTextureAtlas ldk_asset_texture_atlas_null(void);
Returns
An invalid or empty handle.