Blender V5.3
BKE_attribute_enums.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <cstdint>
12
13namespace blender::bke {
14
16enum class AttrStorageType : int8_t {
18 Array = 0,
20 Single = 1,
21};
22
23enum class AttrType : int16_t {
24 Bool = 0,
25 Int8 = 1,
27 Int32 = 3,
29 Float = 5,
30 Float2 = 6,
31 Float3 = 7,
36 String = 12,
37 Float4 = 13,
38};
39
40enum class AttrDomain : int8_t {
41 /* Mesh, Curve or Point Cloud Point. */
42 Point = 0,
43 /* Mesh Edge. */
44 Edge = 1,
45 /* Mesh Face. */
46 Face = 2,
47 /* Mesh Corner. */
48 Corner = 3,
49 /* A single curve in a larger curve data-block. */
50 Curve = 4,
51 /* Instance. */
53 /* A layer in a grease pencil data-block. */
54 Layer = 6,
55};
56#define ATTR_DOMAIN_NUM 7
57
69
70} // namespace blender::bke
A running instance of the engine.
signed char int8_t
Definition BKE_text.h:76
signed short int16_t
Definition BKE_text.h:77
@ String
Definition types.hh:154