Blender
V5.0
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
8
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
ID
struct ID ID
AssetMetaData
struct AssetMetaData AssetMetaData
The meta-data of an asset. By creating and giving this for a data-block (ID.asset_data),...
Definition
asset.cc:49
C
#define C
Definition
RandGen.cpp:29
blender::ed::asset
Definition
ED_asset_catalog.hh:33
blender::ed::asset::copy_to_id
bool copy_to_id(const AssetMetaData *asset_data, ID *destination)
Definition
asset_mark_clear.cc:122
blender::ed::asset::can_mark_single_from_context
bool can_mark_single_from_context(const bContext *C)
Definition
asset_mark_clear.cc:111
blender::ed::asset::clear_id
bool clear_id(ID *id)
Definition
asset_mark_clear.cc:74
blender::ed::asset::mark_id
bool mark_id(ID *id)
Definition
asset_mark_clear.cc:34
blender::ed::asset::generate_preview
void generate_preview(const bContext *C, ID *id)
Definition
asset_mark_clear.cc:58
blender::ed::asset::pre_save_assets
void pre_save_assets(Main *bmain)
Definition
asset_mark_clear.cc:96
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:414
Main
Definition
BKE_main.hh:160
bContext
Definition
blenkernel/intern/context.cc:63
Generated on
for Blender by
doxygen
1.16.1