Blender V4.3
blender::asset_system Namespace Reference

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< AssetLibraryReferenceall_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 *)
 

Typedef Documentation

◆ AssetCatalogOrderedSet

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.

◆ CatalogFilePath

Definition at line 36 of file AS_asset_catalog.hh.

◆ CatalogID

Definition at line 32 of file AS_asset_catalog.hh.

◆ CatalogPathComponent

Definition at line 33 of file AS_asset_catalog.hh.

◆ MutableAssetCatalogOrderedSet

◆ OwningAssetCatalogMap

Definition at line 37 of file AS_asset_catalog.hh.

Function Documentation

◆ all_library_reference()

◆ all_library_reload_catalogs_if_dirty()

◆ all_valid_asset_library_refs()

◆ asset_definition_default_file_path_from_dir()

◆ copy_catalog_map_into_existing()

◆ essentials_directory_path()

◆ on_blendfile_load()

static void blender::asset_system::on_blendfile_load ( Main * ,
PointerRNA ** ,
const int ,
void *  )
static

◆ operator<<()

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.