Blender V5.3
runtime_library.cc
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#include "runtime_library.hh"
10
11namespace blender::asset_system {
12
18
19std::optional<AssetLibraryReference> RuntimeAssetLibrary::library_reference() const
20{
21 AssetLibraryReference library_ref{};
22 library_ref.type = ASSET_LIBRARY_LOCAL;
23 library_ref.custom_library_index = -1;
24 return library_ref;
25}
26
27std::optional<eAssetImportMethod> RuntimeAssetLibrary::import_method() const
28{
29 return {};
30}
31
32} // namespace blender::asset_system
AssetLibrary(eAssetLibraryType library_type, bool is_read_only, StringRef name="", StringRef root_path="")
std::optional< AssetLibraryReference > library_reference() const override
std::optional< eAssetImportMethod > import_method() const override
@ ASSET_LIBRARY_LOCAL