Blender  V3.3
DNA_userdef_enums.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
21 typedef enum eDupli_ID_Flags {
22  USER_DUP_MESH = (1 << 0),
23  USER_DUP_CURVE = (1 << 1),
24  USER_DUP_SURF = (1 << 2),
25  USER_DUP_FONT = (1 << 3),
26  USER_DUP_MBALL = (1 << 4),
27  USER_DUP_LAMP = (1 << 5),
28  /* USER_DUP_FCURVE = (1 << 6), */ /* UNUSED, keep because we may implement. */
29  USER_DUP_MAT = (1 << 7),
30  /* USER_DUP_TEX = (1 << 8), */ /* UNUSED, keep because we may implement. */
31  USER_DUP_ARM = (1 << 9),
32  USER_DUP_ACT = (1 << 10),
33  USER_DUP_PSYS = (1 << 11),
34  USER_DUP_LIGHTPROBE = (1 << 12),
35  USER_DUP_GPENCIL = (1 << 13),
36  USER_DUP_CURVES = (1 << 14),
37  USER_DUP_POINTCLOUD = (1 << 15),
38  USER_DUP_VOLUME = (1 << 16),
39  USER_DUP_LATTICE = (1 << 17),
40  USER_DUP_CAMERA = (1 << 18),
41  USER_DUP_SPEAKER = (1 << 19),
42 
43  USER_DUP_OBDATA = (~0) & ((1 << 24) - 1),
44 
45  /* Those are not exposed as user preferences, only used internally. */
46  USER_DUP_OBJECT = (1 << 24),
47  /* USER_DUP_COLLECTION = (1 << 25), */ /* UNUSED, keep because we may implement. */
48 
49  /* Duplicate (and hence make local) linked data. */
50  USER_DUP_LINKED_ID = (1 << 30),
52 
53 #ifdef __cplusplus
54 }
55 #endif
eDupli_ID_Flags
@ USER_DUP_MAT
@ USER_DUP_SURF
@ USER_DUP_LIGHTPROBE
@ USER_DUP_MBALL
@ USER_DUP_LINKED_ID
@ USER_DUP_CURVE
@ USER_DUP_CAMERA
@ USER_DUP_VOLUME
@ USER_DUP_SPEAKER
@ USER_DUP_PSYS
@ USER_DUP_GPENCIL
@ USER_DUP_OBJECT
@ USER_DUP_CURVES
@ USER_DUP_OBDATA
@ USER_DUP_LAMP
@ USER_DUP_ARM
@ USER_DUP_MESH
@ USER_DUP_ACT
@ USER_DUP_POINTCLOUD
@ USER_DUP_FONT
@ USER_DUP_LATTICE