Blender V5.0
ED_asset_import.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
11struct ID;
12struct Main;
13namespace blender::asset_system {
15}
16
17namespace blender::ed::asset {
18
27 Main &bmain,
28 const asset_system::AssetRepresentation &asset,
29 const std::optional<eAssetImportMethod> import_method = std::nullopt);
30
31} // namespace blender::ed::asset
struct ID ID
ID * asset_local_id_ensure_imported(Main &bmain, const asset_system::AssetRepresentation &asset, const std::optional< eAssetImportMethod > import_method=std::nullopt)
Definition DNA_ID.h:414