Blender
V3.3
|
#include <deg_builder_nodes.h>
Classes | |
struct | BuilderWalkUserData |
struct | IDInfo |
struct | SavedEntryTag |
Protected Member Functions | |
void | tag_previously_tagged_nodes () |
void | update_invalid_cow_pointers () |
![]() | |
DepsgraphBuilder (Main *bmain, Depsgraph *graph, DepsgraphBuilderCache *cache) | |
Static Protected Member Functions | |
static void | modifier_walk (void *user_data, struct Object *object, struct ID **idpoin, int cb_flag) |
static void | constraint_walk (bConstraint *constraint, ID **idpoin, bool is_reference, void *user_data) |
Protected Attributes | |
Vector< SavedEntryTag > | saved_entry_tags_ |
Scene * | scene_ |
ViewLayer * | view_layer_ |
int | view_layer_index_ |
Collection * | collection_ |
bool | is_parent_collection_visible_ |
Map< uint, IDInfo * > | id_info_hash_ |
BuilderMap | built_map_ |
![]() | |
Main * | bmain_ |
Depsgraph * | graph_ |
DepsgraphBuilderCache * | cache_ |
Definition at line 62 of file deg_builder_nodes.h.
blender::deg::DepsgraphNodeBuilder::DepsgraphNodeBuilder | ( | Main * | bmain, |
Depsgraph * | graph, | ||
DepsgraphBuilderCache * | cache | ||
) |
Definition at line 125 of file deg_builder_nodes.cc.
blender::deg::DepsgraphNodeBuilder::~DepsgraphNodeBuilder | ( | ) |
Definition at line 137 of file deg_builder_nodes.cc.
References blender::deg::deg_free_copy_on_write_datablock(), id_info_hash_, and MEM_freeN.
ComponentNode * blender::deg::DepsgraphNodeBuilder::add_component_node | ( | ID * | id, |
NodeType | comp_type, | ||
const char * | comp_name = "" |
||
) |
Definition at line 221 of file deg_builder_nodes.cc.
References add_id_node(), id_node, and blender::deg::ComponentNode::owner.
Referenced by add_operation_node(), build_particle_systems(), and find_operation_node().
Definition at line 148 of file deg_builder_nodes.cc.
References blender::deg::Depsgraph::add_id_node(), blender::deg::ComponentNode::add_operation(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, blender::deg::COPY_ON_WRITE, blender::deg::deg_copy_on_write_is_needed(), blender::deg::deg_evaluate_copy_on_write(), blender::deg::deg_evaluate_object_node_visibility(), depsgraph, blender::deg::DEPSOP_FLAG_AFFECTS_VISIBILITY, blender::deg::DEPSOP_FLAG_PINNED, blender::deg::OperationNode::flag, blender::deg::DepsgraphBuilder::graph_, GS, id, blender::deg::DepsgraphNodeBuilder::IDInfo::id_cow, id_info_hash_, id_node, ID_OB, MAIN_ID_SESSION_UUID_UNSET, ID::name, blender::deg::Depsgraph::operations, blender::deg::DepsgraphNodeBuilder::IDInfo::previous_customdata_masks, blender::deg::DepsgraphNodeBuilder::IDInfo::previous_eval_flags, blender::deg::DepsgraphNodeBuilder::IDInfo::previously_visible_components_mask, ID::session_uuid, and blender::deg::VISIBILITY.
Referenced by add_component_node(), build_animdata(), build_cachefile(), build_collection(), build_material(), build_nodetree(), build_object(), build_object_data_geometry_datablock(), build_parameters(), build_particle_settings(), build_scene_render(), build_simulation(), build_sound(), build_texture(), build_view_layer(), build_world(), and ensure_cow_id().
OperationNode * blender::deg::DepsgraphNodeBuilder::add_operation_node | ( | ComponentNode * | comp_node, |
OperationCode | opcode, | ||
const DepsEvalOperationCb & | op = nullptr , |
||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 231 of file deg_builder_nodes.cc.
References blender::deg::ComponentNode::add_operation(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert_msg, blender::deg::ComponentNode::find_operation(), blender::deg::DepsgraphBuilder::graph_, blender::deg::ComponentNode::identifier(), blender::deg::OperationNode::identifier(), and blender::deg::Depsgraph::operations.
Referenced by add_operation_node(), build_action(), build_animation_images(), build_animdata(), build_armature(), build_cachefile(), build_collection(), build_dimensions(), build_ik_pose(), build_image(), build_light(), build_lightprobe(), build_mask(), build_material(), build_movieclip(), build_nodetree(), build_object(), build_object_constraints(), build_object_data_geometry(), build_object_data_geometry_datablock(), build_object_data_lightprobe(), build_object_data_speaker(), build_object_flags(), build_object_from_layer(), build_object_pointcache(), build_object_transform(), build_parameters(), build_particle_settings(), build_particle_systems(), build_pose_constraints(), build_rig(), build_rigidbody(), build_scene_audio(), build_scene_parameters(), build_scene_sequencer(), build_shapekeys(), build_simulation(), build_sound(), build_speaker(), build_splineik_pose(), build_texture(), build_vfont(), build_view_layer(), build_world(), and ensure_operation_node().
OperationNode * blender::deg::DepsgraphNodeBuilder::add_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
const char * | comp_name, | ||
OperationCode | opcode, | ||
const DepsEvalOperationCb & | op = nullptr , |
||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 253 of file deg_builder_nodes.cc.
References add_component_node(), and add_operation_node().
OperationNode * blender::deg::DepsgraphNodeBuilder::add_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
OperationCode | opcode, | ||
const DepsEvalOperationCb & | op = nullptr , |
||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 265 of file deg_builder_nodes.cc.
References add_operation_node().
TimeSourceNode * blender::deg::DepsgraphNodeBuilder::add_time_source | ( | ) |
Definition at line 216 of file deg_builder_nodes.cc.
References blender::deg::Depsgraph::add_time_source(), and blender::deg::DepsgraphBuilder::graph_.
Referenced by build_scene_render(), and build_view_layer().
|
virtual |
Definition at line 348 of file deg_builder_nodes.cc.
References BLI_assert, blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), blender::deg::Depsgraph::clear_all_nodes(), blender::deg::DepsgraphNodeBuilder::SavedEntryTag::component_type, blender::deg::deg_copy_on_write_is_expanded(), blender::deg::deg_copy_on_write_is_needed(), blender::deg::Depsgraph::entry_tags, blender::deg::DepsgraphBuilder::graph_, blender::deg::DepsgraphNodeBuilder::IDInfo::id_cow, id_info_hash_, id_node, blender::deg::Depsgraph::id_nodes, blender::deg::DepsgraphNodeBuilder::SavedEntryTag::id_orig, MEM_mallocN, blender::deg::DepsgraphNodeBuilder::SavedEntryTag::name, blender::deg::Node::name, blender::deg::DepsgraphNodeBuilder::SavedEntryTag::name_tag, blender::deg::OperationNode::name_tag, blender::deg::DepsgraphNodeBuilder::SavedEntryTag::opcode, blender::deg::OperationNode::opcode, blender::deg::Depsgraph::operations, blender::deg::ComponentNode::owner, blender::deg::OperationNode::owner, blender::deg::DepsgraphNodeBuilder::IDInfo::previous_customdata_masks, blender::deg::DepsgraphNodeBuilder::IDInfo::previous_eval_flags, blender::deg::DepsgraphNodeBuilder::IDInfo::previously_visible_components_mask, saved_entry_tags_, and blender::deg::Node::type.
Definition at line 1120 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::ANIMATION, blender::deg::ANIMATION_EVAL, build_idproperties(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), bAction::id, and ID::properties.
Referenced by build_animdata(), build_animdata_nlastrip_targets(), and build_id().
Build graph nodes to update the current frame in image users.
Definition at line 1097 of file deg_builder_nodes.cc.
References add_operation_node(), BKE_image_user_id_eval_animation(), BKE_image_user_id_has_animation(), BKE_ntree_ptr_from_id(), depsgraph, ELEM, get_cow_id(), GS, id, ID_MA, ID_WO, blender::deg::IMAGE_ANIMATION, ID::name, ntree, NTREE_RUNTIME_FLAG_HAS_IMAGE_ANIMATION, and bNodeTree::runtime.
Referenced by build_animdata().
Build graph nodes for AnimData block and any animated images used.
id | ID-Block which hosts the AnimData |
Definition at line 1044 of file deg_builder_nodes.cc.
References AnimData::action, add_id_node(), add_operation_node(), blender::deg::ANIMATION, blender::deg::ANIMATION_ENTRY, blender::deg::ANIMATION_EVAL, blender::deg::ANIMATION_EXIT, BKE_animdata_from_id(), BKE_animsys_eval_animdata(), BLI_listbase_is_empty(), build_action(), build_animation_images(), build_animdata_nlastrip_targets(), build_driver(), depsgraph, AnimData::drivers, get_cow_id(), LISTBASE_FOREACH, AnimData::nla_tracks, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), and void.
Referenced by build_armature(), build_cachefile(), build_camera(), build_freestyle_linestyle(), build_generic_id(), build_light(), build_lightprobe(), build_mask(), build_material(), build_movieclip(), build_nodetree(), build_object(), build_object_data(), build_object_data_geometry_datablock(), build_particle_settings(), build_scene_render(), build_shapekeys(), build_simulation(), build_sound(), build_speaker(), build_texture(), build_view_layer(), and build_world().
|
virtual |
Definition at line 1085 of file deg_builder_nodes.cc.
References build_action(), and LISTBASE_FOREACH.
Referenced by build_animdata().
Definition at line 1611 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::ARMATURE, blender::deg::ARMATURE_EVAL, bArmature::bonebase, build_animdata(), build_armature_bones(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_id(), bArmature::id, and ID::properties.
Referenced by build_id(), and build_rig().
Definition at line 1630 of file deg_builder_nodes.cc.
References build_idproperties(), and LISTBASE_FOREACH.
Referenced by build_armature().
Definition at line 1845 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), BKE_cachefile_eval(), blender::deg::DepsgraphBuilder::bmain_, build_animdata(), build_idproperties(), build_parameters(), built_map_, blender::deg::CACHE, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, blender::deg::FILE_CACHE_UPDATE, get_cow_datablock(), CacheFile::id, and ID::properties.
Referenced by build_id(), and build_view_layer().
Definition at line 1638 of file deg_builder_nodes.cc.
References build_animdata(), build_idproperties(), build_object(), build_parameters(), built_map_, camera, blender::deg::BuilderMap::checkIsBuiltAndTag(), and blender::deg::DEG_ID_LINKED_INDIRECTLY.
Referenced by build_id(), and build_object_data_camera().
|
virtual |
Definition at line 664 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), build_idproperties(), build_object(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), Collection::children, collection_, COLLECTION_HIDE_RENDER, COLLECTION_HIDE_VIEWPORT, DAG_EVAL_VIEWPORT, blender::deg::DEG_ID_LINKED_INDIRECTLY, find_id_node(), Collection::flag, blender::deg::GEOMETRY, blender::deg::GEOMETRY_EVAL_DONE, Collection::gobject, blender::deg::DepsgraphBuilder::graph_, Collection::id, id_node, is_parent_collection_visible_, LISTBASE_FOREACH, blender::deg::Depsgraph::mode, and ID::properties.
Referenced by build_freestyle_lineset(), build_id(), build_layer_collections(), build_object_instance_collection(), build_particle_systems(), and build_rigidbody().
Definition at line 1222 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::DIMENSIONS, Object::id, and blender::deg::PARAMETERS.
Referenced by build_object_data_geometry().
|
virtual |
Build graph node(s) for Driver
id | ID-Block that driver is attached to |
fcurve | Driver-FCurve |
driver_index | Index in animation data drivers list |
Definition at line 1129 of file deg_builder_nodes.cc.
References FCurve::array_index, BKE_animsys_eval_driver(), build_driver_variables(), depsgraph, blender::deg::DRIVER, ensure_operation_node(), get_cow_id(), blender::deg::PARAMETERS, and FCurve::rna_path.
Referenced by build_animdata().
|
virtual |
Definition at line 1165 of file deg_builder_nodes.cc.
References blender::deg::BONE, PointerRNA::data, ensure_operation_node(), blender::deg::ID_PROPERTY, bPoseChannel::name, blender::deg::PARAMETERS, ptr, RNA_id_pointer_create(), RNA_path_resolve_full(), blender::deg::rna_prop_affects_parameters_node(), RNA_property_identifier(), RNA_struct_is_a(), and PointerRNA::type.
Referenced by build_driver_variables().
|
virtual |
Definition at line 1150 of file deg_builder_nodes.cc.
References build_driver_id_property(), build_id(), FCurve::driver, DRIVER_TARGETS_LOOPER_END, DRIVER_TARGETS_USED_LOOPER_BEGIN, LISTBASE_FOREACH, FCurve::rna_path, and ChannelDriver::variables.
Referenced by build_driver().
|
virtual |
Definition at line 61 of file deg_builder_nodes_view_layer.cc.
References build_collection(), build_freestyle_linestyle(), FreestyleLineSet::group, and FreestyleLineSet::linestyle.
Referenced by build_view_layer().
|
virtual |
Definition at line 1903 of file deg_builder_nodes.cc.
References build_animdata(), build_idproperties(), build_nodetree(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), FreestyleLineStyle::id, linestyle, FreestyleLineStyle::nodetree, and ID::properties.
Referenced by build_freestyle_lineset(), and build_id().
Definition at line 641 of file deg_builder_nodes.cc.
References build_animdata(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), id, and ID::properties.
Referenced by build_id().
Definition at line 528 of file deg_builder_nodes.cc.
References BLI_assert, build_action(), build_armature(), build_cachefile(), build_camera(), build_collection(), build_freestyle_linestyle(), build_generic_id(), build_image(), build_light(), build_lightprobe(), build_mask(), build_material(), build_movieclip(), build_nodetree(), build_object(), build_object_data_geometry_datablock(), build_particle_settings(), build_scene_parameters(), build_shapekeys(), build_simulation(), build_sound(), build_speaker(), build_texture(), build_world(), blender::deg::deg_copy_on_write_is_needed(), blender::deg::DEG_ID_LINKED_INDIRECTLY, GS, id, ID_AC, ID_AR, ID_BR, ID_CA, ID_CF, ID_CU_LEGACY, ID_CV, ID_GD, ID_GR, ID_IM, ID_IP, ID_KE, ID_LA, ID_LI, ID_LP, ID_LS, ID_LT, ID_MA, ID_MB, ID_MC, ID_ME, ID_MSK, ID_NT, ID_OB, ID_PA, ID_PAL, ID_PC, ID_PT, ID_SCE, ID_SCR, ID_SIM, ID_SO, ID_SPK, ID_TE, ID_TXT, ID_VF, ID_VO, ID_WM, ID_WO, ID_WS, and ID::name.
Referenced by build_driver_variables(), blender::deg::build_idproperties_callback(), build_mask(), blender::deg::FromIDsBuilderPipeline::build_nodes(), and build_nodetree_socket().
|
virtual |
Definition at line 659 of file deg_builder_nodes.cc.
References blender::deg::build_idproperties_callback(), IDP_foreach_property(), and IDP_TYPE_FILTER_ID.
Referenced by build_action(), build_armature(), build_armature_bones(), build_cachefile(), build_camera(), build_collection(), build_freestyle_linestyle(), build_generic_id(), build_image(), build_light(), build_lightprobe(), build_mask(), build_material(), build_movieclip(), build_nodetree(), build_nodetree_socket(), build_object(), build_object_data_geometry_datablock(), build_rig(), build_scene_parameters(), build_shapekeys(), build_simulation(), build_sound(), build_speaker(), build_texture(), build_vfont(), build_world(), and blender::deg::seq_node_build_cb().
|
virtual |
Definition at line 66 of file deg_builder_nodes_rig.cc.
References add_operation_node(), BKE_armature_ik_solver_find_root(), BLI_assert, BLI_findindex(), bPose::chanbase, data, bConstraint::data, depsgraph, blender::deg::EVAL_POSE, get_cow_datablock(), has_operation_node(), Object::id, Object::pose, blender::deg::POSE_IK_SOLVER, and scene_.
Referenced by build_rig().
Definition at line 1834 of file deg_builder_nodes.cc.
References add_operation_node(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), blender::deg::GENERIC_DATABLOCK, blender::deg::GENERIC_DATABLOCK_UPDATE, and image().
Referenced by build_id(), build_nodetree(), and build_texture().
Definition at line 45 of file deg_builder_nodes_view_layer.cc.
References build_collection(), COLLECTION_HIDE_RENDER, COLLECTION_HIDE_VIEWPORT, DAG_EVAL_VIEWPORT, ListBase::first, blender::deg::DepsgraphBuilder::graph_, LAYER_COLLECTION_EXCLUDE, and blender::deg::Depsgraph::mode.
Referenced by build_view_layer().
Definition at line 1651 of file deg_builder_nodes.cc.
References add_operation_node(), build_animdata(), build_idproperties(), build_nodetree(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), Light::id, lamp, blender::deg::LIGHT_UPDATE, Light::nodetree, ID::properties, and blender::deg::SHADING.
Referenced by build_id(), and build_object_data_light().
|
virtual |
Definition at line 1943 of file deg_builder_nodes.cc.
References add_operation_node(), build_animdata(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), LightProbe::id, blender::deg::LIGHT_PROBE_EVAL, blender::deg::PARAMETERS, and ID::properties.
Referenced by build_id(), and build_object_data_lightprobe().
Definition at line 1866 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::ANIMATION, BKE_mask_eval_animation(), BKE_mask_eval_update(), build_animdata(), build_id(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, ensure_cow_id(), MaskParent::id, LISTBASE_FOREACH, mask(), blender::deg::MASK_ANIMATION, blender::deg::MASK_EVAL, blender::deg::PARAMETERS, and point.
Referenced by build_id(), build_nodetree(), and build_view_layer().
Definition at line 1779 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), build_animdata(), build_idproperties(), build_nodetree(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), Material::id, material, blender::deg::MATERIAL_UPDATE, Material::nodetree, ID::properties, and blender::deg::SHADING.
Referenced by build_id(), build_materials(), build_nodetree(), and build_view_layer().
|
virtual |
Definition at line 1801 of file deg_builder_nodes.cc.
References build_material(), and materials.
Referenced by build_object_data(), and build_object_data_geometry().
Definition at line 1916 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::BATCH_CACHE, BKE_movieclip_eval_selection_update(), BKE_movieclip_eval_update(), blender::deg::DepsgraphBuilder::bmain_, build_animdata(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, ensure_cow_id(), MovieClip::id, blender::deg::MOVIECLIP_EVAL, blender::deg::MOVIECLIP_SELECT_UPDATE, blender::deg::PARAMETERS, and ID::properties.
Referenced by build_id(), build_nodetree(), and build_view_layer().
Definition at line 1690 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), BLI_assert_msg, build_animdata(), build_idproperties(), build_image(), build_mask(), build_material(), build_movieclip(), build_nodetree_socket(), build_object(), build_parameters(), build_scene_parameters(), build_texture(), build_vfont(), built_map_, Scene::camera, blender::deg::BuilderMap::checkIsBuiltAndTag(), blender::deg::DEG_ID_LINKED_INDIRECTLY, ELEM, GS, id, bNodeTree::id, ID_IM, ID_MA, ID_MC, ID_MSK, ID_OB, ID_SCE, ID_TE, ID_TXT, ID_VF, bNodeTree::inputs, LISTBASE_FOREACH, ID::name, NODE_CUSTOM_GROUP, NODE_GROUP, bNodeTree::nodes, ntree, blender::deg::NTREE_OUTPUT, bNodeTree::outputs, and ID::properties.
Referenced by build_freestyle_linestyle(), build_id(), build_light(), build_material(), blender::deg::CompositorBuilderPipeline::build_nodes(), build_scene_compositor(), build_simulation(), build_texture(), and build_world().
|
virtual |
Definition at line 1669 of file deg_builder_nodes.cc.
References build_id(), build_idproperties(), bNodeSocket::default_value, bNodeSocket::prop, SOCK_COLLECTION, SOCK_IMAGE, SOCK_MATERIAL, SOCK_OBJECT, SOCK_TEXTURE, and bNodeSocket::type.
Referenced by build_nodetree().
|
virtual |
Definition at line 721 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), BKE_constraints_id_loop(), BKE_gpencil_modifiers_foreach_ID_link(), BKE_modifiers_foreach_ID_link(), BKE_shaderfx_foreach_ID_link(), build_animdata(), build_idproperties(), build_object_data(), build_object_flags(), build_object_from_layer(), build_object_instance_collection(), build_object_transform(), build_parameters(), build_particle_systems(), build_texture(), built_map_, Scene::camera, blender::deg::BuilderMap::checkIsBuiltAndTag(), constraint_walk(), Object::constraints, data, blender::deg::DEG_ID_LINKED_INDIRECTLY, depsgraph, blender::deg::DEPSOP_FLAG_PINNED, blender::deg::DUPLI, find_id_node(), ListBase::first, blender::deg::OperationNode::flag, PartDeflect::forcefield, get_cow_datablock(), Object::greasepencil_modifiers, Object::id, id_node, Object::instance_collection, max, modifier_walk(), Object::modifiers, Object::parent, Object::particlesystem, Object::pd, PFIELD_TEXTURE, ID::properties, scene_, Object::shader_fx, blender::deg::SYNCHRONIZATION, blender::deg::SYNCHRONIZE_TO_ORIGINAL, and PartDeflect::tex.
Referenced by build_camera(), build_collection(), build_id(), build_nodetree(), build_object_data_geometry_datablock(), build_particle_systems(), build_rig(), build_rigidbody(), build_scene_render(), build_scene_speakers(), and build_view_layer().
Constraints Graph Notes
For constraints, we currently only add a operation node to the Transform or Bone components (depending on whichever type of owner we have). This represents the entire constraints stack, which is for now just executed as a single monolithic block. At least initially, this should be sufficient for ensuring that the porting/refactoring process remains manageable.
However, when the time comes for developing "node-based" constraints, we'll need to split this up into pre/post nodes for "constraint stack evaluation" + operation nodes for each constraint (i.e. the contents of the loop body used in the current "solve_constraints()" operation).
– Aligorith, August 2013
Definition at line 1016 of file deg_builder_nodes.cc.
References add_operation_node(), depsgraph, get_cow_datablock(), Object::id, scene_, blender::deg::TRANSFORM, and blender::deg::TRANSFORM_CONSTRAINTS.
Referenced by build_object_transform().
Definition at line 880 of file deg_builder_nodes.cc.
References BKE_object_material_array_p(), BKE_object_material_len_p(), build_animdata(), build_materials(), build_object_data_camera(), build_object_data_geometry(), build_object_data_light(), build_object_data_lightprobe(), build_object_data_speaker(), build_rig(), built_map_, blender::deg::BuilderMap::checkIsBuilt(), Object::data, if(), OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GPENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, and Object::type.
Referenced by build_object().
Definition at line 930 of file deg_builder_nodes.cc.
References build_camera(), camera, and Object::data.
Referenced by build_object_data().
Definition at line 1456 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::BATCH_CACHE, build_dimensions(), build_materials(), build_object_data_geometry_datablock(), build_object_pointcache(), Object::data, depsgraph, blender::deg::GEOMETRY, blender::deg::GEOMETRY_EVAL, blender::deg::GEOMETRY_EVAL_INIT, blender::deg::GEOMETRY_SELECT_UPDATE, get_cow_datablock(), Object::id, Object::mat, scene_, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), and Object::totcol.
Referenced by build_object_data().
|
virtual |
Definition at line 1488 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), blender::deg::BATCH_CACHE, Curve::bevobj, BKE_curve_eval_geometry(), BKE_gpencil_frame_active_set(), BKE_key_from_id(), BKE_lattice_eval_geometry(), BKE_mesh_eval_geometry(), BKE_object_data_select_update(), BKE_volume_eval_geometry(), BLI_assert_msg, build_animdata(), build_idproperties(), build_object(), build_parameters(), build_shapekeys(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), blender::deg::DEG_ID_LINKED_INDIRECTLY, depsgraph, blender::deg::GEOMETRY, blender::deg::GEOMETRY_EVAL, blender::deg::GEOMETRY_EVAL_DONE, blender::deg::GEOMETRY_SELECT_UPDATE, get_cow_id(), GS, ID_CU_LEGACY, ID_CV, ID_GD, ID_LT, ID_MB, ID_ME, ID_PT, ID_VO, ID::name, ID::properties, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), Curves::surface, Curve::taperobj, Curve::textoncurve, and void.
Referenced by build_id(), and build_object_data_geometry().
Definition at line 936 of file deg_builder_nodes.cc.
References build_light(), Object::data, and lamp.
Referenced by build_object_data().
Definition at line 942 of file deg_builder_nodes.cc.
References add_operation_node(), build_lightprobe(), Object::data, Object::id, blender::deg::LIGHT_PROBE_EVAL, and blender::deg::PARAMETERS.
Referenced by build_object_data().
Definition at line 949 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::AUDIO, build_speaker(), Object::data, Object::id, and blender::deg::SPEAKER_EVAL.
Referenced by build_object_data().
|
virtual |
Definition at line 847 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::DEG_ID_LINKED_VIA_SET, depsgraph, get_cow_datablock(), Object::id, blender::deg::OBJECT_BASE_FLAGS, blender::deg::OBJECT_FROM_LAYER, scene_, and view_layer_index_.
Referenced by build_object(), and build_object_from_layer().
|
virtual |
Definition at line 832 of file deg_builder_nodes.cc.
References add_operation_node(), build_object_flags(), Object::id, blender::deg::OBJECT_FROM_LAYER, blender::deg::OBJECT_FROM_LAYER_ENTRY, blender::deg::OBJECT_FROM_LAYER_EXIT, blender::deg::OperationNode::set_as_entry(), and blender::deg::OperationNode::set_as_exit().
Referenced by build_object().
|
virtual |
Definition at line 869 of file deg_builder_nodes.cc.
References build_collection(), Object::instance_collection, and is_parent_collection_visible_.
Referenced by build_object().
Definition at line 1029 of file deg_builder_nodes.cc.
References add_operation_node(), BKE_ptcache_object_has(), depsgraph, get_cow_datablock(), Object::id, blender::deg::POINT_CACHE, blender::deg::POINT_CACHE_RESET, and scene_.
Referenced by build_object_data_geometry().
Definition at line 956 of file deg_builder_nodes.cc.
References add_operation_node(), build_object_constraints(), Object::constraints, depsgraph, ListBase::first, get_cow_datablock(), Object::id, Object::parent, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), blender::deg::TRANSFORM, blender::deg::TRANSFORM_EVAL, blender::deg::TRANSFORM_FINAL, blender::deg::TRANSFORM_INIT, blender::deg::TRANSFORM_LOCAL, blender::deg::TRANSFORM_PARENT, and blender::deg::TRANSFORM_SIMULATION_INIT.
Referenced by build_object().
Definition at line 1196 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), BKE_id_eval_properties_copy(), get_cow_id(), GS, id, ID_TYPE_SUPPORTS_PARAMS_WITHOUT_COW, ID::name, blender::deg::PARAMETERS, blender::deg::PARAMETERS_ENTRY, blender::deg::PARAMETERS_EVAL, blender::deg::PARAMETERS_EXIT, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), and void.
Referenced by build_armature(), build_cachefile(), build_camera(), build_freestyle_linestyle(), build_generic_id(), build_image(), build_light(), build_lightprobe(), build_mask(), build_material(), build_movieclip(), build_nodetree(), build_object(), build_object_data_geometry_datablock(), build_particle_settings(), build_scene_parameters(), build_shapekeys(), build_simulation(), build_sound(), build_speaker(), build_texture(), build_vfont(), and build_world().
|
virtual |
Definition at line 1400 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), build_animdata(), build_parameters(), build_texture(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), ParticleSettings::id, ParticleSettings::mtex, blender::deg::PARTICLE_SETTINGS, blender::deg::PARTICLE_SETTINGS_EVAL, blender::deg::PARTICLE_SETTINGS_INIT, blender::deg::PARTICLE_SETTINGS_RESET, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), and MTex::tex.
Referenced by build_id(), and build_particle_systems().
|
virtual |
There are two types of nodes associated with representing particle systems: 1) Component (EVAL_PARTICLES) - This is the particle-system evaluation context for an object. It acts as the container for all the nodes associated with a particular set of particle systems. 2) Particle System Evaluation Operation - This operation node acts as a black-box evaluation step for one particle system referenced by the particle systems stack. All dependencies link to this operation.
Definition at line 1339 of file deg_builder_nodes.cc.
References add_component_node(), add_operation_node(), BKE_particle_system_eval_init(), build_collection(), build_object(), build_particle_settings(), blender::deg::DEG_ID_LINKED_INDIRECTLY, depsgraph, ELEM, get_cow_datablock(), Object::id, ParticleSettings::instance_collection, ParticleSettings::instance_object, LISTBASE_FOREACH, PART_DRAW_GR, PART_DRAW_OB, PART_PHYS_BOIDS, PART_PHYS_KEYED, blender::deg::PARTICLE_SYSTEM, blender::deg::PARTICLE_SYSTEM_DONE, blender::deg::PARTICLE_SYSTEM_EVAL, blender::deg::PARTICLE_SYSTEM_INIT, Object::particlesystem, ParticleSettings::phystype, ParticleSettings::ren_as, blender::deg::OperationNode::set_as_entry(), and blender::deg::OperationNode::set_as_exit().
Referenced by build_object().
|
virtual |
Definition at line 43 of file deg_builder_nodes_rig.cc.
References add_operation_node(), BKE_constraints_id_loop(), blender::deg::BONE, blender::deg::BONE_CONSTRAINTS, constraint_walk(), bPoseChannel::constraints, data, depsgraph, get_cow_datablock(), Object::id, bPoseChannel::name, and scene_.
Referenced by build_rig().
Pose Component:
Bone Component:
IK Solvers.
Unsolved Issues:
Definition at line 132 of file deg_builder_nodes_rig.cc.
References add_operation_node(), BKE_pose_channels_hash_ensure(), BKE_pose_rebuild(), BKE_pose_update_constraint_flags(), blender::deg::BONE, blender::deg::BONE_DONE, blender::deg::BONE_LOCAL, blender::deg::BONE_POSE_PARENT, blender::deg::BONE_READY, blender::deg::BONE_SEGMENTS, build_armature(), build_idproperties(), build_ik_pose(), build_object(), build_pose_constraints(), build_splineik_pose(), bPose::chanbase, blender::deg::DepsgraphBuilder::check_pchan_has_bbone(), CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_SPLINEIK, Object::data, blender::deg::DEG_ID_LINKED_INDIRECTLY, depsgraph, blender::deg::EVAL_POSE, bPose::flag, get_cow_datablock(), Object::id, LISTBASE_FOREACH, blender::deg::PARAMETERS, blender::deg::PARAMETERS_EVAL, Object::pose, blender::deg::POSE_CLEANUP, POSE_CONSTRAINTS_NEED_UPDATE_FLAGS, blender::deg::POSE_DONE, blender::deg::POSE_INIT, blender::deg::POSE_INIT_IK, POSE_RECALC, scene_, blender::deg::OperationNode::set_as_entry(), and blender::deg::OperationNode::set_as_exit().
Referenced by build_object_data().
There are 3 nodes related to Rigidbody Simulation: 1) "Initialize/Rebuild World" - this is called sparingly, only when the simulation needs to be rebuilt (mainly after file reload, or moving back to start frame) 2) "Do Simulation" - perform a simulation step - interleaved between the evaluation steps for clusters of objects (i.e. between those affected and/or not affected by the sim for instance).
3) "Pull Results" - grab the specific transforms applied for a specific object - performed as part of object's transform-stack building.
Definition at line 1252 of file deg_builder_nodes.cc.
References add_operation_node(), build_collection(), build_object(), RigidBodyWorld::constraints, blender::deg::DEG_ID_LINKED_INDIRECTLY, depsgraph, blender::deg::ComponentNode::entry_operation, FOREACH_COLLECTION_OBJECT_RECURSIVE_BEGIN, FOREACH_COLLECTION_OBJECT_RECURSIVE_END, get_cow_datablock(), RigidBodyWorld::group, Scene::id, RigidBodyCon::ob1, RigidBodyCon::ob2, OB_MESH, blender::deg::OperationNode::owner, RBO_TYPE_PASSIVE, blender::deg::RIGIDBODY_REBUILD, blender::deg::RIGIDBODY_SIM, blender::deg::RIGIDBODY_TRANSFORM_COPY, Scene::rigidbody_world, scene, blender::deg::OperationNode::set_as_entry(), blender::deg::OperationNode::set_as_exit(), and blender::deg::TRANSFORM.
Referenced by build_view_layer().
Definition at line 2062 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::AUDIO, blender::deg::AUDIO_ENTRY, blender::deg::AUDIO_VOLUME, built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), Scene::id, scene, blender::deg::OperationNode::set_as_entry(), blender::deg::SOUND_EVAL, and blender::deg::BuilderMap::TAG_SCENE_AUDIO.
Referenced by build_scene_render(), build_scene_sequencer(), and build_view_layer().
Definition at line 63 of file deg_builder_nodes_scene.cc.
References build_nodetree(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), Scene::nodetree, scene, and blender::deg::BuilderMap::TAG_SCENE_COMPOSITOR.
Referenced by build_scene_parameters(), build_scene_render(), and build_view_layer().
Definition at line 38 of file deg_builder_nodes_scene.cc.
References add_operation_node(), build_idproperties(), build_parameters(), build_scene_compositor(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), Scene::id, LISTBASE_FOREACH, Scene::markers, blender::deg::PARAMETERS, ID::properties, scene, blender::deg::SCENE_EVAL, and blender::deg::BuilderMap::TAG_PARAMETERS.
Referenced by build_id(), build_nodetree(), build_scene_render(), build_view_layer(), and blender::deg::seq_node_build_cb().
|
virtual |
Definition at line 14 of file deg_builder_nodes_scene.cc.
References add_id_node(), add_time_source(), build_animdata(), build_object(), build_scene_audio(), build_scene_compositor(), build_scene_parameters(), build_scene_sequencer(), build_scene_speakers(), Scene::camera, blender::deg::DEG_ID_LINKED_DIRECTLY, Scene::id, id_node, Scene::r, R_DOCOMP, R_DOSEQ, RenderData::scemode, scene, scene_, and view_layer_.
Referenced by blender::deg::CompositorBuilderPipeline::build_nodes(), and blender::deg::RenderBuilderPipeline::build_nodes().
Definition at line 2042 of file deg_builder_nodes.cc.
References add_operation_node(), build_scene_audio(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, Scene::ed, get_cow_datablock(), Scene::id, scene, SEQ_for_each_callback(), blender::deg::seq_node_build_cb(), Editing::seqbase, blender::deg::SEQUENCER, blender::deg::SEQUENCES_EVAL, and blender::deg::BuilderMap::TAG_SCENE_SEQUENCER.
Referenced by build_scene_render(), build_view_layer(), and blender::deg::seq_node_build_cb().
|
virtual |
Definition at line 2083 of file deg_builder_nodes.cc.
References build_object(), blender::deg::DEG_ID_LINKED_INDIRECTLY, LISTBASE_FOREACH, blender::deg::DepsgraphBuilder::need_pull_base_into_graph(), OB_SPEAKER, ViewLayer::object_bases, and Object::type.
Referenced by build_scene_render(), and blender::deg::seq_node_build_cb().
Definition at line 1435 of file deg_builder_nodes.cc.
References add_operation_node(), Key::block, build_animdata(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), blender::deg::GEOMETRY, blender::deg::GEOMETRY_SHAPEKEY, Key::id, LISTBASE_FOREACH, blender::deg::PARAMETERS, blender::deg::PARAMETERS_EVAL, and ID::properties.
Referenced by build_id(), and build_object_data_geometry_datablock().
|
virtual |
Definition at line 1988 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), build_animdata(), build_idproperties(), build_nodetree(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), Simulation::id, Simulation::nodetree, ID::properties, scene_, simulation, blender::deg::SIMULATION, and blender::deg::SIMULATION_EVAL.
Referenced by build_id().
Definition at line 1970 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), blender::deg::AUDIO, blender::deg::DepsgraphBuilder::bmain_, build_animdata(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), bSound::id, ID::properties, and blender::deg::SOUND_EVAL.
Referenced by build_id(), build_speaker(), and blender::deg::seq_node_build_cb().
Definition at line 1955 of file deg_builder_nodes.cc.
References add_operation_node(), blender::deg::AUDIO, build_animdata(), build_idproperties(), build_parameters(), build_sound(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), Speaker::id, ID::properties, Speaker::sound, and blender::deg::SPEAKER_EVAL.
Referenced by build_id(), and build_object_data_speaker().
|
virtual |
Definition at line 97 of file deg_builder_nodes_rig.cc.
References add_operation_node(), BKE_armature_splineik_solver_find_root(), BLI_assert, BLI_findindex(), bPose::chanbase, data, bConstraint::data, depsgraph, blender::deg::EVAL_POSE, get_cow_datablock(), has_operation_node(), Object::id, Object::pose, blender::deg::POSE_SPLINE_IK_SOLVER, and scene_.
Referenced by build_rig().
Definition at line 1812 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), build_animdata(), build_idproperties(), build_image(), build_nodetree(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), blender::deg::GENERIC_DATABLOCK, blender::deg::GENERIC_DATABLOCK_UPDATE, Tex::id, Tex::ima, Tex::nodetree, ID::properties, TEX_IMAGE, and Tex::type.
Referenced by build_id(), build_nodetree(), build_object(), and build_particle_settings().
Definition at line 2010 of file deg_builder_nodes.cc.
References add_operation_node(), build_idproperties(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), blender::deg::GENERIC_DATABLOCK, blender::deg::GENERIC_DATABLOCK_UPDATE, VFont::id, and ID::properties.
Referenced by build_nodetree().
|
virtual |
Definition at line 71 of file deg_builder_nodes_view_layer.cc.
References add_id_node(), add_operation_node(), add_time_source(), Scene::adt, BKE_view_layer_default_render(), blender::deg::DepsgraphBuilder::bmain_, build_animdata(), build_cachefile(), build_freestyle_lineset(), build_layer_collections(), build_mask(), build_material(), build_movieclip(), build_object(), build_rigidbody(), build_scene_audio(), build_scene_compositor(), build_scene_parameters(), build_scene_sequencer(), build_world(), Main::cachefiles, Scene::camera, blender::deg::DEG_ID_LINKED_DIRECTLY, blender::deg::DEG_ID_LINKED_INDIRECTLY, blender::deg::DEG_ID_LINKED_VIA_SET, depsgraph, ViewLayer::freestyle_config, get_cow_datablock(), blender::deg::DepsgraphBuilder::graph_, blender::deg::Depsgraph::has_animated_visibility, Scene::id, id_node, blender::deg::DepsgraphBuilder::is_object_visibility_animated(), blender::deg::LAYER_COLLECTIONS, ViewLayer::layer_collections, FreestyleConfig::linesets, LISTBASE_FOREACH, mask(), Main::masks, ViewLayer::mat_override, Main::movieclips, blender::deg::DepsgraphBuilder::need_pull_base_into_graph(), ViewLayer::object_bases, Scene::rigidbody_world, scene, scene_, Scene::set, view_layer_, blender::deg::VIEW_LAYER_EVAL, view_layer_index_, and Scene::world.
Referenced by blender::deg::FromIDsBuilderPipeline::build_nodes(), and blender::deg::ViewLayerBuilderPipeline::build_nodes().
Definition at line 1229 of file deg_builder_nodes.cc.
References add_id_node(), add_operation_node(), build_animdata(), build_idproperties(), build_nodetree(), build_parameters(), built_map_, blender::deg::BuilderMap::checkIsBuiltAndTag(), depsgraph, get_cow_datablock(), World::id, World::nodetree, ID::properties, blender::deg::SHADING, world, and blender::deg::WORLD_UPDATE.
Referenced by build_id(), and build_view_layer().
|
staticprotected |
Definition at line 2117 of file deg_builder_nodes.cc.
References data, blender::deg::DEG_ID_LINKED_INDIRECTLY, GS, id, ID_OB, ID::name, and user_data.
Referenced by build_object(), and build_pose_constraints().
|
virtual |
Definition at line 522 of file deg_builder_nodes.cc.
References tag_previously_tagged_nodes(), and update_invalid_cow_pointers().
Definition at line 336 of file deg_builder_nodes.cc.
References add_id_node(), id_node, LIB_TAG_COPIED_ON_WRITE, and ID::tag.
Referenced by build_mask(), and build_movieclip().
OperationNode * blender::deg::DepsgraphNodeBuilder::ensure_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
const char * | comp_name, | ||
OperationCode | opcode, | ||
const DepsEvalOperationCb & | op = nullptr , |
||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 275 of file deg_builder_nodes.cc.
References add_operation_node(), and find_operation_node().
Referenced by build_driver(), and build_driver_id_property().
OperationNode * blender::deg::DepsgraphNodeBuilder::ensure_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
OperationCode | opcode, | ||
const DepsEvalOperationCb & | op = nullptr , |
||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 290 of file deg_builder_nodes.cc.
References add_operation_node(), and find_operation_node().
Definition at line 211 of file deg_builder_nodes.cc.
References blender::deg::Depsgraph::find_id_node(), and blender::deg::DepsgraphBuilder::graph_.
Referenced by build_collection(), build_object(), foreach_id_cow_detect_need_for_update_callback(), and tag_previously_tagged_nodes().
OperationNode * blender::deg::DepsgraphNodeBuilder::find_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
const char * | comp_name, | ||
OperationCode | opcode, | ||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 314 of file deg_builder_nodes.cc.
References add_component_node(), and blender::deg::ComponentNode::find_operation().
Referenced by ensure_operation_node(), find_operation_node(), and has_operation_node().
OperationNode * blender::deg::DepsgraphNodeBuilder::find_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
OperationCode | opcode, | ||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 325 of file deg_builder_nodes.cc.
References find_operation_node().
int blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback | ( | ID * | id_cow_self, |
ID * | id_pointer | ||
) |
id_cow_self
is the user of id_pointer
, see also LibraryIDLinkCallbackData
struct definition.
Definition at line 403 of file deg_builder_nodes.cc.
References blender::deg::DepsgraphBuilder::bmain_, blender::deg::DEG_UPDATE_SOURCE_RELATIONS, find_id_node(), blender::deg::DepsgraphBuilder::graph_, blender::deg::graph_id_tag_update(), id_node, ID_RECALC_COPY_ON_WRITE, IDWALK_RET_NOP, IDWALK_RET_STOP_ITER, and ID::orig_id.
Referenced by blender::deg::foreach_id_cow_detect_need_for_update_callback().
|
inline |
Definition at line 74 of file deg_builder_nodes.h.
References get_cow_id(), and T.
Referenced by build_cachefile(), build_ik_pose(), build_light(), build_material(), build_object(), build_object_constraints(), build_object_data_geometry(), build_object_flags(), build_object_pointcache(), build_object_transform(), build_particle_settings(), build_particle_systems(), build_pose_constraints(), build_rig(), build_rigidbody(), build_scene_audio(), build_scene_sequencer(), build_simulation(), build_sound(), build_splineik_pose(), build_view_layer(), and build_world().
Definition at line 331 of file deg_builder_nodes.cc.
References blender::deg::Depsgraph::get_cow_id(), and blender::deg::DepsgraphBuilder::graph_.
Referenced by build_animation_images(), build_animdata(), build_armature(), build_driver(), build_object_data_geometry_datablock(), build_parameters(), and get_cow_datablock().
|
inline |
Definition at line 80 of file deg_builder_nodes.h.
References T.
bool blender::deg::DepsgraphNodeBuilder::has_operation_node | ( | ID * | id, |
NodeType | comp_type, | ||
const char * | comp_name, | ||
OperationCode | opcode, | ||
const char * | name = "" , |
||
int | name_tag = -1 |
||
) |
Definition at line 304 of file deg_builder_nodes.cc.
References find_operation_node().
Referenced by build_ik_pose(), and build_splineik_pose().
|
staticprotected |
Definition at line 2097 of file deg_builder_nodes.cc.
References data, blender::deg::DEG_ID_LINKED_INDIRECTLY, GS, id, ID_OB, ID::name, and user_data.
Referenced by build_object().
|
protected |
Definition at line 500 of file deg_builder_nodes.cc.
References blender::deg::DEG_UPDATE_SOURCE_USER_EDIT, find_id_node(), blender::deg::ComponentNode::find_operation(), blender::deg::DepsgraphBuilder::graph_, id_node, saved_entry_tags_, and blender::deg::OperationNode::tag_update().
Referenced by end_build().
|
protected |
Check for IDs that need to be flushed (COW-updated) because the depsgraph itself created or removed some of their evaluated dependencies.
Definition at line 451 of file deg_builder_nodes.cc.
References BKE_library_foreach_ID_link(), ELEM, blender::deg::foreach_id_cow_detect_need_for_update_callback(), blender::deg::DepsgraphBuilder::graph_, id_node, blender::deg::Depsgraph::id_nodes, ID_RECALC_COPY_ON_WRITE, IDWALK_IGNORE_EMBEDDED_ID, IDWALK_READONLY, and LIB_EMBEDDED_DATA.
Referenced by end_build().
|
protected |
Definition at line 305 of file deg_builder_nodes.h.
Referenced by build_action(), build_armature(), build_cachefile(), build_camera(), build_collection(), build_freestyle_linestyle(), build_generic_id(), build_image(), build_light(), build_lightprobe(), build_mask(), build_material(), build_movieclip(), build_nodetree(), build_object(), build_object_data(), build_object_data_geometry_datablock(), build_particle_settings(), build_scene_audio(), build_scene_compositor(), build_scene_parameters(), build_scene_sequencer(), build_shapekeys(), build_simulation(), build_sound(), build_speaker(), build_texture(), build_vfont(), and build_world().
|
protected |
Definition at line 294 of file deg_builder_nodes.h.
Referenced by build_collection().
Definition at line 301 of file deg_builder_nodes.h.
Referenced by add_id_node(), begin_build(), and ~DepsgraphNodeBuilder().
|
protected |
Definition at line 298 of file deg_builder_nodes.h.
Referenced by build_collection(), and build_object_instance_collection().
|
protected |
Definition at line 267 of file deg_builder_nodes.h.
Referenced by begin_build(), and tag_previously_tagged_nodes().
|
protected |
Definition at line 289 of file deg_builder_nodes.h.
Referenced by build_ik_pose(), build_object(), build_object_constraints(), build_object_data_geometry(), build_object_flags(), build_object_pointcache(), build_pose_constraints(), build_rig(), build_scene_render(), build_simulation(), build_splineik_pose(), and build_view_layer().
|
protected |
Definition at line 290 of file deg_builder_nodes.h.
Referenced by build_scene_render(), and build_view_layer().
|
protected |
Definition at line 291 of file deg_builder_nodes.h.
Referenced by build_object_flags(), and build_view_layer().