Blender  V2.93
Typedefs | Enumerations | Functions
DEG_depsgraph_build.h File Reference
#include "BLI_sys_types.h"

Go to the source code of this file.

Typedefs

typedef enum eDepsSceneComponentType eDepsSceneComponentType
 
typedef enum eDepsObjectComponentType eDepsObjectComponentType
 

Enumerations

enum  eDepsSceneComponentType { DEG_SCENE_COMP_PARAMETERS , DEG_SCENE_COMP_ANIMATION , DEG_SCENE_COMP_SEQUENCER }
 
enum  eDepsObjectComponentType {
  DEG_OB_COMP_ANY , DEG_OB_COMP_PARAMETERS , DEG_OB_COMP_PROXY , DEG_OB_COMP_ANIMATION ,
  DEG_OB_COMP_TRANSFORM , DEG_OB_COMP_GEOMETRY , DEG_OB_COMP_EVAL_POSE , DEG_OB_COMP_BONE ,
  DEG_OB_COMP_SHADING , DEG_OB_COMP_CACHE
}
 

Functions

void DEG_graph_build_from_view_layer (struct Depsgraph *graph)
 
void DEG_graph_build_for_all_objects (struct Depsgraph *graph)
 
void DEG_graph_build_for_render_pipeline (struct Depsgraph *graph)
 
void DEG_graph_build_for_compositor_preview (struct Depsgraph *graph, struct bNodeTree *nodetree)
 
void DEG_graph_build_from_ids (struct Depsgraph *graph, struct ID **ids, const int num_ids)
 
void DEG_graph_tag_relations_update (struct Depsgraph *graph)
 
void DEG_graph_relations_update (struct Depsgraph *graph)
 
void DEG_relations_tag_update (struct Main *bmain)
 
void DEG_add_scene_relation (struct DepsNodeHandle *node_handle, struct Scene *scene, eDepsSceneComponentType component, const char *description)
 
void DEG_add_object_relation (struct DepsNodeHandle *node_handle, struct Object *object, eDepsObjectComponentType component, const char *description)
 
void DEG_add_collection_geometry_relation (struct DepsNodeHandle *node_handle, struct Collection *collection, const char *description)
 
void DEG_add_collection_geometry_customdata_mask (struct DepsNodeHandle *node_handle, struct Collection *collection, const struct CustomData_MeshMasks *masks)
 
void DEG_add_simulation_relation (struct DepsNodeHandle *node_handle, struct Simulation *simulation, const char *description)
 
void DEG_add_node_tree_relation (struct DepsNodeHandle *node_handle, struct bNodeTree *node_tree, const char *description)
 
void DEG_add_bone_relation (struct DepsNodeHandle *handle, struct Object *object, const char *bone_name, eDepsObjectComponentType component, const char *description)
 
void DEG_add_object_cache_relation (struct DepsNodeHandle *handle, struct CacheFile *cache_file, eDepsObjectComponentType component, const char *description)
 
void DEG_add_generic_id_relation (struct DepsNodeHandle *node_handle, struct ID *id, const char *description)
 
void DEG_add_modifier_to_transform_relation (struct DepsNodeHandle *node_handle, const char *description)
 
void DEG_add_object_pointcache_relation (struct DepsNodeHandle *node_handle, struct Object *object, eDepsObjectComponentType component, const char *description)
 
void DEG_add_special_eval_flag (struct DepsNodeHandle *handle, struct ID *id, uint32_t flag)
 
void DEG_add_customdata_mask (struct DepsNodeHandle *handle, struct Object *object, const struct CustomData_MeshMasks *masks)
 
struct IDDEG_get_id_from_handle (struct DepsNodeHandle *node_handle)
 
struct DepsgraphDEG_get_graph_from_handle (struct DepsNodeHandle *node_handle)
 
bool DEG_object_has_geometry_component (struct Object *object)
 

Detailed Description

