Blender  V3.3
rna_internal.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "BLI_utildefines.h"
10 
11 #include "BLI_compiler_attrs.h"
12 
13 #include "rna_internal_types.h"
14 
15 #include "UI_resources.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #define RNA_MAGIC ((int)~0)
22 
24 struct FreestyleSettings;
25 struct ID;
26 struct IDOverrideLibrary;
28 struct IDProperty;
29 struct Main;
30 struct Object;
31 struct ReportList;
32 struct SDNA;
33 struct ViewLayer;
34 
35 /* Data structures used during define */
36 
37 typedef struct ContainerDefRNA {
38  void *next, *prev;
39 
43 
44 typedef struct FunctionDefRNA {
46 
48  const char *srna;
49  const char *call;
50  const char *gencall;
52 
53 typedef struct PropertyDefRNA {
55 
56  struct ContainerRNA *cont;
57  struct PropertyRNA *prop;
58 
59  /* struct */
60  const char *dnastructname;
61  const char *dnastructfromname;
62  const char *dnastructfromprop;
63 
64  /* property */
65  const char *dnaname;
66  const char *dnatype;
72  int dnaoffset;
73  int dnasize;
74 
75  /* for finding length of array collections */
76  const char *dnalengthstructname;
77  const char *dnalengthname;
79 
82 
83  /* not to be confused with PROP_ENUM_FLAG
84  * this only allows one of the flags to be set at a time, clearing all others */
87 
88 typedef struct StructDefRNA {
90 
91  struct StructRNA *srna;
92  const char *filename;
93 
94  const char *dnaname;
95 
96  /* for derived structs to find data in some property */
97  const char *dnafromname;
98  const char *dnafromprop;
99 
102 
103 typedef struct AllocDefRNA {
104  struct AllocDefRNA *next, *prev;
105  void *mem;
107 
108 typedef struct BlenderDefRNA {
109  struct SDNA *sdna;
113  bool error;
114  bool silent;
116  bool verify;
117  bool animate;
120 
121  /* Keep last. */
122 #ifndef RNA_RUNTIME
123  struct {
125  struct {
126  int noteflag;
127  const char *updatefunc;
130 #endif
132 
133 extern BlenderDefRNA DefRNA;
134 
135 /* Define functions for all types */
136 #ifndef __RNA_ACCESS_H__
137 extern BlenderRNA BLENDER_RNA;
138 #endif
139 
140 void RNA_def_ID(struct BlenderRNA *brna);
141 void RNA_def_action(struct BlenderRNA *brna);
142 void RNA_def_animation(struct BlenderRNA *brna);
143 void RNA_def_animviz(struct BlenderRNA *brna);
144 void RNA_def_armature(struct BlenderRNA *brna);
145 void RNA_def_attribute(struct BlenderRNA *brna);
146 void RNA_def_asset(struct BlenderRNA *brna);
147 void RNA_def_boid(struct BlenderRNA *brna);
148 void RNA_def_brush(struct BlenderRNA *brna);
149 void RNA_def_cachefile(struct BlenderRNA *brna);
150 void RNA_def_camera(struct BlenderRNA *brna);
151 void RNA_def_cloth(struct BlenderRNA *brna);
152 void RNA_def_collections(struct BlenderRNA *brna);
153 void RNA_def_color(struct BlenderRNA *brna);
154 void RNA_def_constraint(struct BlenderRNA *brna);
155 void RNA_def_context(struct BlenderRNA *brna);
156 void RNA_def_curve(struct BlenderRNA *brna);
157 void RNA_def_depsgraph(struct BlenderRNA *brna);
158 void RNA_def_dynamic_paint(struct BlenderRNA *brna);
159 void RNA_def_fcurve(struct BlenderRNA *brna);
160 void RNA_def_gpencil(struct BlenderRNA *brna);
161 void RNA_def_greasepencil_modifier(struct BlenderRNA *brna);
162 void RNA_def_shader_fx(struct BlenderRNA *brna);
163 void RNA_def_curves(struct BlenderRNA *brna);
164 void RNA_def_image(struct BlenderRNA *brna);
165 void RNA_def_key(struct BlenderRNA *brna);
166 void RNA_def_light(struct BlenderRNA *brna);
167 void RNA_def_lattice(struct BlenderRNA *brna);
168 void RNA_def_linestyle(struct BlenderRNA *brna);
169 void RNA_def_main(struct BlenderRNA *brna);
170 void RNA_def_material(struct BlenderRNA *brna);
171 void RNA_def_mesh(struct BlenderRNA *brna);
172 void RNA_def_meta(struct BlenderRNA *brna);
173 void RNA_def_modifier(struct BlenderRNA *brna);
174 void RNA_def_nla(struct BlenderRNA *brna);
175 void RNA_def_nodetree(struct BlenderRNA *brna);
176 void RNA_def_object(struct BlenderRNA *brna);
177 void RNA_def_object_force(struct BlenderRNA *brna);
178 void RNA_def_packedfile(struct BlenderRNA *brna);
179 void RNA_def_palette(struct BlenderRNA *brna);
180 void RNA_def_particle(struct BlenderRNA *brna);
181 void RNA_def_pointcloud(struct BlenderRNA *brna);
182 void RNA_def_pose(struct BlenderRNA *brna);
183 void RNA_def_profile(struct BlenderRNA *brna);
184 void RNA_def_lightprobe(struct BlenderRNA *brna);
185 void RNA_def_render(struct BlenderRNA *brna);
186 void RNA_def_rigidbody(struct BlenderRNA *brna);
187 void RNA_def_rna(struct BlenderRNA *brna);
188 void RNA_def_scene(struct BlenderRNA *brna);
189 void RNA_def_simulation(struct BlenderRNA *brna);
190 void RNA_def_view_layer(struct BlenderRNA *brna);
191 void RNA_def_screen(struct BlenderRNA *brna);
192 void RNA_def_sculpt_paint(struct BlenderRNA *brna);
193 void RNA_def_sequencer(struct BlenderRNA *brna);
194 void RNA_def_fluid(struct BlenderRNA *brna);
195 void RNA_def_space(struct BlenderRNA *brna);
196 void RNA_def_speaker(struct BlenderRNA *brna);
197 void RNA_def_test(struct BlenderRNA *brna);
198 void RNA_def_text(struct BlenderRNA *brna);
199 void RNA_def_texture(struct BlenderRNA *brna);
200 void RNA_def_timeline_marker(struct BlenderRNA *brna);
201 void RNA_def_sound(struct BlenderRNA *brna);
202 void RNA_def_ui(struct BlenderRNA *brna);
203 void RNA_def_userdef(struct BlenderRNA *brna);
204 void RNA_def_vfont(struct BlenderRNA *brna);
205 void RNA_def_volume(struct BlenderRNA *brna);
206 void RNA_def_wm(struct BlenderRNA *brna);
207 void RNA_def_wm_gizmo(struct BlenderRNA *brna);
208 void RNA_def_workspace(struct BlenderRNA *brna);
209 void RNA_def_world(struct BlenderRNA *brna);
210 void RNA_def_movieclip(struct BlenderRNA *brna);
211 void RNA_def_tracking(struct BlenderRNA *brna);
212 void RNA_def_mask(struct BlenderRNA *brna);
213 void RNA_def_xr(struct BlenderRNA *brna);
214 
215 /* Common Define functions */
216 
217 void rna_def_attributes_common(struct StructRNA *srna);
218 
223 
228 
229 void rna_def_animdata_common(struct StructRNA *srna);
230 
232  struct PointerRNA *ptr_local,
233  struct PointerRNA *ptr_reference,
234  struct PointerRNA *ptr_storage,
235  struct PropertyRNA *prop_local,
236  struct PropertyRNA *prop_reference,
237  struct PropertyRNA *prop_storage,
238  int len_local,
239  int len_reference,
240  int len_storage,
241  struct PointerRNA *ptr_item_local,
242  struct PointerRNA *ptr_item_reference,
243  struct PointerRNA *ptr_item_storage,
245 
246 void rna_def_animviz_common(struct StructRNA *srna);
247 void rna_def_motionpath_common(struct StructRNA *srna);
248 
252 void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone, bool is_editbone);
253 
254 void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable);
255 void rna_def_mtex_common(struct BlenderRNA *brna,
256  struct StructRNA *srna,
257  const char *begin,
258  const char *activeget,
259  const char *activeset,
260  const char *activeeditable,
261  const char *structname,
262  const char *structname_slots,
263  const char *update,
264  const char *update_index);
265 void rna_def_texpaint_slots(struct BlenderRNA *brna, struct StructRNA *srna);
266 void rna_def_view_layer_common(struct BlenderRNA *brna, struct StructRNA *srna, bool scene);
267 
268 int rna_AssetMetaData_editable(struct PointerRNA *ptr, const char **r_info);
273  const char *get,
274  const char *set);
276  struct PointerRNA *ptr,
277  struct PropertyRNA *prop,
278  bool *r_free);
279 
284  int update_flag,
285  const char *update_cb);
286 void rna_ActionGroup_colorset_set(struct PointerRNA *ptr, int value);
288 
289 void rna_ID_name_get(struct PointerRNA *ptr, char *value);
291 void rna_ID_name_set(struct PointerRNA *ptr, const char *value);
294 void rna_ID_fake_user_set(struct PointerRNA *ptr, bool value);
297 void rna_PropertyGroup_unregister(struct Main *bmain, struct StructRNA *type);
299  struct ReportList *reports,
300  void *data,
301  const char *identifier,
302  StructValidateFunc validate,
303  StructCallbackFunc call,
306 
307 void rna_object_vgroup_name_index_get(struct PointerRNA *ptr, char *value, int index);
309 void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index);
311  const char *value,
312  char *result,
313  int maxlen);
315  const char *value,
316  char *result,
317  int maxlen);
319  const char *value,
320  char *result,
321  int maxlen);
323 int rna_object_shapekey_index_set(struct ID *id, PointerRNA value, int current);
324 
326 int rna_object_type_visibility_icon_get_common(int object_type_exclude_viewport,
327  const int *object_type_exclude_select);
328 
329 /* ViewLayer related functions defined in rna_scene.c but required in rna_layer.c */
333  struct PointerRNA value,
334  struct ReportList *reports);
336  struct FreestyleSettings *config,
337  struct Main *bmain,
338  const char *name);
340  struct FreestyleSettings *config,
341  struct ReportList *reports,
342  struct PointerRNA *lineset_ptr);
345  struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax);
349  struct FreestyleSettings *config);
351  struct FreestyleSettings *config,
352  struct ReportList *reports,
353  struct PointerRNA *module_ptr);
354 
356  struct Scene *scene,
357  struct PointerRNA *ptr);
358 void rna_Scene_glsl_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
359 void rna_Scene_freestyle_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
360 void rna_ViewLayer_name_set(struct PointerRNA *ptr, const char *value);
362  struct Scene *activescene,
363  struct PointerRNA *ptr);
364 void rna_ViewLayer_pass_update(struct Main *bmain,
365  struct Scene *activescene,
366  struct PointerRNA *ptr);
368  PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax);
372  PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax);
380 size_t rna_ViewLayer_path_buffer_get(const struct ViewLayer *view_layer,
381  char *r_rna_path,
382  const size_t rna_path_buffer_size);
383 
384 /* named internal so as not to conflict with obj.update() rna func */
386  struct Scene *scene,
387  struct PointerRNA *ptr);
388 void rna_Mesh_update_draw(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
390 
391 /* basic poll functions for object types */
392 bool rna_Armature_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
393 bool rna_Camera_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
394 bool rna_Curve_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
395 bool rna_GPencil_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
396 bool rna_Light_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
397 bool rna_Lattice_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
398 bool rna_Mesh_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
399 
400 /* basic poll functions for actions (to prevent actions getting set in wrong places) */
401 bool rna_Action_id_poll(struct PointerRNA *ptr, struct PointerRNA value);
403 
404 /* Grease Pencil datablock polling functions - for filtering GP Object vs Annotation datablocks */
406  const struct PointerRNA value);
408 
409 char *rna_TextureSlot_path(const struct PointerRNA *ptr);
412 
413 /* Set U.is_dirty and redraw. */
414 
423 void rna_userdef_is_dirty_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
424 
425 /* API functions */
426 
427 void RNA_api_action(StructRNA *srna);
428 void RNA_api_animdata(struct StructRNA *srna);
430 void RNA_api_bone(StructRNA *srna);
431 void RNA_api_camera(StructRNA *srna);
432 void RNA_api_curve(StructRNA *srna);
433 void RNA_api_curve_nurb(StructRNA *srna);
434 void RNA_api_fcurves(StructRNA *srna);
436 void RNA_api_image_packed_file(struct StructRNA *srna);
437 void RNA_api_image(struct StructRNA *srna);
438 void RNA_api_lattice(struct StructRNA *srna);
439 void RNA_api_operator(struct StructRNA *srna);
440 void RNA_api_macro(struct StructRNA *srna);
441 void RNA_api_gizmo(struct StructRNA *srna);
442 void RNA_api_gizmogroup(struct StructRNA *srna);
443 void RNA_api_keyconfig(struct StructRNA *srna);
444 void RNA_api_keyconfigs(struct StructRNA *srna);
445 void RNA_api_keyingset(struct StructRNA *srna);
446 void RNA_api_keymap(struct StructRNA *srna);
447 void RNA_api_keymaps(struct StructRNA *srna);
448 void RNA_api_keymapitem(struct StructRNA *srna);
449 void RNA_api_keymapitems(struct StructRNA *srna);
450 void RNA_api_main(struct StructRNA *srna);
452 void RNA_api_mesh(struct StructRNA *srna);
453 void RNA_api_meta(struct StructRNA *srna);
454 void RNA_api_object(struct StructRNA *srna);
455 void RNA_api_pose(struct StructRNA *srna);
456 void RNA_api_pose_channel(struct StructRNA *srna);
457 void RNA_api_scene(struct StructRNA *srna);
458 void RNA_api_scene_render(struct StructRNA *srna);
460 void RNA_api_text(struct StructRNA *srna);
461 void RNA_api_ui_layout(struct StructRNA *srna);
462 void RNA_api_window(struct StructRNA *srna);
463 void RNA_api_wm(struct StructRNA *srna);
464 void RNA_api_space_node(struct StructRNA *srna);
465 void RNA_api_space_text(struct StructRNA *srna);
466 void RNA_api_space_filebrowser(struct StructRNA *srna);
467 void RNA_api_region_view3d(struct StructRNA *srna);
468 void RNA_api_texture(struct StructRNA *srna);
469 void RNA_api_sequences(BlenderRNA *brna, PropertyRNA *cprop, bool metastrip);
471 void RNA_api_sound(struct StructRNA *srna);
472 void RNA_api_vfont(struct StructRNA *srna);
473 void RNA_api_workspace(struct StructRNA *srna);
474 void RNA_api_workspace_tool(struct StructRNA *srna);
475 
476 /* main collection functions */
477 void RNA_def_main_cameras(BlenderRNA *brna, PropertyRNA *cprop);
478 void RNA_def_main_scenes(BlenderRNA *brna, PropertyRNA *cprop);
479 void RNA_def_main_objects(BlenderRNA *brna, PropertyRNA *cprop);
480 void RNA_def_main_materials(BlenderRNA *brna, PropertyRNA *cprop);
482 void RNA_def_main_meshes(BlenderRNA *brna, PropertyRNA *cprop);
483 void RNA_def_main_lights(BlenderRNA *brna, PropertyRNA *cprop);
484 void RNA_def_main_libraries(BlenderRNA *brna, PropertyRNA *cprop);
485 void RNA_def_main_screens(BlenderRNA *brna, PropertyRNA *cprop);
487 void RNA_def_main_images(BlenderRNA *brna, PropertyRNA *cprop);
488 void RNA_def_main_lattices(BlenderRNA *brna, PropertyRNA *cprop);
489 void RNA_def_main_curves(BlenderRNA *brna, PropertyRNA *cprop);
490 void RNA_def_main_metaballs(BlenderRNA *brna, PropertyRNA *cprop);
491 void RNA_def_main_fonts(BlenderRNA *brna, PropertyRNA *cprop);
492 void RNA_def_main_textures(BlenderRNA *brna, PropertyRNA *cprop);
493 void RNA_def_main_brushes(BlenderRNA *brna, PropertyRNA *cprop);
494 void RNA_def_main_worlds(BlenderRNA *brna, PropertyRNA *cprop);
496 void RNA_def_main_texts(BlenderRNA *brna, PropertyRNA *cprop);
497 void RNA_def_main_speakers(BlenderRNA *brna, PropertyRNA *cprop);
498 void RNA_def_main_sounds(BlenderRNA *brna, PropertyRNA *cprop);
499 void RNA_def_main_armatures(BlenderRNA *brna, PropertyRNA *cprop);
500 void RNA_def_main_actions(BlenderRNA *brna, PropertyRNA *cprop);
501 void RNA_def_main_particles(BlenderRNA *brna, PropertyRNA *cprop);
502 void RNA_def_main_palettes(BlenderRNA *brna, PropertyRNA *cprop);
503 void RNA_def_main_gpencil(BlenderRNA *brna, PropertyRNA *cprop);
505 void RNA_def_main_masks(BlenderRNA *brna, PropertyRNA *cprop);
513 void RNA_def_main_volumes(BlenderRNA *brna, PropertyRNA *cprop);
514 #ifdef WITH_SIMULATION_DATABLOCK
515 void RNA_def_main_simulations(BlenderRNA *brna, PropertyRNA *cprop);
516 #endif
517 
518 /* ID Properties */
519 
520 #ifndef __RNA_ACCESS_H__
523 #endif
524 
529 struct IDProperty *rna_idproperty_check(struct PropertyRNA **prop,
538 
539 /* Override default callbacks. */
540 /* Default override callbacks for all types. */
541 /* TODO: Maybe at some point we'll want to write that in direct RNA-generated code instead
542  * (like we do for default get/set/etc.)?
543  * Not obvious though, those are fairly more complicated than basic SDNA access.
544  */
546  struct PropertyRNAOrID *prop_a,
547  struct PropertyRNAOrID *prop_b,
548  int mode,
549  struct IDOverrideLibrary *override,
550  const char *rna_path,
551  size_t rna_path_len,
552  int flags,
553  bool *r_override_changed);
554 
556  struct PointerRNA *ptr_local,
557  struct PointerRNA *ptr_reference,
558  struct PointerRNA *ptr_storage,
559  struct PropertyRNA *prop_local,
560  struct PropertyRNA *prop_reference,
561  struct PropertyRNA *prop_storage,
562  int len_local,
563  int len_reference,
564  int len_storage,
566 
568  struct PointerRNA *ptr_dst,
569  struct PointerRNA *ptr_src,
570  struct PointerRNA *ptr_storage,
571  struct PropertyRNA *prop_dst,
572  struct PropertyRNA *prop_src,
573  struct PropertyRNA *prop_storage,
574  int len_dst,
575  int len_src,
576  int len_storage,
577  struct PointerRNA *ptr_item_dst,
578  struct PointerRNA *ptr_item_src,
579  struct PointerRNA *ptr_item_storage,
581 
582 /* Builtin Property Callbacks */
583 
589 
590 /* Iterators */
591 
593  struct ListBase *lb,
594  IteratorSkipFunc skip);
599  StructRNA *type,
600  struct ListBase *lb,
601  int index);
602 
604  void *ptr,
605  int itemsize,
606  int length,
607  bool free_ptr,
608  IteratorSkipFunc skip);
614  PointerRNA *ptr, StructRNA *type, void *data, int itemsize, int length, int index);
615 
616 /* Duplicated code since we can't link in blenlib */
617 
618 #ifndef RNA_RUNTIME
619 void *rna_alloc_from_buffer(const char *buffer, int buffer_len);
620 void *rna_calloc(int buffer_len);
621 #endif
622 
623 void rna_addtail(struct ListBase *listbase, void *vlink);
624 void rna_freelinkN(struct ListBase *listbase, void *vlink);
625 void rna_freelistN(struct ListBase *listbase);
626 PropertyDefRNA *rna_findlink(ListBase *listbase, const char *identifier);
627 
632 
633 /* Pointer Handling */
634 
636 
637 /* Functions */
638 
639 int rna_parameter_size(struct PropertyRNA *parm);
640 int rna_parameter_size_pad(const int size);
641 
642 /* XXX, these should not need to be defined here~! */
643 struct MTex *rna_mtex_texture_slots_add(struct ID *self,
644  struct bContext *C,
645  struct ReportList *reports);
646 struct MTex *rna_mtex_texture_slots_create(struct ID *self,
647  struct bContext *C,
648  struct ReportList *reports,
649  int index);
651  struct bContext *C,
652  struct ReportList *reports,
653  int index);
654 
656  int key,
657  const struct PointerRNA *assign_ptr);
658 
659 const char *rna_translate_ui_text(const char *text,
660  const char *text_ctxt,
661  struct StructRNA *type,
662  struct PropertyRNA *prop,
663  bool translate);
664 
665 /* Internal functions that cycles uses so we need to declare (tsk!). */
666 void rna_RenderPass_rect_set(PointerRNA *ptr, const float *values);
667 
668 #ifdef RNA_RUNTIME
669 # ifdef __GNUC__
670 # pragma GCC diagnostic ignored "-Wredundant-decls"
671 # endif
672 #endif
673 
674 /* C11 for compile time range checks */
675 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
676 # define USE_RNA_RANGE_CHECK
677 # define TYPEOF_MAX(x) \
678  _Generic((x), bool : 1, char \
679  : CHAR_MAX, signed char \
680  : SCHAR_MAX, unsigned char \
681  : UCHAR_MAX, signed short \
682  : SHRT_MAX, unsigned short \
683  : USHRT_MAX, signed int \
684  : INT_MAX, unsigned int \
685  : UINT_MAX, float \
686  : FLT_MAX, double \
687  : DBL_MAX)
688 
689 # define TYPEOF_MIN(x) \
690  _Generic((x), bool : 0, char \
691  : CHAR_MIN, signed char \
692  : SCHAR_MIN, unsigned char : 0, signed short \
693  : SHRT_MIN, unsigned short : 0, signed int \
694  : INT_MIN, unsigned int : 0, float \
695  : -FLT_MAX, double \
696  : -DBL_MAX)
697 #endif
698 
699 #ifdef __cplusplus
700 }
701 #endif
struct FreestyleSettings FreestyleSettings
Definition: BKE_freestyle.h:21
#define ATTR_WARN_UNUSED_RESULT
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
void(* StructFreeFunc)(void *data)
Definition: RNA_types.h:737
int(* StructValidateFunc)(struct PointerRNA *ptr, void *data, int *have_function)
Definition: RNA_types.h:732
int(* StructCallbackFunc)(struct bContext *C, struct PointerRNA *ptr, struct FunctionRNA *func, ParameterList *list)
Definition: RNA_types.h:733
int(* IteratorSkipFunc)(struct CollectionPropertyIterator *iter, void *data)
Definition: RNA_types.h:367
#define C
Definition: RandGen.cpp:25
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
Scene scene
ccl_global float * buffer
static void update_index(const char *filename, FileIndexerEntries *entries, void *user_data)
T length(const vec_base< T, Size > &a)
static void update(bNodeTree *ntree)
StructDefRNA * rna_find_struct_def(StructRNA *srna)
Definition: rna_define.c:219
void RNA_api_keymapitem(struct StructRNA *srna)
Definition: rna_wm_api.c:1121
int rna_builtin_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
void RNA_api_keyconfig(struct StructRNA *srna)
void RNA_api_armature_edit_bone(StructRNA *srna)
void RNA_api_action(StructRNA *srna)
void RNA_def_lattice(struct BlenderRNA *brna)
Definition: rna_lattice.c:400
void RNA_def_linestyle(struct BlenderRNA *brna)
void rna_def_animviz_common(struct StructRNA *srna)
Definition: rna_animviz.c:315
struct StructDefRNA StructDefRNA
void RNA_api_animdata(struct StructRNA *srna)
void rna_PropertyGroup_unregister(struct Main *bmain, struct StructRNA *type)
const char * rna_translate_ui_text(const char *text, const char *text_ctxt, struct StructRNA *type, struct PropertyRNA *prop, bool translate)
void rna_Scene_glsl_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
void RNA_def_context(struct BlenderRNA *brna)
Definition: rna_context.c:232
void rna_def_animdata_common(struct StructRNA *srna)
void rna_userdef_is_dirty_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
void RNA_api_camera(StructRNA *srna)
void RNA_def_texture(struct BlenderRNA *brna)
Definition: rna_texture.c:1670
void RNA_def_attribute(struct BlenderRNA *brna)
bool rna_Curve_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void RNA_def_meta(struct BlenderRNA *brna)
Definition: rna_meta.c:413
void RNA_def_sequencer(struct BlenderRNA *brna)
void RNA_api_text(struct StructRNA *srna)
Definition: rna_text_api.c:62
void RNA_def_main_window_managers(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_keyconfigs(struct StructRNA *srna)
Definition: rna_wm_api.c:1277
void RNA_def_rna(struct BlenderRNA *brna)
Definition: rna_rna.c:3379
void rna_FreestyleSettings_active_lineset_index_set(struct PointerRNA *ptr, int value)
void RNA_def_brush(struct BlenderRNA *brna)
Definition: rna_brush.c:3704
void rna_def_actionbone_group_common(struct StructRNA *srna, int update_flag, const char *update_cb)
Definition: rna_pose.c:861
void RNA_api_workspace(struct StructRNA *srna)
void RNA_def_main_curves(BlenderRNA *brna, PropertyRNA *cprop)
void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone, bool is_editbone)
Definition: rna_armature.c:649
void RNA_api_pose_channel(struct StructRNA *srna)
Definition: rna_pose_api.c:139
void RNA_def_curve(struct BlenderRNA *brna)
Definition: rna_curve.c:2058
bool rna_GPencil_datablocks_obdata_poll(struct PointerRNA *ptr, const struct PointerRNA value)
void RNA_def_main_cameras(BlenderRNA *brna, PropertyRNA *cprop)
Definition: rna_main_api.c:878
void RNA_api_drivers(StructRNA *srna)
void rna_FreestyleSettings_active_lineset_index_range(struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax)
int rna_object_shapekey_index_set(struct ID *id, PointerRNA value, int current)
void RNA_def_movieclip(struct BlenderRNA *brna)
struct ContainerDefRNA ContainerDefRNA
bool rna_ActionGroup_is_custom_colorset_get(struct PointerRNA *ptr)
void RNA_def_main_worlds(BlenderRNA *brna, PropertyRNA *cprop)
struct FunctionDefRNA FunctionDefRNA
void rna_def_mtex_common(struct BlenderRNA *brna, struct StructRNA *srna, const char *begin, const char *activeget, const char *activeset, const char *activeeditable, const char *structname, const char *structname_slots, const char *update, const char *update_index)
Definition: rna_material.c:995
void rna_mtex_texture_slots_clear(struct ID *self, struct bContext *C, struct ReportList *reports, int index)
void rna_AttributeGroup_iterator_next(CollectionPropertyIterator *iter)
void RNA_def_asset(struct BlenderRNA *brna)
Definition: rna_asset.c:493
void rna_ID_name_set(struct PointerRNA *ptr, const char *value)
int rna_FreestyleSettings_active_lineset_index_get(struct PointerRNA *ptr)
struct BlenderDefRNA BlenderDefRNA
void RNA_api_meta(struct StructRNA *srna)
Definition: rna_meta_api.c:35
struct IDProperty * rna_idproperty_check(struct PropertyRNA **prop, struct PointerRNA *ptr) ATTR_WARN_UNUSED_RESULT
Definition: rna_access.c:502
void RNA_def_depsgraph(struct BlenderRNA *brna)
void rna_ViewLayer_material_override_update(struct Main *bmain, struct Scene *activescene, struct PointerRNA *ptr)
void RNA_api_space_node(struct StructRNA *srna)
Definition: rna_space_api.c:88
void rna_Scene_use_view_map_cache_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
void RNA_def_cachefile(struct BlenderRNA *brna)
void * rna_calloc(int buffer_len)
Definition: makesrna.c:412
PointerRNA rna_builtin_properties_get(struct CollectionPropertyIterator *iter)
void RNA_def_main_textures(BlenderRNA *brna, PropertyRNA *cprop)
void rna_object_vcollayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen)
void rna_iterator_array_end(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4844
int rna_ViewLayer_active_aov_index_get(PointerRNA *ptr)
void RNA_def_text(struct BlenderRNA *brna)
Definition: rna_text.c:290
int rna_ID_name_length(struct PointerRNA *ptr)
void RNA_api_pose(struct StructRNA *srna)
Definition: rna_pose_api.c:113
void RNA_def_main_lightprobes(BlenderRNA *brna, PropertyRNA *cprop)
void rna_TextureSlot_update(struct bContext *C, struct PointerRNA *ptr)
void RNA_def_main_movieclips(BlenderRNA *brna, PropertyRNA *cprop)
void rna_userdef_is_dirty_update_impl(void)
void rna_iterator_array_next(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4813
void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index)
void rna_builtin_properties_next(struct CollectionPropertyIterator *iter)
size_t rna_ViewLayer_path_buffer_get(const struct ViewLayer *view_layer, char *r_rna_path, const size_t rna_path_buffer_size)
void rna_object_vgroup_name_index_get(struct PointerRNA *ptr, char *value, int index)
void rna_AttributeGroup_color_iterator_next(CollectionPropertyIterator *iter)
bool rna_Camera_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void RNA_def_main_screens(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_image(struct BlenderRNA *brna)
Definition: rna_image.c:1250
void rna_RenderPass_rect_set(PointerRNA *ptr, const float *values)
void rna_iterator_listbase_next(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4745
PropertyRNA * rna_def_asset_library_reference_common(struct StructRNA *srna, const char *get, const char *set)
Definition: rna_asset.c:482
void RNA_def_particle(struct BlenderRNA *brna)
void RNA_def_main_images(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_render(struct BlenderRNA *brna)
Definition: rna_render.c:1200
struct FreestyleLineSet * rna_FreestyleSettings_lineset_add(struct ID *id, struct FreestyleSettings *config, struct Main *bmain, const char *name)
struct StructRNA * rna_PropertyGroup_register(struct Main *bmain, struct ReportList *reports, void *data, const char *identifier, StructValidateFunc validate, StructCallbackFunc call, StructFreeFunc free)
void RNA_api_image_packed_file(struct StructRNA *srna)
void rna_FreestyleSettings_lineset_remove(struct ID *id, struct FreestyleSettings *config, struct ReportList *reports, struct PointerRNA *lineset_ptr)
void RNA_def_curves(struct BlenderRNA *brna)
Definition: rna_curves.c:378
void RNA_def_main_volumes(BlenderRNA *brna, PropertyRNA *cprop)
int rna_IDMaterials_assign_int(struct PointerRNA *ptr, int key, const struct PointerRNA *assign_ptr)
void RNA_def_main_node_groups(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_image(struct StructRNA *srna)
void RNA_api_bone(StructRNA *srna)
bool rna_Light_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
PropertyDefRNA * rna_find_struct_property_def(StructRNA *srna, PropertyRNA *prop)
Definition: rna_define.c:239
void RNA_api_main(struct StructRNA *srna)
struct StructRNA * rna_ID_refine(struct PointerRNA *ptr)
void RNA_def_wm(struct BlenderRNA *brna)
Definition: rna_wm.c:2833
void RNA_api_lattice(struct StructRNA *srna)
BlenderRNA BLENDER_RNA
int rna_parameter_size(struct PropertyRNA *parm)
Definition: rna_define.c:4352
void RNA_def_main_meshes(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_fcurves(StructRNA *srna)
void RNA_def_profile(struct BlenderRNA *brna)
void RNA_def_palette(struct BlenderRNA *brna)
Definition: rna_palette.c:174
void RNA_def_volume(struct BlenderRNA *brna)
Definition: rna_volume.c:700
void rna_def_object_type_visibility_flags_common(StructRNA *srna, int noteflag)
StructRNA RNA_PropertyGroupItem
void RNA_def_test(struct BlenderRNA *brna)
Definition: rna_test.c:101
void RNA_def_main_hair_curves(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_camera(struct BlenderRNA *brna)
Definition: rna_camera.c:566
void rna_def_freestyle_settings(struct BlenderRNA *brna)
Definition: rna_scene.c:4839
void RNA_api_space_filebrowser(struct StructRNA *srna)
void RNA_def_main_pointclouds(BlenderRNA *brna, PropertyRNA *cprop)
struct IDProperty ** rna_PropertyGroup_idprops(struct PointerRNA *ptr)
void RNA_api_scene(struct StructRNA *srna)
void rna_def_motionpath_common(struct StructRNA *srna)
Definition: rna_animviz.c:96
struct FreestyleModuleConfig * rna_FreestyleSettings_module_add(struct ID *id, struct FreestyleSettings *config)
PointerRNA rna_array_lookup_int(PointerRNA *ptr, StructRNA *type, void *data, int itemsize, int length, int index)
Definition: rna_access.c:4851
int rna_AttributeGroup_length(PointerRNA *ptr)
struct PointerRNA rna_FreestyleSettings_active_lineset_get(struct PointerRNA *ptr)
void RNA_api_keymap(struct StructRNA *srna)
Definition: rna_wm_api.c:1102
void rna_iterator_listbase_begin(struct CollectionPropertyIterator *iter, struct ListBase *lb, IteratorSkipFunc skip)
Definition: rna_access.c:4729
void RNA_def_main_libraries(BlenderRNA *brna, PropertyRNA *cprop)
char * rna_TextureSlot_path(const struct PointerRNA *ptr)
bool rna_property_override_store_default(struct Main *bmain, struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_local, struct PropertyRNA *prop_reference, struct PropertyRNA *prop_storage, int len_local, int len_reference, int len_storage, struct IDOverrideLibraryPropertyOperation *opop)
void RNA_def_shader_fx(struct BlenderRNA *brna)
void RNA_def_main_paintcurves(BlenderRNA *brna, PropertyRNA *cprop)
int rna_AttributeGroup_color_length(PointerRNA *ptr)
void RNA_def_ID(struct BlenderRNA *brna)
Definition: rna_ID.c:2295
void RNA_def_main_texts(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_armature(struct BlenderRNA *brna)
void RNA_def_tracking(struct BlenderRNA *brna)
void RNA_api_material(StructRNA *srna)
void rna_def_texpaint_slots(struct BlenderRNA *brna, struct StructRNA *srna)
void rna_iterator_listbase_end(struct CollectionPropertyIterator *iter)
void RNA_api_ui_layout(struct StructRNA *srna)
Definition: rna_ui_api.c:901
void rna_ViewLayer_active_aov_index_set(PointerRNA *ptr, int value)
PointerRNA rna_listbase_lookup_int(PointerRNA *ptr, StructRNA *type, struct ListBase *lb, int index)
Definition: rna_access.c:4772
void RNA_api_wm(struct StructRNA *srna)
Definition: rna_wm_api.c:761
void RNA_def_nla(struct BlenderRNA *brna)
Definition: rna_nla.c:1060
bool rna_Lattice_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
char * rna_CameraBackgroundImage_image_or_movieclip_user_path(const struct PointerRNA *ptr)
void RNA_def_fluid(struct BlenderRNA *brna)
Definition: rna_fluid.c:2987
void * rna_iterator_listbase_get(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4761
void RNA_def_main_lights(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_gpencil(BlenderRNA *brna, PropertyRNA *cprop)
void rna_def_view_layer_common(struct BlenderRNA *brna, struct StructRNA *srna, bool scene)
Definition: rna_scene.c:4323
void RNA_def_rigidbody(struct BlenderRNA *brna)
void RNA_api_sound(struct StructRNA *srna)
Definition: rna_sound_api.c:38
void RNA_def_main_actions(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_palettes(BlenderRNA *brna, PropertyRNA *cprop)
void rna_ActionGroup_colorset_set(struct PointerRNA *ptr, int value)
void rna_object_uvlayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen)
void RNA_def_xr(struct BlenderRNA *brna)
Definition: rna_xr.c:2526
void RNA_api_gizmogroup(struct StructRNA *srna)
void rna_ViewLayer_active_aov_index_range(PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax)
struct StructRNA * rna_PropertyGroup_refine(struct PointerRNA *ptr)
void RNA_def_sound(struct BlenderRNA *brna)
Definition: rna_sound.c:104
void rna_ViewLayer_name_set(struct PointerRNA *ptr, const char *value)
struct PointerRNA rna_FreestyleLineSet_linestyle_get(struct PointerRNA *ptr)
void RNA_api_workspace_tool(struct StructRNA *srna)
void RNA_def_ui(struct BlenderRNA *brna)
Definition: rna_ui.c:1835
void * rna_iterator_array_get(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4829
void RNA_def_material(struct BlenderRNA *brna)
Definition: rna_material.c:781
void rna_Object_internal_update_data(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
void RNA_def_key(struct BlenderRNA *brna)
Definition: rna_key.c:1063
void RNA_def_main_particles(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_keymaps(struct StructRNA *srna)
Definition: rna_wm_api.c:1233
void RNA_def_space(struct BlenderRNA *brna)
Definition: rna_space.c:8025
void RNA_def_collections(struct BlenderRNA *brna)
void rna_FreestyleSettings_module_remove(struct ID *id, struct FreestyleSettings *config, struct ReportList *reports, struct PointerRNA *module_ptr)
void RNA_def_view_layer(struct BlenderRNA *brna)
Definition: rna_layer.c:519
int rna_AssetMetaData_editable(struct PointerRNA *ptr, const char **r_info)
void RNA_api_curve_nurb(StructRNA *srna)
Definition: rna_curve_api.c:93
void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable)
Definition: rna_mesh.c:2498
bool rna_Action_id_poll(struct PointerRNA *ptr, struct PointerRNA value)
void RNA_def_main_lattices(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_mask(struct BlenderRNA *brna)
Definition: rna_mask.c:1144
void RNA_api_window(struct StructRNA *srna)
Definition: rna_wm_api.c:712
void RNA_api_texture(struct StructRNA *srna)
void RNA_def_main_masks(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_cachefiles(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_constraint(struct BlenderRNA *brna)
void RNA_api_object(struct StructRNA *srna)
void RNA_def_mesh(struct BlenderRNA *brna)
Definition: rna_mesh.c:3715
void rna_Mesh_update_draw(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
void RNA_def_light(struct BlenderRNA *brna)
Definition: rna_light.c:543
void RNA_def_pose(struct BlenderRNA *brna)
Definition: rna_pose.c:1732
void RNA_def_world(struct BlenderRNA *brna)
Definition: rna_world.c:200
void RNA_def_sculpt_paint(struct BlenderRNA *brna)
void RNA_def_timeline_marker(struct BlenderRNA *brna)
Definition: rna_timeline.c:72
struct PropertyRNA * rna_ensure_property_realdata(struct PropertyRNA **prop, struct PointerRNA *ptr) ATTR_WARN_UNUSED_RESULT
Definition: rna_access.c:512
void RNA_def_gpencil(struct BlenderRNA *brna)
Definition: rna_gpencil.c:2719
int rna_object_type_visibility_icon_get_common(int object_type_exclude_viewport, const int *object_type_exclude_select)
void RNA_api_region_view3d(struct StructRNA *srna)
Definition: rna_space_api.c:79
int rna_property_override_diff_default(struct Main *bmain, struct PropertyRNAOrID *prop_a, struct PropertyRNAOrID *prop_b, int mode, struct IDOverrideLibrary *override, const char *rna_path, size_t rna_path_len, int flags, bool *r_override_changed)
StructRNA RNA_PropertyGroup
void RNA_def_object(struct BlenderRNA *brna)
Definition: rna_object.c:3875
void RNA_def_nodetree(struct BlenderRNA *brna)
void * rna_iterator_array_dereference_get(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4836
void RNA_def_main_fonts(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_lightprobe(struct BlenderRNA *brna)
void * rna_alloc_from_buffer(const char *buffer, int buffer_len)
Definition: makesrna.c:403
void RNA_def_main_metaballs(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_speakers(BlenderRNA *brna, PropertyRNA *cprop)
const EnumPropertyItem * rna_asset_library_reference_itemf(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, bool *r_free)
void RNA_api_space_text(struct StructRNA *srna)
void RNA_def_userdef(struct BlenderRNA *brna)
Definition: rna_userdef.c:6432
void rna_def_attributes_common(struct StructRNA *srna)
struct PropertyDefRNA PropertyDefRNA
void RNA_def_animation(struct BlenderRNA *brna)
struct MTex * rna_mtex_texture_slots_add(struct ID *self, struct bContext *C, struct ReportList *reports)
void rna_ID_name_get(struct PointerRNA *ptr, char *value)
void RNA_def_object_force(struct BlenderRNA *brna)
void rna_builtin_properties_begin(struct CollectionPropertyIterator *iter, struct PointerRNA *ptr)
FunctionDefRNA * rna_find_function_def(FunctionRNA *func)
Definition: rna_define.c:296
bool rna_Mesh_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void RNA_def_simulation(struct BlenderRNA *brna)
void RNA_api_macro(struct StructRNA *srna)
Definition: rna_wm_api.c:1066
void RNA_def_fcurve(struct BlenderRNA *brna)
Definition: rna_fcurve.c:2548
void rna_ID_fake_user_set(struct PointerRNA *ptr, bool value)
void RNA_def_scene(struct BlenderRNA *brna)
Definition: rna_scene.c:7768
int rna_ViewLayer_active_lightgroup_index_get(PointerRNA *ptr)
BlenderDefRNA DefRNA
Definition: rna_define.c:50
bool rna_AnimaData_override_apply(struct Main *bmain, struct PointerRNA *ptr_local, struct PointerRNA *ptr_reference, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_local, struct PropertyRNA *prop_reference, struct PropertyRNA *prop_storage, int len_local, int len_reference, int len_storage, struct PointerRNA *ptr_item_local, struct PointerRNA *ptr_item_reference, struct PointerRNA *ptr_item_storage, struct IDOverrideLibraryPropertyOperation *opop)
void RNA_def_vfont(struct BlenderRNA *brna)
Definition: rna_vfont.c:50
void RNA_def_main_scenes(BlenderRNA *brna, PropertyRNA *cprop)
Definition: rna_main_api.c:922
void RNA_def_dynamic_paint(struct BlenderRNA *brna)
void RNA_def_action(struct BlenderRNA *brna)
Definition: rna_action.c:972
void RNA_def_main_collections(BlenderRNA *brna, PropertyRNA *cprop)
void rna_Scene_freestyle_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
bool rna_GPencil_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void rna_iterator_array_begin(struct CollectionPropertyIterator *iter, void *ptr, int itemsize, int length, bool free_ptr, IteratorSkipFunc skip)
Definition: rna_access.c:4781
PropertyDefRNA * rna_find_parameter_def(PropertyRNA *parm)
Definition: rna_define.c:328
void RNA_def_main_materials(BlenderRNA *brna, PropertyRNA *cprop)
Definition: rna_main_api.c:999
void RNA_api_operator(struct StructRNA *srna)
Definition: rna_wm_api.c:959
bool rna_GPencil_datablocks_annotations_poll(struct PointerRNA *ptr, const struct PointerRNA value)
void RNA_def_main_workspaces(BlenderRNA *brna, PropertyRNA *cprop)
struct MTex * rna_mtex_texture_slots_create(struct ID *self, struct bContext *C, struct ReportList *reports, int index)
void rna_ViewLayer_active_lightgroup_index_range(PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax)
PointerRNA rna_AttributeGroup_color_iterator_get(CollectionPropertyIterator *iter)
void RNA_api_keyingset(struct StructRNA *srna)
void RNA_api_mesh(struct StructRNA *srna)
Definition: rna_mesh_api.c:201
void rna_addtail(struct ListBase *listbase, void *vlink)
Definition: rna_define.c:109
void RNA_api_sequences(BlenderRNA *brna, PropertyRNA *cprop, bool metastrip)
void RNA_def_wm_gizmo(struct BlenderRNA *brna)
void RNA_def_main_sounds(BlenderRNA *brna, PropertyRNA *cprop)
struct PropertyRNA * rna_ensure_property(struct PropertyRNA *prop) ATTR_WARN_UNUSED_RESULT
Definition: rna_access.c:524
void rna_freelistN(struct ListBase *listbase)
Definition: rna_define.c:164
void RNA_api_vfont(struct StructRNA *srna)
Definition: rna_vfont_api.c:38
PointerRNA rna_object_shapekey_index_get(struct ID *id, int value)
void RNA_def_screen(struct BlenderRNA *brna)
Definition: rna_screen.c:671
void RNA_def_modifier(struct BlenderRNA *brna)
void rna_freelinkN(struct ListBase *listbase, void *vlink)
Definition: rna_define.c:158
void RNA_def_main_armatures(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_sequence_strip(StructRNA *srna)
void rna_AttributeGroup_iterator_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
struct IDProperty ** rna_ID_idprops(struct PointerRNA *ptr)
void RNA_api_curve(StructRNA *srna)
Definition: rna_curve_api.c:71
PropertyDefRNA * rna_findlink(ListBase *listbase, const char *identifier)
Definition: rna_define.c:144
void RNA_def_main_linestyles(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_pointcloud(struct BlenderRNA *brna)
void ** rna_ID_instance(PointerRNA *ptr)
void RNA_def_main_brushes(BlenderRNA *brna, PropertyRNA *cprop)
void rna_ViewLayer_pass_update(struct Main *bmain, struct Scene *activescene, struct PointerRNA *ptr)
bool rna_Action_actedit_assign_poll(struct PointerRNA *ptr, struct PointerRNA value)
void RNA_def_color(struct BlenderRNA *brna)
Definition: rna_color.c:1321
void RNA_api_keymapitems(struct StructRNA *srna)
Definition: rna_wm_api.c:1139
struct AllocDefRNA AllocDefRNA
void RNA_def_packedfile(struct BlenderRNA *brna)
void RNA_def_boid(struct BlenderRNA *brna)
Definition: rna_boid.c:707
void RNA_def_speaker(struct BlenderRNA *brna)
Definition: rna_speaker.c:167
void RNA_def_main_objects(BlenderRNA *brna, PropertyRNA *cprop)
Definition: rna_main_api.c:955
bool rna_property_override_apply_default(struct Main *bmain, struct PointerRNA *ptr_dst, struct PointerRNA *ptr_src, struct PointerRNA *ptr_storage, struct PropertyRNA *prop_dst, struct PropertyRNA *prop_src, struct PropertyRNA *prop_storage, int len_dst, int len_src, int len_storage, struct PointerRNA *ptr_item_dst, struct PointerRNA *ptr_item_src, struct PointerRNA *ptr_item_storage, struct IDOverrideLibraryPropertyOperation *opop)
PointerRNA rna_builtin_type_get(struct PointerRNA *ptr)
void RNA_def_animviz(struct BlenderRNA *brna)
Definition: rna_animviz.c:347
void rna_AttributeGroup_color_iterator_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
void rna_ViewLayer_active_lightgroup_index_set(PointerRNA *ptr, int value)
PointerRNA rna_pointer_inherit_refine(struct PointerRNA *ptr, struct StructRNA *type, void *data)
Definition: rna_access.c:186
int rna_object_vgroup_name_index_length(struct PointerRNA *ptr, int index)
void RNA_def_workspace(struct BlenderRNA *brna)
bool rna_Armature_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
PointerRNA rna_AttributeGroup_iterator_get(CollectionPropertyIterator *iter)
void RNA_api_scene_render(struct StructRNA *srna)
void RNA_def_greasepencil_modifier(struct BlenderRNA *brna)
void RNA_api_sequence_elements(BlenderRNA *brna, PropertyRNA *cprop)
void rna_object_vgroup_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen)
void RNA_api_gizmo(struct StructRNA *srna)
int rna_parameter_size_pad(const int size)
Definition: rna_define.c:4424
void rna_FreestyleLineSet_linestyle_set(struct PointerRNA *ptr, struct PointerRNA value, struct ReportList *reports)
void RNA_def_main(struct BlenderRNA *brna)
Definition: rna_main.c:168
char * rna_Node_ImageUser_path(const struct PointerRNA *ptr)
void RNA_def_cloth(struct BlenderRNA *brna)
Definition: rna_cloth.c:1211
static void update_cb(PBVHNode *node, void *rebuild)
Definition: sculpt_undo.c:133
#define min(a, b)
Definition: sort.c:35
__int64 int64_t
Definition: stdint.h:89
struct AllocDefRNA * prev
Definition: rna_internal.h:104
struct AllocDefRNA * next
Definition: rna_internal.h:104
ListBase allocs
Definition: rna_internal.h:111
struct StructRNA * laststruct
Definition: rna_internal.h:112
ListBase structs
Definition: rna_internal.h:110
struct SDNA * sdna
Definition: rna_internal.h:109
const char * updatefunc
Definition: rna_internal.h:127
struct BlenderDefRNA::@1145 fallback
bool make_overridable
Definition: rna_internal.h:119
struct BlenderDefRNA::@1145::@1146 property_update
ContainerRNA * cont
Definition: rna_internal.h:40
ListBase properties
Definition: rna_internal.h:41
const char * gencall
Definition: rna_internal.h:50
const char * srna
Definition: rna_internal.h:48
FunctionRNA * func
Definition: rna_internal.h:47
ContainerDefRNA cont
Definition: rna_internal.h:45
const char * call
Definition: rna_internal.h:49
Definition: DNA_ID.h:368
Definition: BKE_main.h:121
const char * dnatype
Definition: rna_internal.h:66
const char * dnaname
Definition: rna_internal.h:65
const char * dnastructfromprop
Definition: rna_internal.h:62
const char * dnastructname
Definition: rna_internal.h:60
struct ContainerRNA * cont
Definition: rna_internal.h:56
const char * dnalengthstructname
Definition: rna_internal.h:76
struct PropertyDefRNA * next
Definition: rna_internal.h:54
const char * dnalengthname
Definition: rna_internal.h:77
struct PropertyRNA * prop
Definition: rna_internal.h:57
const char * dnastructfromname
Definition: rna_internal.h:61
bool booleannegative
Definition: rna_internal.h:81
struct PropertyDefRNA * prev
Definition: rna_internal.h:54
int64_t booleanbit
Definition: rna_internal.h:80
struct StructRNA * srna
const char * identifier
const char * dnaname
Definition: rna_internal.h:94
ContainerDefRNA cont
Definition: rna_internal.h:89
ListBase functions
Definition: rna_internal.h:100
struct StructRNA * srna
Definition: rna_internal.h:91
const char * filename
Definition: rna_internal.h:92
const char * dnafromprop
Definition: rna_internal.h:98
const char * dnafromname
Definition: rna_internal.h:97
const char * identifier
float max
PointerRNA * ptr
Definition: wm_files.c:3480