Blender  V3.3
RNA_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 /* Use a define instead of `#pragma once` because of `BKE_addon.h`, `ED_object.h` & others. */
8 #ifndef __RNA_TYPES_H__
9 #define __RNA_TYPES_H__
10 
11 #include "../blenlib/BLI_sys_types.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 struct BlenderRNA;
18 struct FunctionRNA;
19 struct ID;
20 struct Main;
21 struct ParameterList;
22 struct PropertyRNA;
23 struct ReportList;
24 struct StructRNA;
25 struct bContext;
26 
35 typedef struct PointerRNA {
36  struct ID *owner_id;
37  struct StructRNA *type;
38  void *data;
40 
41 typedef struct PropertyPointerRNA {
43  struct PropertyRNA *prop;
45 
49 typedef struct PathResolvedRNA {
50  struct PointerRNA ptr;
51  struct PropertyRNA *prop;
55 
56 /* Property */
57 
58 typedef enum PropertyType {
60  PROP_INT = 1,
63  PROP_ENUM = 4,
67 
68 /* also update rna_property_subtype_unit when you change this */
69 typedef enum PropertyUnit {
70  PROP_UNIT_NONE = (0 << 16),
71  PROP_UNIT_LENGTH = (1 << 16), /* m */
72  PROP_UNIT_AREA = (2 << 16), /* m^2 */
73  PROP_UNIT_VOLUME = (3 << 16), /* m^3 */
74  PROP_UNIT_MASS = (4 << 16), /* kg */
75  PROP_UNIT_ROTATION = (5 << 16), /* radians */
76  PROP_UNIT_TIME = (6 << 16), /* frame */
77  PROP_UNIT_TIME_ABSOLUTE = (7 << 16), /* time in seconds (independent of scene) */
78  PROP_UNIT_VELOCITY = (8 << 16), /* m/s */
79  PROP_UNIT_ACCELERATION = (9 << 16), /* m/(s^2) */
80  PROP_UNIT_CAMERA = (10 << 16), /* mm */
81  PROP_UNIT_POWER = (11 << 16), /* W */
82  PROP_UNIT_TEMPERATURE = (12 << 16), /* C */
84 
96 typedef enum PropertyScaleType {
110 
111 #define RNA_SUBTYPE_UNIT(subtype) ((subtype)&0x00FF0000)
112 #define RNA_SUBTYPE_VALUE(subtype) ((subtype) & ~0x00FF0000)
113 #define RNA_SUBTYPE_UNIT_VALUE(subtype) ((subtype) >> 16)
114 
115 #define RNA_ENUM_BITFLAG_SIZE 32
116 
117 #define RNA_TRANSLATION_PREC_DEFAULT 5
118 
119 #define RNA_STACK_ARRAY 32
120 
125 typedef enum PropertySubType {
127 
128  /* strings */
134  /* 5 was used by "PROP_TRANSLATE" sub-type, which is now a flag. */
137 
138  /* numbers */
151 
152  /* number arrays */
162  PROP_XYZ = 29,
168 
169  /* booleans */
172 
175 
176  /* temperature */
179 
180 /* Make sure enums are updated with these */
181 /* HIGHEST FLAG IN USE: 1 << 31
182  * FREE FLAGS: 2, 9, 11, 13, 14, 15. */
183 typedef enum PropertyFlag {
189  PROP_EDITABLE = (1 << 0),
195  PROP_LIB_EXCEPTION = (1 << 16),
202  PROP_ANIMATABLE = (1 << 1),
209  PROP_TEXTEDIT_UPDATE = (1u << 31),
210 
211  /* icon */
213  PROP_ICONS_REVERSE = (1 << 8),
214 
216  PROP_HIDDEN = (1 << 19),
218  PROP_SKIP_SAVE = (1 << 28),
219 
220  /* numbers */
221 
223  PROP_PROPORTIONAL = (1 << 26),
224 
225  /* pointers */
226  PROP_ID_REFCOUNT = (1 << 6),
227 
232  PROP_ID_SELF_CHECK = (1 << 20),
239  PROP_NEVER_NULL = (1 << 18),
246  PROP_NEVER_UNLINK = (1 << 25),
247 
258 
266  PROP_ENUM_FLAG = (1 << 21),
267 
268  /* need context for update function */
269  PROP_CONTEXT_UPDATE = (1 << 22),
271 
272  /* registering */
273  PROP_REGISTER = (1 << 4),
275 
285  PROP_THICK_WRAP = (1 << 23),
286 
288  PROP_IDPROPERTY = (1 << 10),
290  PROP_DYNAMIC = (1 << 17),
292  PROP_ENUM_NO_CONTEXT = (1 << 24),
295 
301  PROP_NO_DEG_UPDATE = (1 << 30),
303 
310 typedef enum PropertyOverrideFlag {
313 
321 
333 
334  /*** Collections-related ***/
335 
338 
346 
351 typedef enum ParameterFlag {
352  PARM_REQUIRED = (1 << 0),
353  PARM_OUTPUT = (1 << 1),
354  PARM_RNAPTR = (1 << 2),
364 
366 struct Link;
367 typedef int (*IteratorSkipFunc)(struct CollectionPropertyIterator *iter, void *data);
368 
369 typedef struct ListBaseIterator {
370  struct Link *link;
371  int flag;
374 
375 typedef struct ArrayIterator {
376  char *ptr;
378  char *endptr;
380  void *free_ptr;
381  int itemsize;
382 
387  int length;
388 
396 
397 typedef struct CountIterator {
398  void *ptr;
399  int item;
401 
403  /* internal */
406  struct PropertyRNA *prop;
407  union {
411  void *custom;
412  } internal;
413  int idprop;
414  int level;
415 
416  /* external */
418  int valid;
420 
421 typedef struct CollectionPointerLink {
425 
427 typedef struct CollectionListBase {
430 
431 typedef enum RawPropertyType {
433  PROP_RAW_INT, /* XXX: abused for types that are not set, eg. MFace.verts, needs fixing. */
440 
441 typedef struct RawArray {
442  void *array;
444  int len;
445  int stride;
447 
452 typedef struct EnumPropertyItem {
454  int value;
461  const char *identifier;
463  int icon;
465  const char *name;
467  const char *description;
469 
477 #define RNA_ENUM_ITEM_HEADING(name, description) \
478  { \
479  0, "", 0, name, description \
480  }
481 
483 #define RNA_ENUM_ITEM_SEPR \
484  { \
485  0, "", 0, NULL, NULL \
486  }
487 
489 #define RNA_ENUM_ITEM_SEPR_COLUMN RNA_ENUM_ITEM_HEADING("", NULL)
490 
491 /* extended versions with PropertyRNA argument */
492 typedef bool (*BooleanPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop);
494  struct PropertyRNA *prop,
495  bool value);
497  struct PropertyRNA *prop,
498  bool *values);
500  struct PropertyRNA *prop,
501  const bool *values);
502 typedef int (*IntPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop);
503 typedef void (*IntPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int value);
505  struct PropertyRNA *prop,
506  int *values);
508  struct PropertyRNA *prop,
509  const int *values);
511  struct PropertyRNA *prop,
512  int *min,
513  int *max,
514  int *softmin,
515  int *softmax);
516 typedef float (*FloatPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop);
518  struct PropertyRNA *prop,
519  float value);
521  struct PropertyRNA *prop,
522  float *values);
524  struct PropertyRNA *prop,
525  const float *values);
527  struct PropertyRNA *prop,
528  float *min,
529  float *max,
530  float *softmin,
531  float *softmax);
533  struct PropertyRNA *prop,
534  char *value);
535 typedef int (*StringPropertyLengthFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop);
537  struct PropertyRNA *prop,
538  const char *value);
539 
542  const char *text;
544  const char *info;
546 
563 
568 typedef void (*StringPropertySearchVisitFunc)(void *visit_user_data,
581 typedef void (*StringPropertySearchFunc)(const struct bContext *C,
582  struct PointerRNA *ptr,
583  struct PropertyRNA *prop,
584  const char *edit_text,
586  void *visit_user_data);
587 
588 typedef int (*EnumPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop);
589 typedef void (*EnumPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int value);
590 /* same as PropEnumItemFunc */
591 typedef const EnumPropertyItem *(*EnumPropertyItemFunc)(struct bContext *C,
592  PointerRNA *ptr,
593  struct PropertyRNA *prop,
594  bool *r_free);
595 
596 typedef struct PropertyRNA PropertyRNA;
597 
598 /* Parameter List */
599 
600 typedef struct ParameterList {
602  void *data;
603 
605  struct FunctionRNA *func;
606 
609 
612 
613 typedef struct ParameterIterator {
615  // PointerRNA funcptr; /* UNUSED */
616  void *data;
617  int size, offset;
618 
620  int valid;
622 
624 typedef struct ParameterDynAlloc {
627  void *array;
629 
630 /* Function */
631 
645 typedef enum FunctionFlag {
650  FUNC_USE_SELF_ID = (1 << 11),
651 
656  FUNC_NO_SELF = (1 << 0),
658  FUNC_USE_SELF_TYPE = (1 << 1),
659 
660  /* Pass Main, bContext and/or ReportList. */
661  FUNC_USE_MAIN = (1 << 2),
662  FUNC_USE_CONTEXT = (1 << 3),
663  FUNC_USE_REPORTS = (1 << 4),
664 
665  /***** Registering of Python subclasses. *****/
670  FUNC_REGISTER = (1 << 5),
678  FUNC_ALLOW_WRITE = (1 << 12),
679 
680  /***** Internal flags. *****/
682  FUNC_BUILTIN = (1 << 7),
684  FUNC_EXPORT = (1 << 8),
686  FUNC_RUNTIME = (1 << 9),
691  FUNC_FREE_POINTERS = (1 << 10),
693 
694 typedef void (*CallFunc)(struct bContext *C,
695  struct ReportList *reports,
696  PointerRNA *ptr,
697  ParameterList *parms);
698 
699 typedef struct FunctionRNA FunctionRNA;
700 
701 /* Struct */
702 
703 typedef enum StructFlag {
705  STRUCT_ID = (1 << 0),
706  STRUCT_ID_REFCOUNT = (1 << 1),
708  STRUCT_UNDO = (1 << 2),
709 
710  /* internal flags */
711  STRUCT_RUNTIME = (1 << 3),
712  /* STRUCT_GENERATED = (1 << 4), */ /* UNUSED */
731 
732 typedef int (*StructValidateFunc)(struct PointerRNA *ptr, void *data, int *have_function);
733 typedef int (*StructCallbackFunc)(struct bContext *C,
734  struct PointerRNA *ptr,
735  struct FunctionRNA *func,
736  ParameterList *list);
737 typedef void (*StructFreeFunc)(void *data);
738 typedef struct StructRNA *(*StructRegisterFunc)(struct Main *bmain,
739  struct ReportList *reports,
740  void *data,
741  const char *identifier,
742  StructValidateFunc validate,
743  StructCallbackFunc call,
745 
746 typedef void (*StructUnregisterFunc)(struct Main *bmain, struct StructRNA *type);
747 typedef void **(*StructInstanceFunc)(PointerRNA *ptr);
748 
749 typedef struct StructRNA StructRNA;
750 
756 typedef struct BlenderRNA BlenderRNA;
757 
764 typedef struct ExtensionRNA {
765  void *data;
770 
771 #ifdef __cplusplus
772 }
773 #endif
774 
775 #endif /* __RNA_TYPES_H__ */
typedef float(TangentPoint)[2]
void BLI_kdtree_nd_() free(KDTree *tree)
Definition: kdtree_impl.h:102
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
ParameterFlag
Definition: RNA_types.h:351
@ PARM_RNAPTR
Definition: RNA_types.h:354
@ PARM_PYFUNC_OPTIONAL
Definition: RNA_types.h:362
@ PARM_REQUIRED
Definition: RNA_types.h:352
@ PARM_OUTPUT
Definition: RNA_types.h:353
struct ParameterList ParameterList
int(* EnumPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
Definition: RNA_types.h:588
void(* StructFreeFunc)(void *data)
Definition: RNA_types.h:737
PropertyScaleType
Definition: RNA_types.h:96
@ PROP_SCALE_LOG
Definition: RNA_types.h:103
@ PROP_SCALE_LINEAR
Definition: RNA_types.h:98
@ PROP_SCALE_CUBIC
Definition: RNA_types.h:108
struct ListBaseIterator ListBaseIterator
int(* StructValidateFunc)(struct PointerRNA *ptr, void *data, int *have_function)
Definition: RNA_types.h:732
FunctionFlag
Definition: RNA_types.h:645
@ FUNC_USE_REPORTS
Definition: RNA_types.h:663
@ FUNC_USE_SELF_TYPE
Definition: RNA_types.h:658
@ FUNC_BUILTIN
Definition: RNA_types.h:682
@ FUNC_FREE_POINTERS
Definition: RNA_types.h:691
@ FUNC_NO_SELF
Definition: RNA_types.h:656
@ FUNC_REGISTER
Definition: RNA_types.h:670
@ FUNC_USE_MAIN
Definition: RNA_types.h:661
@ FUNC_EXPORT
Definition: RNA_types.h:684
@ FUNC_RUNTIME
Definition: RNA_types.h:686
@ FUNC_USE_CONTEXT
Definition: RNA_types.h:662
@ FUNC_USE_SELF_ID
Definition: RNA_types.h:650
@ FUNC_REGISTER_OPTIONAL
Definition: RNA_types.h:672
@ FUNC_ALLOW_WRITE
Definition: RNA_types.h:678
struct ParameterIterator ParameterIterator
float(* FloatPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
Definition: RNA_types.h:516
struct CountIterator CountIterator
StructFlag
Definition: RNA_types.h:703
@ STRUCT_ID_REFCOUNT
Definition: RNA_types.h:706
@ STRUCT_RUNTIME
Definition: RNA_types.h:711
@ STRUCT_FREE_POINTERS
Definition: RNA_types.h:713
@ STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID
Definition: RNA_types.h:729
@ STRUCT_PUBLIC_NAMESPACE
Definition: RNA_types.h:721
@ STRUCT_ID
Definition: RNA_types.h:705
@ STRUCT_NO_DATABLOCK_IDPROPERTIES
Definition: RNA_types.h:717
@ STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES
Definition: RNA_types.h:719
@ STRUCT_NO_IDPROPERTIES
Definition: RNA_types.h:715
@ STRUCT_PUBLIC_NAMESPACE_INHERIT
Definition: RNA_types.h:723
@ STRUCT_UNDO
Definition: RNA_types.h:708
struct PathResolvedRNA PathResolvedRNA
int(* StructCallbackFunc)(struct bContext *C, struct PointerRNA *ptr, struct FunctionRNA *func, ParameterList *list)
Definition: RNA_types.h:733
void(* IntPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int value)
Definition: RNA_types.h:503
void(* EnumPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int value)
Definition: RNA_types.h:589
struct ExtensionRNA ExtensionRNA
void(* IntPropertyRangeFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int *min, int *max, int *softmin, int *softmax)
Definition: RNA_types.h:510
void(* StringPropertySearchFunc)(const struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, const char *edit_text, StringPropertySearchVisitFunc visit_fn, void *visit_user_data)
Definition: RNA_types.h:581
void(* IntArrayPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, int *values)
Definition: RNA_types.h:504
eStringPropertySearchFlag
Definition: RNA_types.h:547
@ PROP_STRING_SEARCH_SUGGESTION
Definition: RNA_types.h:561
@ PROP_STRING_SEARCH_SORT
Definition: RNA_types.h:554
@ PROP_STRING_SEARCH_SUPPORTED
Definition: RNA_types.h:552
void(* FloatPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, float value)
Definition: RNA_types.h:517
struct ArrayIterator ArrayIterator
void(* StringPropertySearchVisitFunc)(void *visit_user_data, const StringPropertySearchVisitParams *params)
Definition: RNA_types.h:568
PropertyType
Definition: RNA_types.h:58
@ PROP_FLOAT
Definition: RNA_types.h:61
@ PROP_BOOLEAN
Definition: RNA_types.h:59
@ PROP_ENUM
Definition: RNA_types.h:63
@ PROP_INT
Definition: RNA_types.h:60
@ PROP_STRING
Definition: RNA_types.h:62
@ PROP_POINTER
Definition: RNA_types.h:64
@ PROP_COLLECTION
Definition: RNA_types.h:65
struct ParameterDynAlloc ParameterDynAlloc
struct CollectionPointerLink CollectionPointerLink
struct PointerRNA PointerRNA
PropertyUnit
Definition: RNA_types.h:69
@ PROP_UNIT_VOLUME
Definition: RNA_types.h:73
@ PROP_UNIT_POWER
Definition: RNA_types.h:81
@ PROP_UNIT_ROTATION
Definition: RNA_types.h:75
@ PROP_UNIT_VELOCITY
Definition: RNA_types.h:78
@ PROP_UNIT_LENGTH
Definition: RNA_types.h:71
@ PROP_UNIT_NONE
Definition: RNA_types.h:70
@ PROP_UNIT_ACCELERATION
Definition: RNA_types.h:79
@ PROP_UNIT_AREA
Definition: RNA_types.h:72
@ PROP_UNIT_TIME
Definition: RNA_types.h:76
@ PROP_UNIT_CAMERA
Definition: RNA_types.h:80
@ PROP_UNIT_TEMPERATURE
Definition: RNA_types.h:82
@ PROP_UNIT_MASS
Definition: RNA_types.h:74
@ PROP_UNIT_TIME_ABSOLUTE
Definition: RNA_types.h:77
void(* CallFunc)(struct bContext *C, struct ReportList *reports, PointerRNA *ptr, ParameterList *parms)
Definition: RNA_types.h:694
struct EnumPropertyItem EnumPropertyItem
void(* FloatPropertyRangeFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, float *min, float *max, float *softmin, float *softmax)
Definition: RNA_types.h:526
void(* BooleanArrayPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const bool *values)
Definition: RNA_types.h:499
void(* FloatArrayPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const float *values)
Definition: RNA_types.h:523
bool(* BooleanPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
Definition: RNA_types.h:492
void(* BooleanArrayPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, bool *values)
Definition: RNA_types.h:496
void(* StringPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, char *value)
Definition: RNA_types.h:532
struct CollectionListBase CollectionListBase
void(* StringPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const char *value)
Definition: RNA_types.h:536
PropertyOverrideFlag
Definition: RNA_types.h:310
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
Definition: RNA_types.h:312
@ PROPOVERRIDE_NO_COMPARISON
Definition: RNA_types.h:320
@ PROPOVERRIDE_IGNORE
Definition: RNA_types.h:332
@ PROPOVERRIDE_LIBRARY_INSERTION
Definition: RNA_types.h:337
@ PROPOVERRIDE_NO_PROP_NAME
Definition: RNA_types.h:344
void(* IntArrayPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, const int *values)
Definition: RNA_types.h:507
void(* StructUnregisterFunc)(struct Main *bmain, struct StructRNA *type)
Definition: RNA_types.h:746
int(* StringPropertyLengthFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
Definition: RNA_types.h:535
struct PropertyPointerRNA PropertyPointerRNA
int(* IntPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop)
Definition: RNA_types.h:502
struct StringPropertySearchVisitParams StringPropertySearchVisitParams
struct RawArray RawArray
RawPropertyType
Definition: RNA_types.h:431
@ PROP_RAW_INT
Definition: RNA_types.h:433
@ PROP_RAW_UNSET
Definition: RNA_types.h:432
@ PROP_RAW_BOOLEAN
Definition: RNA_types.h:436
@ PROP_RAW_CHAR
Definition: RNA_types.h:435
@ PROP_RAW_FLOAT
Definition: RNA_types.h:438
@ PROP_RAW_DOUBLE
Definition: RNA_types.h:437
@ PROP_RAW_SHORT
Definition: RNA_types.h:434
PropertyFlag
Definition: RNA_types.h:183
@ PROP_THICK_WRAP
Definition: RNA_types.h:285
@ PROP_DYNAMIC
Definition: RNA_types.h:290
@ PROP_CONTEXT_UPDATE
Definition: RNA_types.h:269
@ PROP_ANIMATABLE
Definition: RNA_types.h:202
@ PROP_PROPORTIONAL
Definition: RNA_types.h:223
@ PROP_NEVER_UNLINK
Definition: RNA_types.h:246
@ PROP_EDITABLE
Definition: RNA_types.h:189
@ PROP_ENUM_FLAG
Definition: RNA_types.h:266
@ PROP_LIB_EXCEPTION
Definition: RNA_types.h:195
@ PROP_CONTEXT_PROPERTY_UPDATE
Definition: RNA_types.h:270
@ PROP_REGISTER_OPTIONAL
Definition: RNA_types.h:274
@ PROP_ENUM_NO_CONTEXT
Definition: RNA_types.h:292
@ PROP_NEVER_NULL
Definition: RNA_types.h:239
@ PROP_NO_DEG_UPDATE
Definition: RNA_types.h:301
@ PROP_ICONS_CONSECUTIVE
Definition: RNA_types.h:212
@ PROP_ENUM_NO_TRANSLATE
Definition: RNA_types.h:294
@ PROP_REGISTER
Definition: RNA_types.h:273
@ PROP_PTR_NO_OWNERSHIP
Definition: RNA_types.h:257
@ PROP_ICONS_REVERSE
Definition: RNA_types.h:213
@ PROP_SKIP_SAVE
Definition: RNA_types.h:218
@ PROP_ID_SELF_CHECK
Definition: RNA_types.h:232
@ PROP_TEXTEDIT_UPDATE
Definition: RNA_types.h:209
@ PROP_HIDDEN
Definition: RNA_types.h:216
@ PROP_ID_REFCOUNT
Definition: RNA_types.h:226
@ PROP_IDPROPERTY
Definition: RNA_types.h:288
int(* IteratorSkipFunc)(struct CollectionPropertyIterator *iter, void *data)
Definition: RNA_types.h:367
void(* FloatArrayPropertyGetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, float *values)
Definition: RNA_types.h:520
void(* BooleanPropertySetFunc)(struct PointerRNA *ptr, struct PropertyRNA *prop, bool value)
Definition: RNA_types.h:493
struct CollectionPropertyIterator CollectionPropertyIterator
PropertySubType
Definition: RNA_types.h:125
@ PROP_TIME
Definition: RNA_types.h:146
@ PROP_MATRIX
Definition: RNA_types.h:158
@ PROP_DIRECTION
Definition: RNA_types.h:155
@ PROP_XYZ
Definition: RNA_types.h:162
@ PROP_DISTANCE
Definition: RNA_types.h:149
@ PROP_ACCELERATION
Definition: RNA_types.h:157
@ PROP_TEMPERATURE
Definition: RNA_types.h:177
@ PROP_BYTESTRING
Definition: RNA_types.h:133
@ PROP_POWER
Definition: RNA_types.h:174
@ PROP_LAYER_MEMBER
Definition: RNA_types.h:171
@ PROP_FILENAME
Definition: RNA_types.h:131
@ PROP_PASSWORD
Definition: RNA_types.h:136
@ PROP_COLOR
Definition: RNA_types.h:153
@ PROP_PIXEL
Definition: RNA_types.h:141
@ PROP_ANGLE
Definition: RNA_types.h:145
@ PROP_TIME_ABSOLUTE
Definition: RNA_types.h:147
@ PROP_DISTANCE_CAMERA
Definition: RNA_types.h:150
@ PROP_AXISANGLE
Definition: RNA_types.h:161
@ PROP_EULER
Definition: RNA_types.h:159
@ PROP_COORDS
Definition: RNA_types.h:167
@ PROP_NONE
Definition: RNA_types.h:126
@ PROP_DIRPATH
Definition: RNA_types.h:130
@ PROP_PERCENTAGE
Definition: RNA_types.h:143
@ PROP_FACTOR
Definition: RNA_types.h:144
@ PROP_COLOR_GAMMA
Definition: RNA_types.h:165
@ PROP_TRANSLATION
Definition: RNA_types.h:154
@ PROP_XYZ_LENGTH
Definition: RNA_types.h:163
@ PROP_UNSIGNED
Definition: RNA_types.h:142
@ PROP_LAYER
Definition: RNA_types.h:170
@ PROP_QUATERNION
Definition: RNA_types.h:160
@ PROP_FILEPATH
Definition: RNA_types.h:129
@ PROP_VELOCITY
Definition: RNA_types.h:156
#define C
Definition: RandGen.cpp:25
SyclQueue void void size_t num_bytes void
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
#define min(a, b)
Definition: sort.c:35
_W64 int intptr_t
Definition: stdint.h:118
void * free_ptr
Definition: RNA_types.h:380
char * ptr
Definition: RNA_types.h:376
IteratorSkipFunc skip
Definition: RNA_types.h:394
char * endptr
Definition: RNA_types.h:378
struct CollectionPointerLink * last
Definition: RNA_types.h:428
struct CollectionPointerLink * first
Definition: RNA_types.h:428
ListBaseIterator listbase
Definition: RNA_types.h:409
struct PropertyRNA * prop
Definition: RNA_types.h:406
void * ptr
Definition: RNA_types.h:398
const char * identifier
Definition: RNA_types.h:461
const char * name
Definition: RNA_types.h:465
const char * description
Definition: RNA_types.h:467
StructRNA * srna
Definition: RNA_types.h:766
StructCallbackFunc call
Definition: RNA_types.h:767
void * data
Definition: RNA_types.h:765
StructFreeFunc free
Definition: RNA_types.h:768
Definition: DNA_ID.h:368
struct Link * link
Definition: RNA_types.h:370
IteratorSkipFunc skip
Definition: RNA_types.h:372
Definition: BKE_main.h:121
intptr_t array_tot
Definition: RNA_types.h:626
PropertyRNA * parm
Definition: RNA_types.h:619
struct ParameterList * parms
Definition: RNA_types.h:614
void * data
Definition: RNA_types.h:602
struct FunctionRNA * func
Definition: RNA_types.h:605
struct PropertyRNA * prop
Definition: RNA_types.h:51
struct PointerRNA ptr
Definition: RNA_types.h:50
struct StructRNA * type
Definition: RNA_types.h:37
void * data
Definition: RNA_types.h:38
struct ID * owner_id
Definition: RNA_types.h:36
struct PropertyRNA * prop
Definition: RNA_types.h:43
PointerRNA ptr
Definition: RNA_types.h:42
RawPropertyType type
Definition: RNA_types.h:443
int len
Definition: RNA_types.h:444
void * array
Definition: RNA_types.h:442
int stride
Definition: RNA_types.h:445
float max
PointerRNA * ptr
Definition: wm_files.c:3480