Blender V5.3
ED_asset_filter.hh File Reference
#include <optional>
#include "DNA_listBase.h"
#include "BLI_function_ref.hh"
#include "BLI_multi_value_map.hh"
#include "BLI_vector.hh"
#include "AS_asset_catalog_path.hh"
#include "AS_asset_catalog_tree.hh"

Go to the source code of this file.

Classes

struct  blender::ed::asset::AssetFilterSettings
struct  blender::ed::asset::AssetItemTree

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::asset_system
namespace  blender::ed
namespace  blender::ed::asset

Functions

bool blender::ed::asset::filter_matches_asset (const AssetFilterSettings *filter, const asset_system::AssetRepresentation &asset)
asset_system::AssetCatalogTree blender::ed::asset::build_filtered_catalog_tree (const asset_system::AssetLibrary &library, const AssetLibraryReference &library_ref, FunctionRef< bool(const asset_system::AssetRepresentation &)> is_asset_visible_fn)
AssetItemTree blender::ed::asset::build_filtered_all_catalog_tree (const AssetLibraryReference &library_ref, const bContext &C, const AssetFilterSettings &filter_settings, FunctionRef< bool(const AssetMetaData &)> meta_data_filter={}, const std::optional< StringRef > skip_prefix=std::nullopt)

Detailed Description

Functions for filtering assets.

Definition in file ED_asset_filter.hh.