Blender  V2.93
rna_internal.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
21 #pragma once
22 
23 #include "BLI_utildefines.h"
24 
25 #include "BLI_compiler_attrs.h"
26 
27 #include "rna_internal_types.h"
28 
29 #include "UI_resources.h"
30 
31 #define RNA_MAGIC ((int)~0)
32 
33 struct FreestyleSettings;
34 struct ID;
35 struct IDOverrideLibrary;
37 struct IDProperty;
38 struct Main;
39 struct Object;
40 struct ReportList;
41 struct SDNA;
42 struct ViewLayer;
43 
44 /* Data structures used during define */
45 
46 typedef struct ContainerDefRNA {
47  void *next, *prev;
48 
52 
53 typedef struct FunctionDefRNA {
55 
57  const char *srna;
58  const char *call;
59  const char *gencall;
61 
62 typedef struct PropertyDefRNA {
64 
65  struct ContainerRNA *cont;
66  struct PropertyRNA *prop;
67 
68  /* struct */
69  const char *dnastructname;
70  const char *dnastructfromname;
71  const char *dnastructfromprop;
72 
73  /* property */
74  const char *dnaname;
75  const char *dnatype;
81  int dnaoffset;
82  int dnasize;
83 
84  /* for finding length of array collections */
85  const char *dnalengthstructname;
86  const char *dnalengthname;
88 
91 
92  /* not to be confused with PROP_ENUM_FLAG
93  * this only allows one of the flags to be set at a time, clearing all others */
96 
97 typedef struct StructDefRNA {
99 
100  struct StructRNA *srna;
101  const char *filename;
102 
103  const char *dnaname;
104 
105  /* for derived structs to find data in some property */
106  const char *dnafromname;
107  const char *dnafromprop;
108 
111 
112 typedef struct AllocDefRNA {
113  struct AllocDefRNA *next, *prev;
114  void *mem;
116 
117 typedef struct BlenderDefRNA {
118  struct SDNA *sdna;
122  bool error;
123  bool silent;
125  bool verify;
126  bool animate;
129 
130  /* Keep last. */
131 #ifndef RNA_RUNTIME
132  struct {
134  struct {
135  int noteflag;
136  const char *updatefunc;
139 #endif
141 
142 extern BlenderDefRNA DefRNA;
143 
144 /* Define functions for all types */
145 #ifndef __RNA_ACCESS_H__
146 extern BlenderRNA BLENDER_RNA;
147 #endif
148 
149 void RNA_def_ID(struct BlenderRNA *brna);
150 void RNA_def_action(struct BlenderRNA *brna);
151 void RNA_def_animation(struct BlenderRNA *brna);
152 void RNA_def_animviz(struct BlenderRNA *brna);
153 void RNA_def_armature(struct BlenderRNA *brna);
154 void RNA_def_attribute(struct BlenderRNA *brna);
155 void RNA_def_asset(struct BlenderRNA *brna);
156 void RNA_def_boid(struct BlenderRNA *brna);
157 void RNA_def_brush(struct BlenderRNA *brna);
158 void RNA_def_cachefile(struct BlenderRNA *brna);
159 void RNA_def_camera(struct BlenderRNA *brna);
160 void RNA_def_cloth(struct BlenderRNA *brna);
161 void RNA_def_collections(struct BlenderRNA *brna);
162 void RNA_def_color(struct BlenderRNA *brna);
163 void RNA_def_constraint(struct BlenderRNA *brna);
164 void RNA_def_context(struct BlenderRNA *brna);
165 void RNA_def_curve(struct BlenderRNA *brna);
166 void RNA_def_depsgraph(struct BlenderRNA *brna);
167 void RNA_def_dynamic_paint(struct BlenderRNA *brna);
168 void RNA_def_fcurve(struct BlenderRNA *brna);
169 void RNA_def_gpencil(struct BlenderRNA *brna);
170 void RNA_def_greasepencil_modifier(struct BlenderRNA *brna);
171 void RNA_def_shader_fx(struct BlenderRNA *brna);
172 void RNA_def_hair(struct BlenderRNA *brna);
173 void RNA_def_image(struct BlenderRNA *brna);
174 void RNA_def_key(struct BlenderRNA *brna);
175 void RNA_def_light(struct BlenderRNA *brna);
176 void RNA_def_lattice(struct BlenderRNA *brna);
177 void RNA_def_linestyle(struct BlenderRNA *brna);
178 void RNA_def_main(struct BlenderRNA *brna);
179 void RNA_def_material(struct BlenderRNA *brna);
180 void RNA_def_mesh(struct BlenderRNA *brna);
181 void RNA_def_meta(struct BlenderRNA *brna);
182 void RNA_def_modifier(struct BlenderRNA *brna);
183 void RNA_def_nla(struct BlenderRNA *brna);
184 void RNA_def_nodetree(struct BlenderRNA *brna);
185 void RNA_def_object(struct BlenderRNA *brna);
186 void RNA_def_object_force(struct BlenderRNA *brna);
187 void RNA_def_packedfile(struct BlenderRNA *brna);
188 void RNA_def_palette(struct BlenderRNA *brna);
189 void RNA_def_particle(struct BlenderRNA *brna);
190 void RNA_def_pointcloud(struct BlenderRNA *brna);
191 void RNA_def_pose(struct BlenderRNA *brna);
192 void RNA_def_profile(struct BlenderRNA *brna);
193 void RNA_def_lightprobe(struct BlenderRNA *brna);
194 void RNA_def_render(struct BlenderRNA *brna);
195 void RNA_def_rigidbody(struct BlenderRNA *brna);
196 void RNA_def_rna(struct BlenderRNA *brna);
197 void RNA_def_scene(struct BlenderRNA *brna);
198 void RNA_def_simulation(struct BlenderRNA *brna);
199 void RNA_def_view_layer(struct BlenderRNA *brna);
200 void RNA_def_screen(struct BlenderRNA *brna);
201 void RNA_def_sculpt_paint(struct BlenderRNA *brna);
202 void RNA_def_sequencer(struct BlenderRNA *brna);
203 void RNA_def_fluid(struct BlenderRNA *brna);
204 void RNA_def_space(struct BlenderRNA *brna);
205 void RNA_def_speaker(struct BlenderRNA *brna);
206 void RNA_def_test(struct BlenderRNA *brna);
207 void RNA_def_text(struct BlenderRNA *brna);
208 void RNA_def_texture(struct BlenderRNA *brna);
209 void RNA_def_timeline_marker(struct BlenderRNA *brna);
210 void RNA_def_sound(struct BlenderRNA *brna);
211 void RNA_def_ui(struct BlenderRNA *brna);
212 void RNA_def_userdef(struct BlenderRNA *brna);
213 void RNA_def_vfont(struct BlenderRNA *brna);
214 void RNA_def_volume(struct BlenderRNA *brna);
215 void RNA_def_wm(struct BlenderRNA *brna);
216 void RNA_def_wm_gizmo(struct BlenderRNA *brna);
217 void RNA_def_workspace(struct BlenderRNA *brna);
218 void RNA_def_world(struct BlenderRNA *brna);
219 void RNA_def_movieclip(struct BlenderRNA *brna);
220 void RNA_def_tracking(struct BlenderRNA *brna);
221 void RNA_def_mask(struct BlenderRNA *brna);
222 void RNA_def_xr(struct BlenderRNA *brna);
223 
224 /* Common Define functions */
225 
226 void rna_def_attributes_common(struct StructRNA *srna);
227 
232 
233 void rna_def_animdata_common(struct StructRNA *srna);
234 
236  struct PointerRNA *ptr_local,
237  struct PointerRNA *ptr_reference,
238  struct PointerRNA *ptr_storage,
239  struct PropertyRNA *prop_local,
240  struct PropertyRNA *prop_reference,
241  struct PropertyRNA *prop_storage,
242  const int len_local,
243  const int len_reference,
244  const int len_storage,
245  struct PointerRNA *ptr_item_local,
246  struct PointerRNA *ptr_item_reference,
247  struct PointerRNA *ptr_item_storage,
249 
250 void rna_def_animviz_common(struct StructRNA *srna);
251 void rna_def_motionpath_common(struct StructRNA *srna);
252 
253 void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone, bool is_editbone);
254 
255 void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable);
256 void rna_def_mtex_common(struct BlenderRNA *brna,
257  struct StructRNA *srna,
258  const char *begin,
259  const char *activeget,
260  const char *activeset,
261  const char *activeeditable,
262  const char *structname,
263  const char *structname_slots,
264  const char *update,
265  const char *update_index);
266 void rna_def_texpaint_slots(struct BlenderRNA *brna, struct StructRNA *srna);
267 void rna_def_view_layer_common(struct BlenderRNA *brna, struct StructRNA *srna, const bool scene);
268 
270  int update_flag,
271  const char *update_cb);
272 void rna_ActionGroup_colorset_set(struct PointerRNA *ptr, int value);
274 
275 void rna_ID_name_get(struct PointerRNA *ptr, char *value);
277 void rna_ID_name_set(struct PointerRNA *ptr, const char *value);
279 struct IDProperty *rna_ID_idprops(struct PointerRNA *ptr, bool create);
280 void rna_ID_fake_user_set(struct PointerRNA *ptr, bool value);
282 struct IDProperty *rna_PropertyGroup_idprops(struct PointerRNA *ptr, bool create);
283 void rna_PropertyGroup_unregister(struct Main *bmain, struct StructRNA *type);
285  struct ReportList *reports,
286  void *data,
287  const char *identifier,
288  StructValidateFunc validate,
289  StructCallbackFunc call,
292 
293 void rna_object_vgroup_name_index_get(struct PointerRNA *ptr, char *value, int index);
295 void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index);
297  const char *value,
298  char *result,
299  int maxlen);
301  const char *value,
302  char *result,
303  int maxlen);
305  const char *value,
306  char *result,
307  int maxlen);
309 int rna_object_shapekey_index_set(struct ID *id, PointerRNA value, int current);
310 
311 /* ViewLayer related functions defined in rna_scene.c but required in rna_layer.c */
315  struct PointerRNA value,
316  struct ReportList *reports);
318  struct FreestyleSettings *config,
319  struct Main *bmain,
320  const char *name);
322  struct FreestyleSettings *config,
323  struct ReportList *reports,
324  struct PointerRNA *lineset_ptr);
327  struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax);
331  struct FreestyleSettings *config);
333  struct FreestyleSettings *config,
334  struct ReportList *reports,
335  struct PointerRNA *module_ptr);
336 
338  struct Scene *scene,
339  struct PointerRNA *ptr);
340 void rna_Scene_glsl_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
341 void rna_Scene_freestyle_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
342 void rna_ViewLayer_name_set(struct PointerRNA *ptr, const char *value);
344  struct Scene *activescene,
345  struct PointerRNA *ptr);
346 void rna_ViewLayer_pass_update(struct Main *bmain,
347  struct Scene *activescene,
348  struct PointerRNA *ptr);
350  PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax);
353 
354 /* named internal so as not to conflict with obj.update() rna func */
356  struct Scene *scene,
357  struct PointerRNA *ptr);
358 void rna_Mesh_update_draw(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
360 
361 /* basic poll functions for object types */
362 bool rna_Armature_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
363 bool rna_Camera_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
364 bool rna_Curve_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
365 bool rna_GPencil_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
366 bool rna_Light_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
367 bool rna_Lattice_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
368 bool rna_Mesh_object_poll(struct PointerRNA *ptr, struct PointerRNA value);
369 
370 /* basic poll functions for actions (to prevent actions getting set in wrong places) */
371 bool rna_Action_id_poll(struct PointerRNA *ptr, struct PointerRNA value);
373 
374 /* Grease Pencil datablock polling functions - for filtering GP Object vs Annotation datablocks */
376  const struct PointerRNA value);
378 
381 
382 /* Set U.is_dirty and redraw. */
384 void rna_userdef_is_dirty_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr);
385 
386 /* API functions */
387 
388 void RNA_api_action(StructRNA *srna);
389 void RNA_api_animdata(struct StructRNA *srna);
391 void RNA_api_bone(StructRNA *srna);
392 void RNA_api_camera(StructRNA *srna);
393 void RNA_api_curve(StructRNA *srna);
394 void RNA_api_curve_nurb(StructRNA *srna);
395 void RNA_api_fcurves(StructRNA *srna);
397 void RNA_api_image_packed_file(struct StructRNA *srna);
398 void RNA_api_image(struct StructRNA *srna);
399 void RNA_api_lattice(struct StructRNA *srna);
400 void RNA_api_operator(struct StructRNA *srna);
401 void RNA_api_macro(struct StructRNA *srna);
402 void RNA_api_gizmo(struct StructRNA *srna);
403 void RNA_api_gizmogroup(struct StructRNA *srna);
404 void RNA_api_keyconfig(struct StructRNA *srna);
405 void RNA_api_keyconfigs(struct StructRNA *srna);
406 void RNA_api_keyingset(struct StructRNA *srna);
407 void RNA_api_keymap(struct StructRNA *srna);
408 void RNA_api_keymaps(struct StructRNA *srna);
409 void RNA_api_keymapitem(struct StructRNA *srna);
410 void RNA_api_keymapitems(struct StructRNA *srna);
411 void RNA_api_main(struct StructRNA *srna);
413 void RNA_api_mesh(struct StructRNA *srna);
414 void RNA_api_meta(struct StructRNA *srna);
415 void RNA_api_object(struct StructRNA *srna);
416 void RNA_api_pose(struct StructRNA *srna);
417 void RNA_api_pose_channel(struct StructRNA *srna);
418 void RNA_api_scene(struct StructRNA *srna);
419 void RNA_api_scene_render(struct StructRNA *srna);
421 void RNA_api_text(struct StructRNA *srna);
422 void RNA_api_ui_layout(struct StructRNA *srna);
423 void RNA_api_window(struct StructRNA *srna);
424 void RNA_api_wm(struct StructRNA *srna);
425 void RNA_api_space_node(struct StructRNA *srna);
426 void RNA_api_space_text(struct StructRNA *srna);
427 void RNA_api_space_filebrowser(struct StructRNA *srna);
428 void RNA_api_region_view3d(struct StructRNA *srna);
429 void RNA_api_texture(struct StructRNA *srna);
430 void RNA_api_sequences(BlenderRNA *brna, PropertyRNA *cprop, const bool metastrip);
432 void RNA_api_sound(struct StructRNA *srna);
433 void RNA_api_vfont(struct StructRNA *srna);
434 void RNA_api_workspace(struct StructRNA *srna);
435 void RNA_api_workspace_tool(struct StructRNA *srna);
436 
437 /* main collection functions */
438 void RNA_def_main_cameras(BlenderRNA *brna, PropertyRNA *cprop);
439 void RNA_def_main_scenes(BlenderRNA *brna, PropertyRNA *cprop);
440 void RNA_def_main_objects(BlenderRNA *brna, PropertyRNA *cprop);
441 void RNA_def_main_materials(BlenderRNA *brna, PropertyRNA *cprop);
443 void RNA_def_main_meshes(BlenderRNA *brna, PropertyRNA *cprop);
444 void RNA_def_main_lights(BlenderRNA *brna, PropertyRNA *cprop);
445 void RNA_def_main_libraries(BlenderRNA *brna, PropertyRNA *cprop);
446 void RNA_def_main_screens(BlenderRNA *brna, PropertyRNA *cprop);
448 void RNA_def_main_images(BlenderRNA *brna, PropertyRNA *cprop);
449 void RNA_def_main_lattices(BlenderRNA *brna, PropertyRNA *cprop);
450 void RNA_def_main_curves(BlenderRNA *brna, PropertyRNA *cprop);
451 void RNA_def_main_metaballs(BlenderRNA *brna, PropertyRNA *cprop);
452 void RNA_def_main_fonts(BlenderRNA *brna, PropertyRNA *cprop);
453 void RNA_def_main_textures(BlenderRNA *brna, PropertyRNA *cprop);
454 void RNA_def_main_brushes(BlenderRNA *brna, PropertyRNA *cprop);
455 void RNA_def_main_worlds(BlenderRNA *brna, PropertyRNA *cprop);
457 void RNA_def_main_texts(BlenderRNA *brna, PropertyRNA *cprop);
458 void RNA_def_main_speakers(BlenderRNA *brna, PropertyRNA *cprop);
459 void RNA_def_main_sounds(BlenderRNA *brna, PropertyRNA *cprop);
460 void RNA_def_main_armatures(BlenderRNA *brna, PropertyRNA *cprop);
461 void RNA_def_main_actions(BlenderRNA *brna, PropertyRNA *cprop);
462 void RNA_def_main_particles(BlenderRNA *brna, PropertyRNA *cprop);
463 void RNA_def_main_palettes(BlenderRNA *brna, PropertyRNA *cprop);
464 void RNA_def_main_gpencil(BlenderRNA *brna, PropertyRNA *cprop);
466 void RNA_def_main_masks(BlenderRNA *brna, PropertyRNA *cprop);
472 #ifdef WITH_HAIR_NODES
473 void RNA_def_main_hairs(BlenderRNA *brna, PropertyRNA *cprop);
474 #endif
475 #ifdef WITH_POINT_CLOUD
476 void RNA_def_main_pointclouds(BlenderRNA *brna, PropertyRNA *cprop);
477 #endif
478 void RNA_def_main_volumes(BlenderRNA *brna, PropertyRNA *cprop);
479 #ifdef WITH_GEOMETRY_NODES
480 void RNA_def_main_simulations(BlenderRNA *brna, PropertyRNA *cprop);
481 #endif
482 
483 /* ID Properties */
484 
496 
497 #ifndef __RNA_ACCESS_H__
500 #endif
501 
502 struct IDProperty *rna_idproperty_check(struct PropertyRNA **prop,
507 
508 /* Override default callbacks. */
509 /* Default override callbacks for all types. */
510 /* TODO: Maybe at some point we'll want to write that in direct RNA-generated code instead
511  * (like we do for default get/set/etc.)?
512  * Not obvious though, those are fairly more complicated than basic SDNA access.
513  */
515  struct PropertyRNAOrID *prop_a,
516  struct PropertyRNAOrID *prop_b,
517  const int mode,
518  struct IDOverrideLibrary *override,
519  const char *rna_path,
520  const size_t rna_path_len,
521  const int flags,
522  bool *r_override_changed);
523 
525  struct PointerRNA *ptr_local,
526  struct PointerRNA *ptr_reference,
527  struct PointerRNA *ptr_storage,
528  struct PropertyRNA *prop_local,
529  struct PropertyRNA *prop_reference,
530  struct PropertyRNA *prop_storage,
531  const int len_local,
532  const int len_reference,
533  const int len_storage,
535 
537  struct PointerRNA *ptr_dst,
538  struct PointerRNA *ptr_src,
539  struct PointerRNA *ptr_storage,
540  struct PropertyRNA *prop_dst,
541  struct PropertyRNA *prop_src,
542  struct PropertyRNA *prop_storage,
543  const int len_dst,
544  const int len_src,
545  const int len_storage,
546  struct PointerRNA *ptr_item_dst,
547  struct PointerRNA *ptr_item_src,
548  struct PointerRNA *ptr_item_storage,
550 
551 /* Builtin Property Callbacks */
552 
558 
559 /* Iterators */
560 
562  struct ListBase *lb,
563  IteratorSkipFunc skip);
568  StructRNA *type,
569  struct ListBase *lb,
570  int index);
571 
573  void *ptr,
574  int itemsize,
575  int length,
576  bool free_ptr,
577  IteratorSkipFunc skip);
583  PointerRNA *ptr, StructRNA *type, void *data, int itemsize, int length, int index);
584 
585 /* Duplicated code since we can't link in blenlib */
586 
587 #ifndef RNA_RUNTIME
588 void *rna_alloc_from_buffer(const char *buffer, int buffer_len);
589 void *rna_calloc(int buffer_len);
590 #endif
591 
592 void rna_addtail(struct ListBase *listbase, void *vlink);
593 void rna_freelinkN(struct ListBase *listbase, void *vlink);
594 void rna_freelistN(struct ListBase *listbase);
595 PropertyDefRNA *rna_findlink(ListBase *listbase, const char *identifier);
596 
601 
602 /* Pointer Handling */
603 
605 
606 /* Functions */
607 
608 int rna_parameter_size(struct PropertyRNA *parm);
609 
610 /* XXX, these should not need to be defined here~! */
611 struct MTex *rna_mtex_texture_slots_add(struct ID *self,
612  struct bContext *C,
613  struct ReportList *reports);
614 struct MTex *rna_mtex_texture_slots_create(struct ID *self,
615  struct bContext *C,
616  struct ReportList *reports,
617  int index);
619  struct bContext *C,
620  struct ReportList *reports,
621  int index);
622 
624  int key,
625  const struct PointerRNA *assign_ptr);
626 
627 const char *rna_translate_ui_text(const char *text,
628  const char *text_ctxt,
629  struct StructRNA *type,
630  struct PropertyRNA *prop,
631  bool translate);
632 
633 /* Internal functions that cycles uses so we need to declare (tsk tsk) */
634 void rna_RenderPass_rect_set(PointerRNA *ptr, const float *values);
635 
636 #ifdef RNA_RUNTIME
637 # ifdef __GNUC__
638 # pragma GCC diagnostic ignored "-Wredundant-decls"
639 # endif
640 #endif
641 
642 /* C11 for compile time range checks */
643 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
644 # define USE_RNA_RANGE_CHECK
645 # define TYPEOF_MAX(x) \
646  _Generic((x), bool : 1, char \
647  : CHAR_MAX, signed char \
648  : SCHAR_MAX, unsigned char \
649  : UCHAR_MAX, signed short \
650  : SHRT_MAX, unsigned short \
651  : USHRT_MAX, signed int \
652  : INT_MAX, unsigned int \
653  : UINT_MAX, float \
654  : FLT_MAX, double \
655  : DBL_MAX)
656 
657 # define TYPEOF_MIN(x) \
658  _Generic((x), bool : 0, char \
659  : CHAR_MIN, signed char \
660  : SCHAR_MIN, unsigned char : 0, signed short \
661  : SHRT_MIN, unsigned short : 0, signed int \
662  : INT_MIN, unsigned int : 0, float \
663  : -FLT_MAX, double \
664  : -DBL_MAX)
665 #endif
struct FreestyleSettings FreestyleSettings
Definition: BKE_freestyle.h:37
void BLI_kdtree_nd_() int BLI_kdtree_nd_() int BLI_kdtree_nd_() int BLI_kdtree_nd_() ATTR_WARN_UNUSED_RESULT
void BLI_kdtree_nd_() free(KDTree *tree)
Definition: kdtree_impl.h:116
_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:652
int(* StructValidateFunc)(struct PointerRNA *ptr, void *data, int *have_function)
Definition: RNA_types.h:647
int(* StructCallbackFunc)(struct bContext *C, struct PointerRNA *ptr, struct FunctionRNA *func, ParameterList *list)
Definition: RNA_types.h:648
int(* IteratorSkipFunc)(struct CollectionPropertyIterator *iter, void *data)
Definition: RNA_types.h:352
#define C
Definition: RandGen.cpp:39
SIMD_FORCE_INLINE btScalar length(const btQuaternion &q)
Return the length of a quaternion.
Definition: btQuaternion.h:895
Scene scene
__kernel void ccl_constant KernelData ccl_global void ccl_global char ccl_global int ccl_global char ccl_global unsigned int ccl_global float * buffer
static void update(bNodeTree *ntree)
StructDefRNA * rna_find_struct_def(StructRNA *srna)
Definition: rna_define.c:233
void RNA_api_keymapitem(struct StructRNA *srna)
Definition: rna_wm_api.c:1102
int rna_builtin_properties_lookup_string(PointerRNA *ptr, const char *key, PointerRNA *r_ptr)
FloatPropertyRNA rna_PropertyGroupItem_double_array
void RNA_api_keyconfig(struct StructRNA *srna)
void RNA_api_armature_edit_bone(StructRNA *srna)
void RNA_api_action(StructRNA *srna)
IntPropertyRNA rna_PropertyGroupItem_int_array
void RNA_def_lattice(struct BlenderRNA *brna)
Definition: rna_lattice.c:414
void RNA_def_linestyle(struct BlenderRNA *brna)
void rna_def_animviz_common(struct StructRNA *srna)
Definition: rna_animviz.c:308
CollectionPropertyRNA rna_PropertyGroupItem_collection
struct StructDefRNA StructDefRNA
void RNA_api_animdata(struct StructRNA *srna)
CollectionPropertyRNA rna_PropertyGroupItem_idp_array
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:226
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:1667
void RNA_def_attribute(struct BlenderRNA *brna)
bool rna_Curve_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
char * rna_TextureSlot_path(struct PointerRNA *ptr)
void RNA_def_meta(struct BlenderRNA *brna)
Definition: rna_meta.c:429
void RNA_def_sequencer(struct BlenderRNA *brna)
void RNA_api_text(struct StructRNA *srna)
Definition: rna_text_api.c:63
void RNA_def_main_window_managers(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_keyconfigs(struct StructRNA *srna)
Definition: rna_wm_api.c:1256
void RNA_def_rna(struct BlenderRNA *brna)
Definition: rna_rna.c:3261
void rna_FreestyleSettings_active_lineset_index_set(struct PointerRNA *ptr, int value)
void RNA_def_brush(struct BlenderRNA *brna)
Definition: rna_brush.c:3542
void rna_def_actionbone_group_common(struct StructRNA *srna, int update_flag, const char *update_cb)
Definition: rna_pose.c:889
char * rna_Node_ImageUser_path(struct PointerRNA *ptr)
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:686
void RNA_api_pose_channel(struct StructRNA *srna)
Definition: rna_pose_api.c:155
void RNA_def_curve(struct BlenderRNA *brna)
Definition: rna_curve.c:2088
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:898
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:921
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:218
void rna_ID_name_set(struct PointerRNA *ptr, const char *value)
FloatPropertyRNA rna_PropertyGroupItem_double
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:51
struct IDProperty * rna_idproperty_check(struct PropertyRNA **prop, struct PointerRNA *ptr) ATTR_WARN_UNUSED_RESULT
Definition: rna_access.c:626
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:85
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:426
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_def_view_layer_common(struct BlenderRNA *brna, struct StructRNA *srna, const bool scene)
Definition: rna_scene.c:3980
void rna_iterator_array_end(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4938
int rna_ViewLayer_active_aov_index_get(PointerRNA *ptr)
void RNA_def_text(struct BlenderRNA *brna)
Definition: rna_text.c:305
int rna_ID_name_length(struct PointerRNA *ptr)
void RNA_api_pose(struct StructRNA *srna)
Definition: rna_pose_api.c:129
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:4907
void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index)
void rna_builtin_properties_next(struct CollectionPropertyIterator *iter)
void rna_object_vgroup_name_index_get(struct PointerRNA *ptr, char *value, int index)
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:1173
void rna_RenderPass_rect_set(PointerRNA *ptr, const float *values)
void rna_iterator_listbase_next(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4839
void RNA_def_particle(struct BlenderRNA *brna)
int rna_property_override_diff_default(struct Main *bmain, struct PropertyRNAOrID *prop_a, struct PropertyRNAOrID *prop_b, const int mode, struct IDOverrideLibrary *override, const char *rna_path, const size_t rna_path_len, const int flags, bool *r_override_changed)
void RNA_def_main_images(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_render(struct BlenderRNA *brna)
Definition: rna_render.c:1119
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)
PointerPropertyRNA rna_PropertyGroupItem_id
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_main_volumes(BlenderRNA *brna, PropertyRNA *cprop)
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, const int len_local, const int len_reference, const int len_storage, struct PointerRNA *ptr_item_local, struct PointerRNA *ptr_item_reference, struct PointerRNA *ptr_item_storage, struct IDOverrideLibraryPropertyOperation *opop)
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:253
void RNA_api_main(struct StructRNA *srna)
struct IDProperty * rna_ID_idprops(struct PointerRNA *ptr, bool create)
struct StructRNA * rna_ID_refine(struct PointerRNA *ptr)
void RNA_def_wm(struct BlenderRNA *brna)
Definition: rna_wm.c:2820
void RNA_api_lattice(struct StructRNA *srna)
BlenderRNA BLENDER_RNA
int rna_parameter_size(struct PropertyRNA *parm)
Definition: rna_define.c:4342
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:175
void RNA_def_volume(struct BlenderRNA *brna)
Definition: rna_volume.c:629
StructRNA RNA_PropertyGroupItem
void RNA_def_test(struct BlenderRNA *brna)
Definition: rna_test.c:115
void RNA_def_camera(struct BlenderRNA *brna)
Definition: rna_camera.c:487
void rna_def_freestyle_settings(struct BlenderRNA *brna)
Definition: rna_scene.c:4525
void RNA_api_space_filebrowser(struct StructRNA *srna)
void RNA_api_scene(struct StructRNA *srna)
void rna_def_motionpath_common(struct StructRNA *srna)
Definition: rna_animviz.c:85
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:4948
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:1083
void rna_iterator_listbase_begin(struct CollectionPropertyIterator *iter, struct ListBase *lb, IteratorSkipFunc skip)
Definition: rna_access.c:4823
StringPropertyRNA rna_PropertyGroupItem_string
void RNA_def_main_libraries(BlenderRNA *brna, PropertyRNA *cprop)
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, const int len_dst, const int len_src, const int len_storage, struct PointerRNA *ptr_item_dst, struct PointerRNA *ptr_item_src, struct PointerRNA *ptr_item_storage, struct IDOverrideLibraryPropertyOperation *opop)
void RNA_def_shader_fx(struct BlenderRNA *brna)
void RNA_def_main_paintcurves(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_ID(struct BlenderRNA *brna)
Definition: rna_ID.c:1860
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)
Definition: rna_material.c:992
void rna_iterator_listbase_end(struct CollectionPropertyIterator *iter)
void RNA_api_ui_layout(struct StructRNA *srna)
Definition: rna_ui_api.c:755
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:4866
void RNA_api_wm(struct StructRNA *srna)
Definition: rna_wm_api.c:742
void RNA_def_nla(struct BlenderRNA *brna)
Definition: rna_nla.c:937
bool rna_Lattice_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void RNA_def_fluid(struct BlenderRNA *brna)
Definition: rna_fluid.c:3028
void * rna_iterator_listbase_get(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4855
void RNA_def_main_lights(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_gpencil(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_rigidbody(struct BlenderRNA *brna)
void RNA_api_sound(struct StructRNA *srna)
Definition: rna_sound_api.c:54
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:235
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:90
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:1808
void * rna_iterator_array_get(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4923
void RNA_def_material(struct BlenderRNA *brna)
Definition: rna_material.c:706
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:1074
void RNA_def_main_particles(BlenderRNA *brna, PropertyRNA *cprop)
PointerPropertyRNA rna_PropertyGroupItem_group
IntPropertyRNA rna_PropertyGroupItem_int
void RNA_api_keymaps(struct StructRNA *srna)
Definition: rna_wm_api.c:1212
void RNA_def_space(struct BlenderRNA *brna)
Definition: rna_space.c:7579
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:525
void RNA_api_curve_nurb(StructRNA *srna)
Definition: rna_curve_api.c:79
void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable)
Definition: rna_mesh.c:2316
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:1156
void RNA_api_window(struct StructRNA *srna)
Definition: rna_wm_api.c:693
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:3423
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:554
void RNA_def_pose(struct BlenderRNA *brna)
Definition: rna_pose.c:1745
void RNA_def_world(struct BlenderRNA *brna)
Definition: rna_world.c:197
void RNA_def_sculpt_paint(struct BlenderRNA *brna)
void RNA_def_timeline_marker(struct BlenderRNA *brna)
Definition: rna_timeline.c:92
struct PropertyRNA * rna_ensure_property_realdata(struct PropertyRNA **prop, struct PointerRNA *ptr) ATTR_WARN_UNUSED_RESULT
Definition: rna_access.c:638
void RNA_def_gpencil(struct BlenderRNA *brna)
Definition: rna_gpencil.c:2710
void RNA_api_sequences(BlenderRNA *brna, PropertyRNA *cprop, const bool metastrip)
void RNA_api_region_view3d(struct StructRNA *srna)
Definition: rna_space_api.c:76
StructRNA RNA_PropertyGroup
void RNA_def_object(struct BlenderRNA *brna)
Definition: rna_object.c:3613
void RNA_def_nodetree(struct BlenderRNA *brna)
void * rna_iterator_array_dereference_get(struct CollectionPropertyIterator *iter)
Definition: rna_access.c:4930
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:417
void RNA_def_main_metaballs(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_main_speakers(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_api_space_text(struct StructRNA *srna)
void RNA_def_userdef(struct BlenderRNA *brna)
Definition: rna_userdef.c:6362
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:310
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:1047
void RNA_def_fcurve(struct BlenderRNA *brna)
Definition: rna_fcurve.c:2491
void rna_ID_fake_user_set(struct PointerRNA *ptr, bool value)
void RNA_def_scene(struct BlenderRNA *brna)
Definition: rna_scene.c:7480
BlenderDefRNA DefRNA
Definition: rna_define.c:64
void RNA_def_vfont(struct BlenderRNA *brna)
Definition: rna_vfont.c:64
void RNA_def_main_scenes(BlenderRNA *brna, PropertyRNA *cprop)
Definition: rna_main_api.c:942
void RNA_def_dynamic_paint(struct BlenderRNA *brna)
void RNA_def_action(struct BlenderRNA *brna)
Definition: rna_action.c:867
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_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, const int len_local, const int len_reference, const int len_storage, struct IDOverrideLibraryPropertyOperation *opop)
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:4875
PropertyDefRNA * rna_find_parameter_def(PropertyRNA *parm)
Definition: rna_define.c:342
void RNA_def_main_materials(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_hair(struct BlenderRNA *brna)
Definition: rna_hair.c:235
void RNA_api_operator(struct StructRNA *srna)
Definition: rna_wm_api.c:940
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_api_keyingset(struct StructRNA *srna)
void RNA_api_mesh(struct StructRNA *srna)
Definition: rna_mesh_api.c:217
FloatPropertyRNA rna_PropertyGroupItem_float_array
void rna_addtail(struct ListBase *listbase, void *vlink)
Definition: rna_define.c:123
FloatPropertyRNA rna_PropertyGroupItem_float
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:650
void rna_freelistN(struct ListBase *listbase)
Definition: rna_define.c:178
void RNA_api_vfont(struct StructRNA *srna)
Definition: rna_vfont_api.c:54
PointerRNA rna_object_shapekey_index_get(struct ID *id, int value)
void RNA_def_screen(struct BlenderRNA *brna)
Definition: rna_screen.c:684
void RNA_def_modifier(struct BlenderRNA *brna)
void rna_freelinkN(struct ListBase *listbase, void *vlink)
Definition: rna_define.c:172
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)
void RNA_api_curve(StructRNA *srna)
Definition: rna_curve_api.c:57
PropertyDefRNA * rna_findlink(ListBase *listbase, const char *identifier)
Definition: rna_define.c:158
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:1327
void RNA_api_keymapitems(struct StructRNA *srna)
Definition: rna_wm_api.c:1120
struct AllocDefRNA AllocDefRNA
void RNA_def_packedfile(struct BlenderRNA *brna)
void RNA_def_boid(struct BlenderRNA *brna)
Definition: rna_boid.c:721
void RNA_def_speaker(struct BlenderRNA *brna)
Definition: rna_speaker.c:157
void RNA_def_main_objects(BlenderRNA *brna, PropertyRNA *cprop)
Definition: rna_main_api.c:975
PointerRNA rna_builtin_type_get(struct PointerRNA *ptr)
void RNA_def_animviz(struct BlenderRNA *brna)
Definition: rna_animviz.c:338
PointerRNA rna_pointer_inherit_refine(struct PointerRNA *ptr, struct StructRNA *type, void *data)
Definition: rna_access.c:196
int rna_object_vgroup_name_index_length(struct PointerRNA *ptr, int index)
void RNA_def_workspace(struct BlenderRNA *brna)
struct IDProperty * rna_PropertyGroup_idprops(struct PointerRNA *ptr, bool create)
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)
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:185
void RNA_def_cloth(struct BlenderRNA *brna)
Definition: rna_cloth.c:1209
static void update_cb(PBVHNode *node, void *rebuild)
Definition: sculpt_undo.c:120
#define min(a, b)
Definition: sort.c:51
__int64 int64_t
Definition: stdint.h:92
struct AllocDefRNA * prev
Definition: rna_internal.h:113
struct AllocDefRNA * next
Definition: rna_internal.h:113
ListBase allocs
Definition: rna_internal.h:120
struct StructRNA * laststruct
Definition: rna_internal.h:121
ListBase structs
Definition: rna_internal.h:119
struct BlenderDefRNA::@1097 fallback
struct SDNA * sdna
Definition: rna_internal.h:118
const char * updatefunc
Definition: rna_internal.h:136
bool make_overridable
Definition: rna_internal.h:128
struct BlenderDefRNA::@1097::@1098 property_update
ContainerRNA * cont
Definition: rna_internal.h:49
ListBase properties
Definition: rna_internal.h:50
const char * gencall
Definition: rna_internal.h:59
const char * srna
Definition: rna_internal.h:57
FunctionRNA * func
Definition: rna_internal.h:56
ContainerDefRNA cont
Definition: rna_internal.h:54
const char * call
Definition: rna_internal.h:58
Definition: DNA_ID.h:273
Definition: BKE_main.h:116
const char * dnatype
Definition: rna_internal.h:75
const char * dnaname
Definition: rna_internal.h:74
const char * dnastructfromprop
Definition: rna_internal.h:71
const char * dnastructname
Definition: rna_internal.h:69
struct ContainerRNA * cont
Definition: rna_internal.h:65
const char * dnalengthstructname
Definition: rna_internal.h:85
struct PropertyDefRNA * next
Definition: rna_internal.h:63
const char * dnalengthname
Definition: rna_internal.h:86
struct PropertyRNA * prop
Definition: rna_internal.h:66
const char * dnastructfromname
Definition: rna_internal.h:70
bool booleannegative
Definition: rna_internal.h:90
struct PropertyDefRNA * prev
Definition: rna_internal.h:63
int64_t booleanbit
Definition: rna_internal.h:89
struct StructRNA * srna
const char * identifier
const char * dnaname
Definition: rna_internal.h:103
ContainerDefRNA cont
Definition: rna_internal.h:98
ListBase functions
Definition: rna_internal.h:109
struct StructRNA * srna
Definition: rna_internal.h:100
const char * filename
Definition: rna_internal.h:101
const char * dnafromprop
Definition: rna_internal.h:107
const char * dnafromname
Definition: rna_internal.h:106
const char * identifier
float max
PointerRNA * ptr
Definition: wm_files.c:3157