49 parent = parent / component_name;
78 if (std::optional<AssetLibraryReference> library_ref =
79 asset.owner_asset_library().library_reference())
Main runtime representation of an asset.
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void iterate_components(ComponentIteratorFn callback) const
AssetCatalog * find_catalog_by_path(const AssetCatalogPath &path) const
AssetCatalog * create_catalog(const AssetCatalogPath &catalog_path)
void tag_has_unsaved_changes(AssetCatalog *edited_catalog=nullptr)
AssetCatalogService & catalog_service() const
AssetLibraryReference all_library_reference()
void clear(const AssetLibraryReference *library_reference, const bContext *C)
void refresh_asset_library(const bContext *C, const AssetLibraryReference &library_ref)
void refresh_asset_library_from_asset(const bContext *C, const blender::asset_system::AssetRepresentation &asset)
AssetLibraryReference user_library_to_library_ref(const bUserAssetLibrary &user_library)
blender::asset_system::AssetCatalog & library_ensure_catalogs_in_path(blender::asset_system::AssetLibrary &library, const blender::asset_system::AssetCatalogPath &path)
static asset_system::AssetCatalog & library_ensure_catalog(asset_system::AssetLibrary &library, const asset_system::AssetCatalogPath &path)