34 if (!library_definition) {
52 return user_library_.user_asset_library();
58 if (!library_definition) {
68 if (!library_definition) {
78 if (!library_definition) {
#define BLI_assert_unreachable()
StringRefNull name() const
OnDiskAssetLibrary(eAssetLibraryType library_type, StringRef name, StringRef root_path, bool is_read_only)
bool use_relative_paths() const override
bool is_enabled() const override
PreferencesOnDiskAssetLibrary(const bUserAssetLibrary &user_asset_library)
const bUserAssetLibrary * user_asset_library() const override
std::optional< eAssetImportMethod > import_method() const override
std::optional< AssetLibraryReference > library_reference() const override
@ ASSET_LIBRARY_RELATIVE_PATH
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
bool BKE_preferences_asset_library_is_available(const struct UserDef *userdef, const struct bUserAssetLibrary *library) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT