Blender V5.0
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:
18 StringRef name = "",
19 StringRef root_path = "");
20
21 std::optional<AssetLibraryReference> library_reference() const override;
22 void refresh_catalogs() override;
23};
24
25} // namespace blender::asset_system
eAssetLibraryType
eAssetLibraryType library_type() const
AssetLibrary(eAssetLibraryType library_type, StringRef name="", StringRef root_path="")
OnDiskAssetLibrary(eAssetLibraryType library_type, StringRef name="", StringRef root_path="")
std::optional< AssetLibraryReference > library_reference() const override