|
Blender V4.3
|
Namespaces | |
| namespace | tests |
| namespace | utils |
Classes | |
| class | AllAssetLibrary |
| class | AssetCatalog |
| class | AssetCatalogCollection |
| class | AssetCatalogDefinitionFile |
| class | AssetCatalogFilter |
| struct | AssetCatalogLessThan |
| class | AssetCatalogPath |
| class | AssetCatalogService |
| class | AssetCatalogTree |
| class | AssetCatalogTreeItem |
| class | AssetLibrary |
| class | AssetLibraryService |
| class | AssetRepresentation |
| class | EssentialsAssetLibrary |
| class | OnDiskAssetLibrary |
| class | PreferencesOnDiskAssetLibrary |
| class | RuntimeAssetLibrary |
Typedefs | |
| using | CatalogID = bUUID |
| using | CatalogPathComponent = std::string |
| using | CatalogFilePath = std::string |
| using | OwningAssetCatalogMap = Map<CatalogID, std::unique_ptr<AssetCatalog>> |
| using | AssetCatalogOrderedSet = std::set<const AssetCatalog *, AssetCatalogLessThan> |
| using | MutableAssetCatalogOrderedSet = std::set<AssetCatalog *, AssetCatalogLessThan> |
Functions | |
| std::ostream & | operator<< (std::ostream &stream, const AssetCatalogPath &path_to_append) |
| Vector< AssetLibraryReference > | all_valid_asset_library_refs () |
| AssetLibraryReference | all_library_reference () |
| void | all_library_reload_catalogs_if_dirty () |
| StringRefNull | essentials_directory_path () |
| static std::string | asset_definition_default_file_path_from_dir (StringRef asset_library_root) |
| static void | copy_catalog_map_into_existing (const OwningAssetCatalogMap &source, OwningAssetCatalogMap &dest, AssetCatalogCollection::OnDuplicateCatalogIdFn on_duplicate_items) |
| static void | on_blendfile_load (Main *, PointerRNA **, const int, void *) |
| using blender::asset_system::AssetCatalogOrderedSet = std::set<const AssetCatalog *, AssetCatalogLessThan> |
Set that stores catalogs ordered by (path, UUID). Being a set, duplicates are removed. The catalog's simple name is ignored in this.
Definition at line 359 of file AS_asset_catalog.hh.
| using blender::asset_system::CatalogFilePath = std::string |
Definition at line 36 of file AS_asset_catalog.hh.
Definition at line 32 of file AS_asset_catalog.hh.
| using blender::asset_system::CatalogPathComponent = std::string |
Definition at line 33 of file AS_asset_catalog.hh.
| using blender::asset_system::MutableAssetCatalogOrderedSet = std::set<AssetCatalog *, AssetCatalogLessThan> |
Definition at line 360 of file AS_asset_catalog.hh.
| using blender::asset_system::OwningAssetCatalogMap = Map<CatalogID, std::unique_ptr<AssetCatalog>> |
Definition at line 37 of file AS_asset_catalog.hh.
| AssetLibraryReference blender::asset_system::all_library_reference | ( | ) |
Definition at line 352 of file asset_library.cc.
References ASSET_LIBRARY_ALL, and AssetLibraryReference::custom_library_index.
Referenced by blender::ed::object::all_loading_finished(), blender::ed::space_node::all_loading_finished(), blender::ed::geometry::build_catalog_tree(), blender::ed::object::build_catalog_tree(), blender::ed::space_node::build_catalog_tree(), blender::ed::geometry::catalog_assets_draw(), blender::ed::asset::list::clear_all_library(), blender::ed::asset::shelf::create_shelf_from_type(), blender::ed::asset::find_asset_from_weak_ref(), blender::ed::space_node::gather_search_link_ops_for_all_assets(), blender::ed::sculpt_paint::refresh_asset_library(), blender::ed::object::ui_template_modifier_asset_menu_items(), and blender::ed::geometry::ui_template_node_operator_asset_menu_items().
| void blender::asset_system::all_library_reload_catalogs_if_dirty | ( | ) |
Definition at line 360 of file asset_library.cc.
References blender::asset_system::AssetLibraryService::get(), and blender::asset_system::AssetLibraryService::reload_all_library_catalogs_if_dirty().
Referenced by blender::ed::geometry::build_catalog_tree(), blender::ed::object::build_catalog_tree(), and blender::ed::space_node::build_catalog_tree().
| Vector< AssetLibraryReference > blender::asset_system::all_valid_asset_library_refs | ( | ) |
Definition at line 325 of file asset_library.cc.
References ASSET_LIBRARY_CUSTOM, ASSET_LIBRARY_ESSENTIALS, ASSET_LIBRARY_LOCAL, BLI_is_dir(), AssetLibraryReference::custom_library_index, LISTBASE_FOREACH_INDEX, and result.
Referenced by blender::asset_system::AssetLibraryService::get_asset_library_all(), and blender::ed::sculpt_paint::library_to_library_ref().
|
static |
Definition at line 292 of file asset_system/intern/asset_catalog.cc.
References BLI_path_join, blender::StringRefBase::data(), blender::asset_system::AssetCatalogService::DEFAULT_CATALOG_FILENAME, and PATH_MAX.
Referenced by blender::asset_system::AssetCatalogService::find_suitable_cdf_path_for_writing(), and blender::asset_system::AssetCatalogService::load_directory_recursive().
|
static |
Definition at line 31 of file asset_catalog_collection.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values().
Referenced by blender::asset_system::AssetCatalogCollection::add_catalogs_from_existing(), and blender::asset_system::AssetCatalogCollection::copy_catalog_map().
| StringRefNull blender::asset_system::essentials_directory_path | ( | ) |
Definition at line 26 of file asset_library_essentials.cc.
References BKE_appdir_folder_id(), and BLENDER_SYSTEM_DATAFILES.
Referenced by fileselect_refresh_asset_params(), blender::asset_system::AssetLibraryService::get_asset_library(), blender::asset_system::AssetLibraryService::resolve_asset_weak_reference_to_library_path(), and blender::asset_system::AssetLibraryService::root_path_from_library_ref().
|
static |
Definition at line 472 of file asset_library_service.cc.
References blender::asset_system::AssetLibraryService::destroy().
Referenced by blender::asset_system::AssetLibraryService::app_handler_register().
| std::ostream & blender::asset_system::operator<< | ( | std::ostream & | stream, |
| const AssetCatalogPath & | path_to_append ) |
Output the path as string.
Definition at line 96 of file asset_catalog_path.cc.