Blender V5.0
blender::ed::asset_browser Namespace Reference

Classes

class  AssetCatalogTreeView
class  AssetCatalogTreeViewItem
class  AssetCatalogDragController
class  AssetCatalogDropTarget
class  AssetCatalogTreeViewAllItem
class  AssetCatalogTreeViewUnassignedItem
class  AssetCatalogFilterSettings

Functions

AssetCatalogFilterSettingsfile_create_asset_catalog_filter_settings ()
void file_delete_asset_catalog_filter_settings (AssetCatalogFilterSettings **filter_settings)
bool file_set_asset_catalog_filter_settings (AssetCatalogFilterSettings *filter_settings, eFileSel_Params_AssetCatalogVisibility catalog_visibility, const ::bUUID &catalog_id)
void file_ensure_updated_catalog_filter_data (AssetCatalogFilterSettings *filter_settings, const asset_system::AssetLibrary *asset_library)
bool file_is_asset_visible_in_catalog_filter_settings (const AssetCatalogFilterSettings *filter_settings, const AssetMetaData *asset_data)
void file_create_asset_catalog_tree_view_in_layout (const bContext *C, asset_system::AssetLibrary *asset_library, uiLayout *layout, SpaceFile *space_file, FileAssetSelectParams *params)

Function Documentation

◆ file_create_asset_catalog_filter_settings()

AssetCatalogFilterSettings * blender::ed::asset_browser::file_create_asset_catalog_filter_settings ( )

◆ file_create_asset_catalog_tree_view_in_layout()

void blender::ed::asset_browser::file_create_asset_catalog_tree_view_in_layout ( const bContext * C,
asset_system::AssetLibrary * asset_library,
uiLayout * layout,
SpaceFile * space_file,
FileAssetSelectParams * params )

◆ file_delete_asset_catalog_filter_settings()

void blender::ed::asset_browser::file_delete_asset_catalog_filter_settings ( AssetCatalogFilterSettings ** filter_settings)

Definition at line 704 of file asset_catalog_tree_view.cc.

◆ file_ensure_updated_catalog_filter_data()

◆ file_is_asset_visible_in_catalog_filter_settings()

◆ file_set_asset_catalog_filter_settings()

bool blender::ed::asset_browser::file_set_asset_catalog_filter_settings ( AssetCatalogFilterSettings * filter_settings,
eFileSel_Params_AssetCatalogVisibility catalog_visibility,
const ::bUUID & catalog_id )
Returns
True if the file list should update its filtered results (e.g. because filtering parameters changed).

Definition at line 710 of file asset_catalog_tree_view.cc.

References blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_id, blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_visibility, BLI_uuid_equal(), and FILE_SHOW_ASSETS_FROM_CATALOG.