Blender V4.3
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
13struct ID;
14
15namespace blender::ed::asset {
16
17bool 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
26bool id_type_is_supported(const ID *id);
27
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
ID and Library types, which are fundamental for SDNA.
int64_t types_supported_as_filter_flags()
Definition asset_type.cc:41
bool id_type_is_non_experimental(const ID *id)
Definition asset_type.cc:19
bool id_type_is_supported(const ID *id)
Definition asset_type.cc:26
__int64 int64_t
Definition stdint.h:89
Definition DNA_ID.h:413