Blender V5.3
on_disk_library.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "AS_asset_library.hh"
12
13namespace blender::asset_system {
14
16 public:
20 bool is_read_only);
21
22 std::optional<AssetLibraryReference> library_reference() const override;
23 std::optional<eAssetImportMethod> import_method() const override;
24 void refresh_catalogs() override;
25
26 virtual bool is_enabled() const;
27};
28
29} // namespace blender::asset_system
eAssetLibraryType library_type() const
AssetLibrary(eAssetLibraryType library_type, bool is_read_only, StringRef name="", StringRef root_path="")
std::optional< eAssetImportMethod > import_method() const override
OnDiskAssetLibrary(eAssetLibraryType library_type, StringRef name, StringRef root_path, bool is_read_only)
std::optional< AssetLibraryReference > library_reference() const override