Blender V4.3
depsgraph_query_foreach.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::deg
 

Functions

void DEG_foreach_dependent_ID (const Depsgraph *depsgraph, const ID *id, DEGForeachIDCallback callback)
 
void DEG_foreach_dependent_ID_component (const Depsgraph *depsgraph, const ID *id, eDepsObjectComponentType source_component_type, int flags, DEGForeachIDComponentCallback callback)
 
void DEG_foreach_ancestor_ID (const Depsgraph *depsgraph, const ID *id, DEGForeachIDCallback callback)
 
void DEG_foreach_ID (const Depsgraph *depsgraph, DEGForeachIDCallback callback)
 

Detailed Description

Implementation of Querying and Filtering API's

Definition in file depsgraph_query_foreach.cc.

Function Documentation

◆ DEG_foreach_ancestor_ID()

void DEG_foreach_ancestor_ID ( const Depsgraph * depsgraph,
const ID * id,
DEGForeachIDCallback callback )
Note
Modifies runtime flags in depsgraph nodes, so can not be used in parallel. Keep an eye on that!

Definition at line 266 of file depsgraph_query_foreach.cc.

References callback, and depsgraph.

◆ DEG_foreach_dependent_ID()

void DEG_foreach_dependent_ID ( const Depsgraph * depsgraph,
const ID * id,
DEGForeachIDCallback callback )

Definition at line 249 of file depsgraph_query_foreach.cc.

References callback, and depsgraph.

◆ DEG_foreach_dependent_ID_component()

void DEG_foreach_dependent_ID_component ( const Depsgraph * depsgraph,
const ID * id,
eDepsObjectComponentType source_component_type,
int flags,
DEGForeachIDComponentCallback callback )

Definition at line 256 of file depsgraph_query_foreach.cc.

References callback, and depsgraph.

Referenced by flush_trans_object_base_deps_flag().

◆ DEG_foreach_ID()

void DEG_foreach_ID ( const Depsgraph * depsgraph,
DEGForeachIDCallback callback )

Definition at line 273 of file depsgraph_query_foreach.cc.

References callback, and depsgraph.

Variable Documentation

◆ callback

Definition at line 117 of file depsgraph_query_foreach.cc.

