Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_types.h
| Show First 20 Lines • Show All 226 Lines • ▼ Show 20 Lines | typedef enum PropertyFlag { | ||||
| /* Use for arrays or for any data that should not have a reference kept | /* Use for arrays or for any data that should not have a reference kept | ||||
| * most common case is functions that return arrays where the array */ | * most common case is functions that return arrays where the array */ | ||||
| PROP_THICK_WRAP = (1 << 23), | PROP_THICK_WRAP = (1 << 23), | ||||
| PROP_EXPORT = (1 << 8), /* XXX Is this still used? makesrna.c seems to ignore it currently... */ | PROP_EXPORT = (1 << 8), /* XXX Is this still used? makesrna.c seems to ignore it currently... */ | ||||
| PROP_IDPROPERTY = (1 << 10), /* This is an IDProperty, not a DNA one. */ | PROP_IDPROPERTY = (1 << 10), /* This is an IDProperty, not a DNA one. */ | ||||
| PROP_DYNAMIC = (1 << 17), /* for dynamic arrays, and retvals of type string */ | PROP_DYNAMIC = (1 << 17), /* for dynamic arrays, and retvals of type string */ | ||||
| PROP_ENUM_NO_CONTEXT = (1 << 24), /* for enum that shouldn't be contextual */ | PROP_ENUM_NO_CONTEXT = (1 << 24), /* for enum that shouldn't be contextual */ | ||||
| PROP_ENUM_NO_TRANSLATE = (1 << 29), /* for enums not to be translated (e.g. renderlayers' names in nodes) */ | PROP_ENUM_NO_TRANSLATE = (1 << 29), /* for enums not to be translated (e.g. viewlayers' names in nodes) */ | ||||
| } PropertyFlag; | } PropertyFlag; | ||||
| /* Function parameters flags. | /* Function parameters flags. | ||||
| * WARNING: 16bits only. */ | * WARNING: 16bits only. */ | ||||
| typedef enum ParameterFlag { | typedef enum ParameterFlag { | ||||
| PARM_REQUIRED = (1 << 0), | PARM_REQUIRED = (1 << 0), | ||||
| PARM_OUTPUT = (1 << 1), | PARM_OUTPUT = (1 << 1), | ||||
| PARM_RNAPTR = (1 << 2), | PARM_RNAPTR = (1 << 2), | ||||
| ▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines | |||||