Blender
V4.5
source
blender
editors
asset
intern
asset_handle.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 "
AS_asset_representation.hh
"
10
11
#include "
DNA_space_types.h
"
12
13
#include "
ED_fileselect.hh
"
14
15
#include "
ED_asset_handle.hh
"
16
17
namespace
blender::ed::asset
{
18
19
asset_system::AssetRepresentation
*
handle_get_representation
(
const
AssetHandle
*
asset
)
20
{
21
return
asset
->file_data->asset;
22
}
23
24
}
// namespace blender::ed::asset
AS_asset_representation.hh
Main runtime representation of an asset.
DNA_space_types.h
ED_asset_handle.hh
ED_fileselect.hh
blender::asset_system::AssetRepresentation
Definition
AS_asset_representation.hh:35
blender::ed::asset
Definition
ED_asset_catalog.hh:33
blender::ed::asset::handle_get_representation
asset_system::AssetRepresentation * handle_get_representation(const AssetHandle *asset)
Definition
asset_handle.cc:19
AssetHandle
Definition
DNA_asset_types.h:213
Generated on
for Blender by
doxygen
1.15.0