Blender V5.0
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
17
18std::optional<AssetLibraryReference> RuntimeAssetLibrary::library_reference() const
19{
20 AssetLibraryReference library_ref{};
21 library_ref.type = ASSET_LIBRARY_LOCAL;
22 library_ref.custom_library_index = -1;
23 return library_ref;
24}
25
26} // namespace blender::asset_system
@ ASSET_LIBRARY_LOCAL
AssetLibrary(eAssetLibraryType library_type, StringRef name="", StringRef root_path="")
std::optional< AssetLibraryReference > library_reference() const override