Blender V4.3
blender::asset_system::AssetCatalogFilter Class Reference

#include <AS_asset_catalog.hh>

Public Member Functions

bool contains (CatalogID asset_catalog_id) const
 
bool is_known (CatalogID asset_catalog_id) const
 

Protected Member Functions

 AssetCatalogFilter (Set< CatalogID > &&matching_catalog_ids, Set< CatalogID > &&known_catalog_ids)
 

Detailed Description

Filter that can determine whether an asset should be visible or not, based on its catalog ID.

See also
AssetCatalogService::create_catalog_filter()

Definition at line 367 of file AS_asset_catalog.hh.

Constructor & Destructor Documentation

◆ AssetCatalogFilter()

blender::asset_system::AssetCatalogFilter::AssetCatalogFilter ( Set< CatalogID > && matching_catalog_ids,
Set< CatalogID > && known_catalog_ids )
explicitprotected

Definition at line 712 of file asset_system/intern/asset_catalog.cc.

Member Function Documentation

◆ contains()

bool blender::asset_system::AssetCatalogFilter::contains ( CatalogID asset_catalog_id) const

Definition at line 719 of file asset_system/intern/asset_catalog.cc.

◆ is_known()

bool blender::asset_system::AssetCatalogFilter::is_known ( CatalogID asset_catalog_id) const

Definition at line 724 of file asset_system/intern/asset_catalog.cc.

References BLI_uuid_is_nil().


The documentation for this class was generated from the following files: