Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_internal.h
| Show All 37 Lines | |||||
| struct FreestyleSettings; | struct FreestyleSettings; | ||||
| struct ID; | struct ID; | ||||
| struct IDProperty; | struct IDProperty; | ||||
| struct Main; | struct Main; | ||||
| struct Mesh; | struct Mesh; | ||||
| struct Object; | struct Object; | ||||
| struct ReportList; | struct ReportList; | ||||
| struct SDNA; | struct SDNA; | ||||
| struct SceneLayer; | struct ViewLayer; | ||||
| /* Data structures used during define */ | /* Data structures used during define */ | ||||
| typedef struct ContainerDefRNA { | typedef struct ContainerDefRNA { | ||||
| void *next, *prev; | void *next, *prev; | ||||
| ContainerRNA *cont; | ContainerRNA *cont; | ||||
| ListBase properties; | ListBase properties; | ||||
| ▲ Show 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | |||||
| void RNA_def_palette(struct BlenderRNA *brna); | void RNA_def_palette(struct BlenderRNA *brna); | ||||
| void RNA_def_particle(struct BlenderRNA *brna); | void RNA_def_particle(struct BlenderRNA *brna); | ||||
| void RNA_def_pose(struct BlenderRNA *brna); | void RNA_def_pose(struct BlenderRNA *brna); | ||||
| void RNA_def_lightprobe(struct BlenderRNA *brna); | void RNA_def_lightprobe(struct BlenderRNA *brna); | ||||
| void RNA_def_render(struct BlenderRNA *brna); | void RNA_def_render(struct BlenderRNA *brna); | ||||
| void RNA_def_rigidbody(struct BlenderRNA *brna); | void RNA_def_rigidbody(struct BlenderRNA *brna); | ||||
| void RNA_def_rna(struct BlenderRNA *brna); | void RNA_def_rna(struct BlenderRNA *brna); | ||||
| void RNA_def_scene(struct BlenderRNA *brna); | void RNA_def_scene(struct BlenderRNA *brna); | ||||
| void RNA_def_scene_layer(struct BlenderRNA *brna); | void RNA_def_view_layer(struct BlenderRNA *brna); | ||||
| void RNA_def_screen(struct BlenderRNA *brna); | void RNA_def_screen(struct BlenderRNA *brna); | ||||
| void RNA_def_sculpt_paint(struct BlenderRNA *brna); | void RNA_def_sculpt_paint(struct BlenderRNA *brna); | ||||
| void RNA_def_sensor(struct BlenderRNA *brna); | void RNA_def_sensor(struct BlenderRNA *brna); | ||||
| void RNA_def_sequencer(struct BlenderRNA *brna); | void RNA_def_sequencer(struct BlenderRNA *brna); | ||||
| void RNA_def_smoke(struct BlenderRNA *brna); | void RNA_def_smoke(struct BlenderRNA *brna); | ||||
| void RNA_def_space(struct BlenderRNA *brna); | void RNA_def_space(struct BlenderRNA *brna); | ||||
| void RNA_def_speaker(struct BlenderRNA *brna); | void RNA_def_speaker(struct BlenderRNA *brna); | ||||
| void RNA_def_test(struct BlenderRNA *brna); | void RNA_def_test(struct BlenderRNA *brna); | ||||
| Show All 21 Lines | |||||
| void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone); | void rna_def_bone_curved_common(struct StructRNA *srna, bool is_posebone); | ||||
| void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable); | void rna_def_texmat_common(struct StructRNA *srna, const char *texspace_editable); | ||||
| void rna_def_mtex_common(struct BlenderRNA *brna, struct StructRNA *srna, const char *begin, const char *activeget, | 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 *activeset, const char *activeeditable, const char *structname, | ||||
| const char *structname_slots, const char *update, const char *update_index); | const char *structname_slots, const char *update, const char *update_index); | ||||
| void rna_def_texpaint_slots(struct BlenderRNA *brna, struct StructRNA *srna); | void rna_def_texpaint_slots(struct BlenderRNA *brna, struct StructRNA *srna); | ||||
| void rna_def_render_layer_common(struct StructRNA *srna, int scene); | void rna_def_view_layer_common(struct StructRNA *srna, int scene); | ||||
| void rna_def_actionbone_group_common(struct StructRNA *srna, int update_flag, const char *update_cb); | void rna_def_actionbone_group_common(struct StructRNA *srna, int update_flag, const char *update_cb); | ||||
| void rna_ActionGroup_colorset_set(struct PointerRNA *ptr, int value); | void rna_ActionGroup_colorset_set(struct PointerRNA *ptr, int value); | ||||
| int rna_ActionGroup_is_custom_colorset_get(struct PointerRNA *ptr); | int rna_ActionGroup_is_custom_colorset_get(struct PointerRNA *ptr); | ||||
| void rna_ID_name_get(struct PointerRNA *ptr, char *value); | void rna_ID_name_get(struct PointerRNA *ptr, char *value); | ||||
| int rna_ID_name_length(struct PointerRNA *ptr); | int rna_ID_name_length(struct PointerRNA *ptr); | ||||
| void rna_ID_name_set(struct PointerRNA *ptr, const char *value); | void rna_ID_name_set(struct PointerRNA *ptr, const char *value); | ||||
| Show All 12 Lines | |||||
| int rna_object_vgroup_name_index_length(struct PointerRNA *ptr, int index); | int rna_object_vgroup_name_index_length(struct PointerRNA *ptr, int index); | ||||
| void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index); | void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index); | ||||
| void rna_object_vgroup_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen); | void rna_object_vgroup_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen); | ||||
| void rna_object_uvlayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen); | void rna_object_uvlayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen); | ||||
| void rna_object_vcollayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen); | void rna_object_vcollayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen); | ||||
| PointerRNA rna_object_shapekey_index_get(struct ID *id, int value); | PointerRNA rna_object_shapekey_index_get(struct ID *id, int value); | ||||
| int rna_object_shapekey_index_set(struct ID *id, PointerRNA value, int current); | int rna_object_shapekey_index_set(struct ID *id, PointerRNA value, int current); | ||||
| /* SceneLayer related functions defined in rna_scene.c but required in rna_layer.c */ | /* ViewLayer related functions defined in rna_scene.c but required in rna_layer.c */ | ||||
| void rna_def_freestyle_settings(struct BlenderRNA *brna); | void rna_def_freestyle_settings(struct BlenderRNA *brna); | ||||
| struct PointerRNA rna_FreestyleLineSet_linestyle_get(struct PointerRNA *ptr); | struct PointerRNA rna_FreestyleLineSet_linestyle_get(struct PointerRNA *ptr); | ||||
| void rna_FreestyleLineSet_linestyle_set(struct PointerRNA *ptr, struct PointerRNA value); | void rna_FreestyleLineSet_linestyle_set(struct PointerRNA *ptr, struct PointerRNA value); | ||||
| struct FreestyleLineSet *rna_FreestyleSettings_lineset_add( | struct FreestyleLineSet *rna_FreestyleSettings_lineset_add( | ||||
| struct ID *id, struct FreestyleSettings *config, struct Main *bmain, const char *name); | struct ID *id, struct FreestyleSettings *config, struct Main *bmain, const char *name); | ||||
| void rna_FreestyleSettings_lineset_remove( | void rna_FreestyleSettings_lineset_remove( | ||||
| struct ID *id, struct FreestyleSettings *config, struct ReportList *reports, struct PointerRNA *lineset_ptr); | struct ID *id, struct FreestyleSettings *config, struct ReportList *reports, struct PointerRNA *lineset_ptr); | ||||
| struct PointerRNA rna_FreestyleSettings_active_lineset_get(struct PointerRNA *ptr); | struct PointerRNA rna_FreestyleSettings_active_lineset_get(struct PointerRNA *ptr); | ||||
| void rna_FreestyleSettings_active_lineset_index_range( | void rna_FreestyleSettings_active_lineset_index_range( | ||||
| struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax); | struct PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax); | ||||
| int rna_FreestyleSettings_active_lineset_index_get(struct PointerRNA *ptr); | int rna_FreestyleSettings_active_lineset_index_get(struct PointerRNA *ptr); | ||||
| void rna_FreestyleSettings_active_lineset_index_set(struct PointerRNA *ptr, int value); | void rna_FreestyleSettings_active_lineset_index_set(struct PointerRNA *ptr, int value); | ||||
| struct FreestyleModuleConfig *rna_FreestyleSettings_module_add(struct ID *id, struct FreestyleSettings *config); | struct FreestyleModuleConfig *rna_FreestyleSettings_module_add(struct ID *id, struct FreestyleSettings *config); | ||||
| void rna_FreestyleSettings_module_remove( | void rna_FreestyleSettings_module_remove( | ||||
| struct ID *id, struct FreestyleSettings *config, struct ReportList *reports, struct PointerRNA *module_ptr); | struct ID *id, struct FreestyleSettings *config, struct ReportList *reports, struct PointerRNA *module_ptr); | ||||
| void rna_Scene_use_view_map_cache_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | void rna_Scene_use_view_map_cache_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | ||||
| void rna_Scene_glsl_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | void rna_Scene_glsl_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | ||||
| void rna_Scene_freestyle_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | void rna_Scene_freestyle_update(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | ||||
| void rna_SceneLayer_name_set(struct PointerRNA *ptr, const char *value); | void rna_ViewLayer_name_set(struct PointerRNA *ptr, const char *value); | ||||
| void rna_SceneLayer_pass_update(struct Main *bmain, struct Scene *activescene, struct PointerRNA *ptr); | void rna_ViewLayer_pass_update(struct Main *bmain, struct Scene *activescene, struct PointerRNA *ptr); | ||||
| /* named internal so as not to conflict with obj.update() rna func */ | /* named internal so as not to conflict with obj.update() rna func */ | ||||
| void rna_Object_internal_update_data(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | void rna_Object_internal_update_data(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | ||||
| void rna_Mesh_update_draw(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | void rna_Mesh_update_draw(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr); | ||||
| void rna_TextureSlot_update(struct bContext *C, struct PointerRNA *ptr); | void rna_TextureSlot_update(struct bContext *C, struct PointerRNA *ptr); | ||||
| /* basic poll functions for object types */ | /* basic poll functions for object types */ | ||||
| int rna_Armature_object_poll(struct PointerRNA *ptr, struct PointerRNA value); | int rna_Armature_object_poll(struct PointerRNA *ptr, struct PointerRNA value); | ||||
| ▲ Show 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | |||||
| PointerRNA rna_pointer_inherit_refine(struct PointerRNA *ptr, struct StructRNA *type, void *data); | PointerRNA rna_pointer_inherit_refine(struct PointerRNA *ptr, struct StructRNA *type, void *data); | ||||
| /* Functions */ | /* Functions */ | ||||
| int rna_parameter_size(struct PropertyRNA *parm); | int rna_parameter_size(struct PropertyRNA *parm); | ||||
| struct Mesh *rna_Main_meshes_new_from_object( | struct Mesh *rna_Main_meshes_new_from_object( | ||||
| struct Main *bmain, struct ReportList *reports, struct Scene *sce, struct SceneLayer *scene_layer, | struct Main *bmain, struct ReportList *reports, struct Scene *sce, struct ViewLayer *view_layer, | ||||
| struct Object *ob, int apply_modifiers, int settings, int calc_tessface, int calc_undeformed); | struct Object *ob, int apply_modifiers, int settings, int calc_tessface, int calc_undeformed); | ||||
| /* XXX, these should not need to be defined here~! */ | /* XXX, these should not need to be defined here~! */ | ||||
| struct MTex *rna_mtex_texture_slots_add(struct ID *self, struct bContext *C, struct ReportList *reports); | struct MTex *rna_mtex_texture_slots_add(struct ID *self, struct bContext *C, struct ReportList *reports); | ||||
| struct MTex *rna_mtex_texture_slots_create(struct ID *self, struct bContext *C, struct ReportList *reports, int index); | struct MTex *rna_mtex_texture_slots_create(struct ID *self, struct bContext *C, struct ReportList *reports, int index); | ||||
| void rna_mtex_texture_slots_clear(struct ID *self, struct bContext *C, struct ReportList *reports, int index); | void rna_mtex_texture_slots_clear(struct ID *self, struct bContext *C, struct ReportList *reports, int index); | ||||
| Show All 36 Lines | |||||