Public API for Depsgraph

Definition in file DEG_depsgraph_build.h.

Typedef Documentation

◆ eDepsObjectComponentType

◆ eDepsSceneComponentType

Enumeration Type Documentation

◆ eDepsObjectComponentType

Enumerator
DEG_OB_COMP_ANY 
DEG_OB_COMP_PARAMETERS 
DEG_OB_COMP_PROXY 
DEG_OB_COMP_ANIMATION 
DEG_OB_COMP_TRANSFORM 
DEG_OB_COMP_GEOMETRY 
DEG_OB_COMP_EVAL_POSE 
DEG_OB_COMP_BONE 
DEG_OB_COMP_SHADING 
DEG_OB_COMP_CACHE 

Definition at line 101 of file DEG_depsgraph_build.h.

◆ eDepsSceneComponentType

Enumerator
DEG_SCENE_COMP_PARAMETERS 
DEG_SCENE_COMP_ANIMATION 
DEG_SCENE_COMP_SEQUENCER 

Definition at line 90 of file DEG_depsgraph_build.h.

Function Documentation

◆ DEG_add_bone_relation()

void DEG_add_bone_relation ( struct DepsNodeHandle *  handle,
struct Object object,
const char *  bone_name,
eDepsObjectComponentType  component,
const char *  description 
)

◆ DEG_add_collection_geometry_customdata_mask()

void DEG_add_collection_geometry_customdata_mask ( struct DepsNodeHandle *  node_handle,
struct Collection collection,
const struct CustomData_MeshMasks masks 
)

Referenced by add_collection_relation().

◆ DEG_add_collection_geometry_relation()

void DEG_add_collection_geometry_relation ( struct DepsNodeHandle *  node_handle,
struct Collection collection,
const char *  description 
)

◆ DEG_add_customdata_mask()

void DEG_add_customdata_mask ( struct DepsNodeHandle *  handle,
struct Object object,
const struct CustomData_MeshMasks masks 
)

◆ DEG_add_generic_id_relation()

void DEG_add_generic_id_relation ( struct DepsNodeHandle *  node_handle,
struct ID id,
const char *  description 
)

◆ DEG_add_modifier_to_transform_relation()

void DEG_add_modifier_to_transform_relation ( struct DepsNodeHandle *  node_handle,
const char *  description 
)

◆ DEG_add_node_tree_relation()

void DEG_add_node_tree_relation ( struct DepsNodeHandle *  node_handle,
struct bNodeTree node_tree,
const char *  description 
)

◆ DEG_add_object_cache_relation()

void DEG_add_object_cache_relation ( struct DepsNodeHandle *  handle,
struct CacheFile cache_file,
eDepsObjectComponentType  component,
const char *  description 
)

◆ DEG_add_object_pointcache_relation()

void DEG_add_object_pointcache_relation ( struct DepsNodeHandle *  node_handle,
struct Object object,
eDepsObjectComponentType  component,
const char *  description 
)

◆ DEG_add_object_relation()

void DEG_add_object_relation ( struct DepsNodeHandle *  node_handle,
struct Object object,
eDepsObjectComponentType  component,
const char *  description 
)

◆ DEG_add_scene_relation()

void DEG_add_scene_relation ( struct DepsNodeHandle *  node_handle,
struct Scene scene,
eDepsSceneComponentType  component,
const char *  description 
)

◆ DEG_add_simulation_relation()

void DEG_add_simulation_relation ( struct DepsNodeHandle *  node_handle,
struct Simulation simulation,
const char *  description 
)

◆ DEG_add_special_eval_flag()

void DEG_add_special_eval_flag ( struct DepsNodeHandle *  handle,
struct ID id,
uint32_t  flag 
)

◆ DEG_get_graph_from_handle()

struct Depsgraph* DEG_get_graph_from_handle ( struct DepsNodeHandle *  node_handle)

◆ DEG_get_id_from_handle()

struct ID* DEG_get_id_from_handle ( struct DepsNodeHandle *  node_handle)

◆ DEG_graph_build_for_all_objects()

void DEG_graph_build_for_all_objects ( struct Depsgraph graph)

◆ DEG_graph_build_for_compositor_preview()

void DEG_graph_build_for_compositor_preview ( struct Depsgraph graph,
struct bNodeTree nodetree 
)

Definition at line 274 of file depsgraph_build.cc.

References blender::deg::AbstractBuilderPipeline::build(), and graph.

Referenced by compo_initjob().

◆ DEG_graph_build_for_render_pipeline()

void DEG_graph_build_for_render_pipeline ( struct Depsgraph graph)

◆ DEG_graph_build_from_ids()

void DEG_graph_build_from_ids ( struct Depsgraph graph,
struct ID **  ids,
const int  num_ids 
)

Definition at line 280 of file depsgraph_build.cc.

References blender::deg::AbstractBuilderPipeline::build(), and graph.

Referenced by animviz_depsgraph_build().

◆ DEG_graph_build_from_view_layer()

void DEG_graph_build_from_view_layer ( struct Depsgraph graph)

◆ DEG_graph_relations_update()

void DEG_graph_relations_update ( struct Depsgraph graph)

◆ DEG_graph_tag_relations_update()

void DEG_graph_tag_relations_update ( struct Depsgraph graph)

◆ DEG_object_has_geometry_component()

bool DEG_object_has_geometry_component ( struct Object object)

◆ DEG_relations_tag_update()

void DEG_relations_tag_update ( struct Main bmain)

Definition at line 316 of file depsgraph_build.cc.

References DEG_GLOBAL_DEBUG_PRINTF, DEG_graph_tag_relations_update(), depsgraph, and blender::deg::get_all_registered_graphs().

