Blender
V4.3
source
blender
editors
asset
ED_asset_mark_clear.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
9
#pragma once
10
11
struct
AssetMetaData
;
12
struct
bContext
;
13
struct
ID
;
14
struct
Main
;
15
16
namespace
blender::ed::asset
{
17
25
bool
mark_id
(
ID
*
id
);
26
32
void
generate_preview
(
const
bContext
*C,
ID
*
id
);
33
42
bool
clear_id
(
ID
*
id
);
43
54
bool
copy_to_id
(
const
AssetMetaData
*asset_data,
ID
*destination);
55
56
void
pre_save_assets
(
Main
*bmain);
57
58
bool
can_mark_single_from_context
(
const
bContext
*C);
59
60
}
// namespace blender::ed::asset
blender::ed::asset
Definition
ED_asset_catalog.hh:28
blender::ed::asset::copy_to_id
bool copy_to_id(const AssetMetaData *asset_data, ID *destination)
Definition
asset_mark_clear.cc:115
blender::ed::asset::can_mark_single_from_context
bool can_mark_single_from_context(const bContext *C)
Definition
asset_mark_clear.cc:104
blender::ed::asset::clear_id
bool clear_id(ID *id)
Definition
asset_mark_clear.cc:67
blender::ed::asset::mark_id
bool mark_id(ID *id)
Definition
asset_mark_clear.cc:33
blender::ed::asset::generate_preview
void generate_preview(const bContext *C, ID *id)
Definition
asset_mark_clear.cc:57
blender::ed::asset::pre_save_assets
void pre_save_assets(Main *bmain)
Definition
asset_mark_clear.cc:89
AssetMetaData
The meta-data of an asset. By creating and giving this for a data-block (ID.asset_data),...
Definition
DNA_asset_types.h:45
ID
Definition
DNA_ID.h:413
Main
Definition
BKE_main.hh:122
bContext
Definition
blenkernel/intern/context.cc:61
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0