Blender
V5.0
source
blender
editors
asset
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
11
struct
ID
;
12
struct
Main
;
13
namespace
blender::asset_system
{
14
class
AssetRepresentation
;
15
}
16
17
namespace
blender::ed::asset
{
18
26
ID
*
asset_local_id_ensure_imported
(
27
Main &bmain,
28
const
asset_system::AssetRepresentation &asset,
29
const
std::optional<eAssetImportMethod> import_method = std::nullopt);
30
31
}
// namespace blender::ed::asset
ID
struct ID ID
blender::asset_system::AssetRepresentation
Definition
AS_asset_representation.hh:35
blender::asset_system
Definition
AS_asset_catalog.hh:24
blender::ed::asset
Definition
ED_asset_catalog.hh:33
blender::ed::asset::asset_local_id_ensure_imported
ID * asset_local_id_ensure_imported(Main &bmain, const asset_system::AssetRepresentation &asset, const std::optional< eAssetImportMethod > import_method=std::nullopt)
Definition
asset_import.cc:21
ID
Definition
DNA_ID.h:414
Main
Definition
BKE_main.hh:160
Generated on
for Blender by
doxygen
1.16.1