Referenced by add_driver_button_invoke(), add_driver_button_none(), add_hook_object(), animchannels_delete_exec(), BKE_copybuffer_paste(), BKE_id_material_append(), BKE_id_material_clear(), BKE_id_material_pop(), BKE_id_material_resize(), BKE_id_materials_copy(), BKE_lib_override_library_update(), BKE_libblock_relink_ex(), BKE_libblock_remap_locked(), BKE_mask_new(), BKE_object_material_resize(), BKE_pose_rebuild(), BKE_pose_tag_recalc(), brush_draw_apply(), clip_delete_plane_track(), clip_delete_track(), collection_add_exec(), collection_create_exec(), collection_drop_invoke(), collection_duplicate_exec(), collection_flag_exec(), collection_hierarchy_delete_exec(), collection_instance_add_exec(), collection_instance_exec(), collection_link_exec(), collection_new_exec(), collection_objects_remove_all_exec(), collection_objects_remove_exec(), collection_remove_exec(), collection_unlink_exec(), collection_view_layer_exec(), constraint_add_exec(), constraint_delete_exec(), copy_particle_systems_to_object(), data_transfer_exec(), datalayout_transfer_exec(), deg_tag_after_keyframe_delete(), do_graph_region_driver_buttons(), driverdropper_sample(), duplicate_exec(), ED_action_fcurve_ensure(), ED_armature_join_objects_exec(), ED_curve_join_objects_exec(), ED_curve_updateAnimPaths(), ED_gpencil_join_objects_exec(), ED_id_action_ensure(), ED_mesh_join_objects_exec(), ED_object_add_type_with_obdata(), ED_object_constraint_dependency_tag_update(), ED_object_constraint_dependency_update(), ED_object_editmode_load_free_ex(), ED_object_gpencil_modifier_add(), ED_object_gpencil_modifier_clear(), ED_object_gpencil_modifier_remove(), ED_object_modifier_add(), ED_object_modifier_clear(), ED_object_modifier_convert(), ED_object_modifier_copy_to_object(), ED_object_modifier_link(), ED_object_modifier_remove(), ED_object_shaderfx_add(), ED_object_shaderfx_clear(), ED_object_shaderfx_remove(), ED_rigidbody_constraint_add(), ED_rigidbody_constraint_remove(), ED_rigidbody_object_remove(), ED_scene_view_layer_delete(), ED_text_to_object(), ED_wpaint_ensure_data(), edbm_separate_exec(), effector_add_exec(), eyedropper_add_material(), DocumentImporter::finish(), Freestyle::BlenderStrokeRenderer::GenerateStrokeMesh(), geometry_extract_apply(), gpencil_brush_reset_all_exec(), gpencil_convert_old_files_exec(), gpencil_layer_to_curve(), gpencil_object_modifier_remove(), gpencil_object_vgroup_calc_from_armature(), gpencil_stroke_separate_exec(), graph_driver_delete_invalid_exec(), graph_driver_vars_paste_exec(), image_to_gpencil_exec(), import_endjob(), lib_id_clear_library_data_ex(), lib_relocate_do(), lightprobe_add_exec(), make_links_data_exec(), make_links_scene_exec(), make_proxy_exec(), make_single_user_exec(), modifier_apply_exec_ex(), modifier_copy_to_selected_exec(), move_to_collection_exec(), new_particle_settings_exec(), new_particle_target_exec(), nlaedit_add_actionclip_exec(), nlaedit_add_tracks_exec(), nlaedit_apply_scale_exec(), nlaedit_delete_exec(), nlaedit_delete_tracks_exec(), nlaedit_duplicate_exec(), nlaedit_make_single_user_exec(), node_add_object_exec(), node_clipboard_paste_exec(), node_group_make_exec(), nodeRemoveNode(), object_add_named_exec(), object_add_or_copy_particle_system(), object_constraint_copy_exec(), object_constraints_clear_exec(), object_convert_exec(), object_data_instance_add_exec(), object_delete_exec(), object_duplicates_make_real_exec(), object_remove_particle_system(), object_shaderfx_remove(), object_track_clear_exec(), objects_add_active_exec(), objects_remove_active_exec(), open_exec(), outliner_animdata_operation_exec(), outliner_collection_set_flag_recursive_fn(), outliner_delete_exec(), outliner_id_remap_exec(), outliner_object_set_flag_recursive_fn(), outliner_orphans_purge_exec(), output_toggle_exec(), paint_mask_slice_exec(), parent_clear_exec(), parent_clear_invoke(), parent_drop_set_parents(), parent_noinv_set_exec(), parent_set_exec(), paste_driver_button_exec(), pose_constraint_copy_exec(), pose_constraints_clear_exec(), pose_grab_with_ik_clear(), pyrna_struct_driver_add(), pyrna_struct_driver_remove(), remove_driver_button_exec(), remove_particle_target_exec(), rigidbody_world_add_exec(), rigidbody_world_remove_exec(), rna_property_update(), rule_del_exec(), scene_drop_invoke(), separate_armature_exec(), separate_exec(), sequencer_add_movie_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_add_sound_strip_exec(), sequencer_delete_exec(), sequencer_paste_exec(), shape_key_add_exec(), shape_key_remove_exec(), skin_armature_create_exec(), state_del_exec(), template_id_cb(), trace_end_job(), track_set_exec(), transform_autoik_update(), tree_element_camera_activate(), type_toggle_exec(), ui_but_anim_expression_create(), ui_but_anim_expression_set(), unlink_collection_fn(), unlink_object_fn(), update_deg_with_temporary_ik(), vertex_group_add_exec(), vertex_group_copy_exec(), vertex_group_copy_to_selected_exec(), vertex_group_mirror_exec(), vertex_group_remove_exec(), vertex_parent_set_exec(), view_layer_add_aov_exec(), view_layer_add_exec(), view_layer_remove_aov_exec(), weight_from_bones_exec(), and wm_link_append_exec().