Blender
V3.3
|
Go to the source code of this file.
Typedefs | |
using | AssetListIterFn = blender::FunctionRef< bool(AssetHandle)> |
Functions | |
std::string | ED_assetlist_asset_filepath_get (const bContext *C, const AssetLibraryReference &library_reference, const AssetHandle &asset_handle) |
void | ED_assetlist_iterate (const AssetLibraryReference &library_reference, AssetListIterFn fn) |
using AssetListIterFn = blender::FunctionRef<bool(AssetHandle)> |
Definition at line 23 of file ED_asset_list.hh.
std::string ED_assetlist_asset_filepath_get | ( | const bContext * | C, |
const AssetLibraryReference & | library_reference, | ||
const AssetHandle & | asset_handle | ||
) |
Definition at line 472 of file asset_list.cc.
References assetlist_library_path_from_sfile_get_hack(), BLI_join_dirfile(), C, ED_asset_handle_get_local_id(), ED_asset_handle_get_metadata(), ED_assetlist_library_path(), AssetHandle::file_data, FILE_MAX_LIBEXTRA, and FileDirEntry::relpath.
Referenced by ED_asset_handle_get_full_library_path().
void ED_assetlist_iterate | ( | const AssetLibraryReference & | library_reference, |
AssetListIterFn | fn | ||
) |
Definition at line 447 of file asset_list.cc.
References blender::ed::asset::AssetList::iterate(), and blender::ed::asset::AssetListStorage::lookup_list().
Referenced by asset_view_template_refresh_asset_collection().