Blender V5.0
ED_asset.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::asset

Typedefs

using BIFIconID = int

Functions

void blender::ed::asset::asset_tooltip (const asset_system::AssetRepresentation &asset, uiTooltipData &tip, const bool include_name)
BIFIconID blender::ed::asset::asset_preview_icon_id (const asset_system::AssetRepresentation &asset)
BIFIconID blender::ed::asset::asset_preview_or_icon (const asset_system::AssetRepresentation &asset)
void blender::ed::asset::operatortypes_asset ()
const bUserAssetLibraryblender::ed::asset::get_asset_library_from_opptr (PointerRNA &ptr)
AssetLibraryReference blender::ed::asset::get_asset_library_ref_from_opptr (PointerRNA &ptr)
void blender::ed::asset::visit_library_catalogs_catalog_for_search (const Main &bmain, const AssetLibraryReference lib, const StringRef edit_text, const FunctionRef< void(StringPropertySearchVisitParams)> visit_fn)

Detailed Description

The public API for assets is defined in dedicated headers. This is a utility file that just includes all of these.

Definition in file ED_asset.hh.

Typedef Documentation

◆ BIFIconID

using BIFIconID = int

From UI_resources.hh.

Type that fits all compile time and dynamic icon-ids.

Definition at line 28 of file ED_asset.hh.