Blender
V4.3
source
blender
editors
asset
ED_asset_type.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
#include "
DNA_ID.h
"
12
13
struct
ID
;
14
15
namespace
blender::ed::asset
{
16
17
bool
id_type_is_non_experimental
(
const
ID
*
id
);
18
#define ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_FLAGS \
19
(FILTER_ID_BR | FILTER_ID_MA | FILTER_ID_GR | FILTER_ID_OB | FILTER_ID_AC | FILTER_ID_WO | \
20
FILTER_ID_NT)
21
26
bool
id_type_is_supported
(
const
ID
*
id
);
27
34
int64_t
types_supported_as_filter_flags
();
35
42
#define ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_UI_STRING \
43
"Material, Collection, Object, Brush, Pose Action, Node Group or World"
44
45
}
// namespace blender::ed::asset
DNA_ID.h
ID and Library types, which are fundamental for SDNA.
blender::ed::asset
Definition
ED_asset_catalog.hh:28
blender::ed::asset::types_supported_as_filter_flags
int64_t types_supported_as_filter_flags()
Definition
asset_type.cc:41
blender::ed::asset::id_type_is_non_experimental
bool id_type_is_non_experimental(const ID *id)
Definition
asset_type.cc:19
blender::ed::asset::id_type_is_supported
bool id_type_is_supported(const ID *id)
Definition
asset_type.cc:26
int64_t
__int64 int64_t
Definition
stdint.h:89
ID
Definition
DNA_ID.h:413
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0