Blender V5.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
8
9#pragma once
10
11#include "DNA_ID.h"
12
13namespace blender {
14
15struct ID;
16
17namespace ed::asset {
18
19bool id_type_is_non_experimental(const ID *id);
20#define ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_FLAGS \
21 (FILTER_ID_BR | FILTER_ID_MA | FILTER_ID_GR | FILTER_ID_OB | FILTER_ID_AC | FILTER_ID_WO | \
22 FILTER_ID_NT | FILTER_ID_SCE)
23
28bool id_type_is_supported(const ID *id);
29
37
38} // namespace ed::asset
39} // namespace blender
ID and Library types, which are fundamental for SDNA.
long long int int64_t
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
BMesh Iterators.