Referenced by btAxisSweep3Internal< BP_FP_INT_TYPE >::aabbTest(), btDbvtBroadphase::aabbTest(), btSimpleBroadphase::aabbTest(), blender::animrig::ANIM_armature_foreach_bone(), blender::animrig::ANIM_armature_foreach_bone(), blender::bke::GeometrySet::attribute_foreach(), blender::bke::BKE_action_find_fcurves_with_bones(), blender::bke::BKE_armature_find_selected_bone_names(), blender::bke::BKE_armature_find_selected_bones(), BKE_image_multilayer_stamp_info_callback(), BKE_image_walk_all_users(), BKE_library_foreach_ID_link(), BKE_library_foreach_subdata_id(), BKE_region_callback_free_gizmomap_set(), BKE_region_callback_refresh_tag_gizmomap_set(), BKE_sound_jack_sync_callback_set(), BKE_stamp_info_callback(), BKE_workspace_layout_iter_circular(), blf_font_wrap_apply(), BLI_bitmap_draw_2d_line_v2v2i(), BLI_bitmap_draw_2d_poly_v2i_n(), BLI_bitmap_draw_2d_tri_v2i(), BLI_bvhtree_find_nearest(), BLI_bvhtree_find_nearest_ex(), BLI_bvhtree_find_nearest_first(), BLI_bvhtree_find_nearest_projected(), BLI_bvhtree_overlap(), BLI_bvhtree_overlap_ex(), BLI_bvhtree_overlap_self(), BLI_bvhtree_range_query(), BLI_bvhtree_ray_cast(), BLI_bvhtree_ray_cast_all(), BLI_bvhtree_ray_cast_all_ex(), BLI_bvhtree_ray_cast_ex(), BLI_STATIC_ASSERT(), BLO_expand_main(), bm_elemxelem_bvhtree_overlap(), BM_vert_pair_shared_face_cb(), btSimulationIslandManager::buildAndProcessIslands(), DEG_foreach_ancestor_ID(), DEG_foreach_dependent_ID(), DEG_foreach_dependent_ID_component(), DEG_foreach_ID(), do_version_curvemapping_walker(), draw_tri_flat_max(), draw_tri_flat_min(), DRW_custom_pipeline(), DRW_pass_foreach_shgroup(), DRW_render_object_iter(), DRW_shader_from_material(), DRW_shader_from_world(), DRW_view_layer_engine_data_ensure(), DRW_view_layer_engine_data_ensure_ex(), ed_screen_context(), libmv::EstimateFundamentalFromCorrespondences(), libmv::EstimateHomography2DFromCorrespondences(), file_on_reload_callback_register(), blender::ed::greasepencil::find_curve_intersections(), find_nearest_points_test(), blender::compositor::MetaData::for_each_entry(), blender::animrig::foreach_action_slot_use(), blender::animrig::foreach_action_slot_use_with_references(), blender::asset_system::AssetCatalogTreeItem::foreach_child(), Device::foreach_device(), MultiDevice::foreach_device(), blender::bke::CurvesVertexGroupsAttributeProvider::foreach_domain(), blender::bke::CustomDataAttributeProvider::foreach_domain(), blender::bke::MeshVertexGroupsAttributeProvider::foreach_domain(), blender::animrig::foreach_fcurve_in_action(), blender::animrig::foreach_fcurve_in_action_slot(), foreach_grid_coordinate(), blender::eevee::foreach_hair_particle_handle(), blender::asset_system::AssetCatalogTree::foreach_item(), foreach_libblock_link_append_common_processing(), blender::nodes::DerivedNodeTree::foreach_node(), foreach_object_modifier_ptcache(), foreach_object_particle_ptcache(), foreach_object_ptcache(), blender::bke::Instances::foreach_referenced_geometry(), blender::asset_system::AssetCatalogTree::foreach_root_item(), foreach_sliced_buffer_params(), blender::bke::nla::foreach_strip(), blender::bke::nla::foreach_strip_adt(), GPU_framebuffer_recursive_downsample(), GPU_material_from_nodetree(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), IDP_foreach_property(), image_walk_gpu_materials(), image_walk_id_all_users(), image_walk_ntree_all_users(), IMB_metadata_foreach(), InternalProcessAllTriangles(), blender::bke::iter_backwards_ex(), blender::ed::object::iter_other(), blender::asset_system::AssetCatalogPath::iterate_components(), library_foreach_ID_link(), blender::eevee::Instance::light_bake_irradiance(), GHOST_ContextCGL::metalRegisterPresentCallback(), blender::bke::GeometrySet::modify_geometry_sets(), MycollideTT(), blender::bke::node_chain_iterator(), blender::bke::node_chain_iterator_backwards(), blender::bke::node_parents_iterator(), ntree_foreach_texnode_recursive(), btCollisionWorld::objectQuerySingleInternal(), performConvexcast(), performRaycast(), btOverlappingPairCache::processAllOverlappingPairs(), btGImpactMeshShape::processAllTriangles(), btGImpactMeshShapePart::processAllTriangles(), btGImpactShapeInterface::processAllTriangles(), btGImpactMeshShape::processAllTrianglesRay(), btGImpactMeshShapePart::processAllTrianglesRay(), btCompoundCollisionAlgorithm::processCollision(), btCompoundCompoundCollisionAlgorithm::processCollision(), btSimulationIslandManager::processIslands(), btDbvtBroadphase::rayTest(), RE_engine_update_render_passes(), blender::gpu::FrameBuffer::recursive_downsample(), save_file_overwrite_confirm(), scene_collection_callback(), SEQ_for_each_callback(), seq_for_each_recursive(), setOverlapFilterCallback(), sph_evaluate_func(), stepDown(), stepForwardAndStrafe(), stepUp(), libmv::TemplatedTrackRegion(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::bke::tests::TEST_F(), blender::CPPType::to_static_type(), blender::nodes::try_dispatch_float_math_fl3_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl3_fl_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_to_fl(), blender::nodes::try_dispatch_float_math_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl_fl_fl_to_fl(), blender::nodes::try_dispatch_float_math_fl_fl_to_fl(), blender::nodes::try_dispatch_float_math_fl_to_fl(), iTaSC::Armature::updateJoint(), version_legacy_actions_to_layered(), visit_strip(), wm_block_file_close_discard(), wm_block_file_close_save(), WM_generic_callback_free(), WM_generic_callback_steal(), wm_operator_close_file_dialog_if_needed(), and wm_save_file_overwrite_dialog().

◆ target_id_node

IDNode* target_id_node

Definition at line 118 of file depsgraph_query_foreach.cc.

◆ visited