|
Blender V4.3
|
Enumerations for DNA_ID.h.
More...
Go to the source code of this file.
Macros | |
| #define | IDP_NUMTYPES 11 |
| #define | MAKE_ID2(c, d) ((d) << 8 | (c)) |
| #define | ID_LINK_PLACEHOLDER MAKE_ID2('I', 'D') /* (internal use only) */ |
| #define | ID_SCRN MAKE_ID2('S', 'N') |
| #define | ID_SEQ MAKE_ID2('S', 'Q') |
| #define | ID_CO MAKE_ID2('C', 'O') |
| #define | ID_PO MAKE_ID2('A', 'C') |
| #define | ID_NLA MAKE_ID2('N', 'L') |
| #define | ID_FLUIDSIM MAKE_ID2('F', 'S') |
Typedefs | |
| typedef enum eIDPropertyType | eIDPropertyType |
| typedef enum eIDPropertySubType | eIDPropertySubType |
| typedef enum eIDPropertyFlag | eIDPropertyFlag |
| typedef enum ID_Type | ID_Type |
Enumerations | |
| enum | eIconSizes { ICON_SIZE_ICON = 0 , ICON_SIZE_PREVIEW = 1 , NUM_ICON_SIZES } |
| enum | eIDPropertyType { IDP_STRING = 0 , IDP_INT = 1 , IDP_FLOAT = 2 , IDP_ARRAY = 5 , IDP_GROUP = 6 , IDP_ID = 7 , IDP_DOUBLE = 8 , IDP_IDPARRAY = 9 , IDP_BOOLEAN = 10 } |
| enum | { IDP_TYPE_FILTER_STRING = 1 << IDP_STRING , IDP_TYPE_FILTER_INT = 1 << IDP_INT , IDP_TYPE_FILTER_FLOAT = 1 << IDP_FLOAT , IDP_TYPE_FILTER_ARRAY = 1 << IDP_ARRAY , IDP_TYPE_FILTER_GROUP = 1 << IDP_GROUP , IDP_TYPE_FILTER_ID = 1 << IDP_ID , IDP_TYPE_FILTER_DOUBLE = 1 << IDP_DOUBLE , IDP_TYPE_FILTER_IDPARRAY = 1 << IDP_IDPARRAY , IDP_TYPE_FILTER_BOOLEAN = 1 << IDP_BOOLEAN } |
| enum | eIDPropertySubType { IDP_STRING_SUB_UTF8 = 0 , IDP_STRING_SUB_BYTE = 1 } |
| enum | eIDPropertyFlag { IDP_FLAG_OVERRIDABLE_LIBRARY = 1 << 0 , IDP_FLAG_OVERRIDELIBRARY_LOCAL = 1 << 1 , IDP_FLAG_STATIC_TYPE = 1 << 4 , IDP_FLAG_GHOST = 1 << 7 } |
| enum | ID_Type { ID_SCE = MAKE_ID2('S', 'C') , ID_LI = MAKE_ID2('L', 'I') , ID_OB = MAKE_ID2('O', 'B') , ID_ME = MAKE_ID2('M', 'E') , ID_CU_LEGACY = MAKE_ID2('C', 'U') , ID_MB = MAKE_ID2('M', 'B') , ID_MA = MAKE_ID2('M', 'A') , ID_TE = MAKE_ID2('T', 'E') , ID_IM = MAKE_ID2('I', 'M') , ID_LT = MAKE_ID2('L', 'T') , ID_LA = MAKE_ID2('L', 'A') , ID_CA = MAKE_ID2('C', 'A') , ID_IP = MAKE_ID2('I', 'P') , ID_KE = MAKE_ID2('K', 'E') , ID_WO = MAKE_ID2('W', 'O') , ID_SCR = MAKE_ID2('S', 'R') , ID_VF = MAKE_ID2('V', 'F') , ID_TXT = MAKE_ID2('T', 'X') , ID_SPK = MAKE_ID2('S', 'K') , ID_SO = MAKE_ID2('S', 'O') , ID_GR = MAKE_ID2('G', 'R') , ID_AR = MAKE_ID2('A', 'R') , ID_AC = MAKE_ID2('A', 'C') , ID_NT = MAKE_ID2('N', 'T') , ID_BR = MAKE_ID2('B', 'R') , ID_PA = MAKE_ID2('P', 'A') , ID_GD_LEGACY = MAKE_ID2('G', 'D') , ID_WM = MAKE_ID2('W', 'M') , ID_MC = MAKE_ID2('M', 'C') , ID_MSK = MAKE_ID2('M', 'S') , ID_LS = MAKE_ID2('L', 'S') , ID_PAL = MAKE_ID2('P', 'L') , ID_PC = MAKE_ID2('P', 'C') , ID_CF = MAKE_ID2('C', 'F') , ID_WS = MAKE_ID2('W', 'S') , ID_LP = MAKE_ID2('L', 'P') , ID_CV = MAKE_ID2('C', 'V') , ID_PT = MAKE_ID2('P', 'T') , ID_VO = MAKE_ID2('V', 'O') , ID_GP = MAKE_ID2('G', 'P') } |
Enumerations for DNA_ID.h.
Definition in file DNA_ID_enums.h.
Definition at line 169 of file DNA_ID_enums.h.
Referenced by get_rna_access().
Definition at line 175 of file DNA_ID_enums.h.
Definition at line 161 of file DNA_ID_enums.h.
Referenced by BKE_idtype_idcode_to_index(), blo_read_file_internal(), change_link_placeholder_to_real_ID_pointer_fd(), expand_doit_library(), read_libblock(), read_libblock_undo_restore(), and write_libraries().
Definition at line 173 of file DNA_ID_enums.h.
Referenced by blender::ed::outliner::get_element_operation_type(), and blender::ed::outliner::tree_element_get_icon_from_id().
Definition at line 171 of file DNA_ID_enums.h.
Referenced by get_rna_access(), and icu_to_fcurves().
Definition at line 164 of file DNA_ID_enums.h.
Referenced by blo_read_file_internal(), expand_doit_library(), and screen_blend_write().
Definition at line 167 of file DNA_ID_enums.h.
Referenced by get_rna_access(), and SEQ_sequence_alloc().
| #define IDP_NUMTYPES 11 |
Definition at line 40 of file DNA_ID_enums.h.
| #define MAKE_ID2 | ( | c, | |
| d ) ((d) << 8 | (c)) |
Defines for working with IDs.
The tags represent types! This is a dirty way of enabling RTTI. The sig_byte end endian defines aren't really used much.
Definition at line 106 of file DNA_ID_enums.h.
| typedef enum eIDPropertyFlag eIDPropertyFlag |
| typedef enum eIDPropertySubType eIDPropertySubType |
IDProperty.subtype for IDP_STRING properties.
| typedef enum eIDPropertyType eIDPropertyType |
ID from database.
Written to BHead.code (for file IO) and the first 2 bytes of ID.name (for runtime checks, see GS macro).
Update ID_TYPE_IS_DEPRECATED() when deprecating types.
| anonymous enum |
Used by some IDP utils, keep values in sync with type enum above.
Definition at line 43 of file DNA_ID_enums.h.
| enum eIconSizes |
| Enumerator | |
|---|---|
| ICON_SIZE_ICON | |
| ICON_SIZE_PREVIEW | |
| NUM_ICON_SIZES | |
Definition at line 16 of file DNA_ID_enums.h.
| enum eIDPropertyFlag |
| Enumerator | |
|---|---|
| IDP_FLAG_OVERRIDABLE_LIBRARY | This IDProperty may be library-overridden. Should only be used/be relevant for custom properties. |
| IDP_FLAG_OVERRIDELIBRARY_LOCAL | This collection item IDProperty has been inserted in a local override. This is used by internal code to distinguish between library-originated items and local-inserted ones, as many operations are not allowed on the former. |
| IDP_FLAG_STATIC_TYPE | This IDProperty has a static type, i.e. its eIDPropertyType cannot be changed by assigning a new value to it. Currently, array length is also considered as fixed (i.e. part of the type) when this flag is set. This allows to avoid IDProperty storing vectors e.g. to see their length modified.
|
| IDP_FLAG_GHOST | This means the property is set but RNA will return false when checking RNA_property_is_set, currently this is a runtime flag. |
Definition at line 62 of file DNA_ID_enums.h.
| enum eIDPropertySubType |
IDProperty.subtype for IDP_STRING properties.
| Enumerator | |
|---|---|
| IDP_STRING_SUB_UTF8 | |
| IDP_STRING_SUB_BYTE | |
Definition at line 56 of file DNA_ID_enums.h.
| enum eIDPropertyType |
Definition at line 24 of file DNA_ID_enums.h.
| enum ID_Type |
ID from database.
Written to BHead.code (for file IO) and the first 2 bytes of ID.name (for runtime checks, see GS macro).
Update ID_TYPE_IS_DEPRECATED() when deprecating types.
Definition at line 117 of file DNA_ID_enums.h.