|
Blender V5.3
|
Classes | |
| class | AllowUsingOutdatedInfo |
| struct | ToposortNodeState |
Enumerations | |
| enum class | ToposortDirection { LeftToRight , RightToLeft } |
|
strong |
| Enumerator | |
|---|---|
| LeftToRight | |
| RightToLeft | |
Definition at line 286 of file node_runtime.cc.
|
static |
Definition at line 544 of file node_runtime.cc.
References blender::CacheMutex::ensure(), ensure_topology_cache(), node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::threading::parallel_invoke(), RightToLeft, blender::bNodeTree::runtime, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), blender::bke::bNodeTreeRuntime::topology_cache_exists, blender::bke::bNodeTreeRuntime::topology_cache_mutex, blender::bke::bNodeTreeRuntime::toposort_right_to_left, update_dangling_reroute_nodes(), update_direct_frames_childrens(), update_directly_linked_links_and_sockets(), update_group_output_node(), update_internal_link_inputs(), update_link_vector(), update_node_vector(), update_nodes_by_type(), update_panels(), update_root_frames(), update_socket_vectors_and_owner_node(), and update_toposort().
Referenced by ensure_topology_cache().
|
static |
Definition at line 160 of file node_runtime.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), blender::bke::bNodeSocketRuntime::directly_linked_links, find_logical_origins_for_socket_recursive(), blender::bke::bNodeRuntime::inputs, blender::bke::bNodeSocketRuntime::internal_link_input, blender::bke::bNodeRuntime::outputs, blender::Vector< T, InlineBufferCapacity, Allocator >::pop_last(), blender::bNode::runtime, blender::bNodeSocket::runtime, and blender::Span< T >::take_front().
Referenced by find_logical_origins_for_socket_recursive().
|
static |
Definition at line 296 of file node_runtime.cc.
References blender::bke::all_zone_output_node_types(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::bNodeZoneType::get_corresponding_output_id(), get_implicit_origin_nodes(), blender::bke::bNodeZoneType::input_idname, node, blender::bke::node_type_find(), blender::bke::bNodeTreeRuntime::nodes_by_type, blender::bNodeTree::runtime, and blender::bke::zone_type_by_node_type().
Referenced by get_implicit_origin_nodes(), and toposort_from_start_node().
|
static |
Definition at line 314 of file node_runtime.cc.
References blender::bke::all_zone_input_node_types(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::bNodeZoneType::get_corresponding_output(), get_implicit_target_nodes(), node, and blender::bke::zone_type_by_node_type().
Referenced by get_implicit_target_nodes(), and toposort_from_start_node().
| void blender::bke::node_tree_runtime::preprocess_geometry_node_tree_for_evaluation | ( | bNodeTree & | tree_cow | ) |
Is executed when the node tree changed in the depsgraph.
Definition at line 27 of file node_runtime.cc.
References blender::BLI_assert(), blender::nodes::ensure_geometry_nodes_lazy_function_graph(), blender::bke::bNodeTreeRuntime::geometry_nodes_lazy_function_graph_info_mutex, blender::NTREE_GEOMETRY, preprocess_geometry_node_tree_for_evaluation(), blender::bNodeTree::runtime, blender::CacheMutex::tag_dirty(), and blender::bNodeTree::type.
Referenced by preprocess_geometry_node_tree_for_evaluation().
|
inline |
Definition at line 473 of file BKE_node_runtime.hh.
References node, and topology_cache_is_available().
|
inline |
Definition at line 482 of file BKE_node_runtime.hh.
References node, blender::bke::bNodeSocketRuntime::owner_node, blender::bNodeSocket::runtime, and topology_cache_is_available().
|
inline |
Definition at line 459 of file BKE_node_runtime.hh.
References blender::bke::bNodeTreeRuntime::allow_use_dirty_topology_cache, blender::CacheMutex::is_dirty(), blender::bNodeTree::runtime, blender::bke::bNodeTreeRuntime::topology_cache_exists, topology_cache_is_available(), and blender::bke::bNodeTreeRuntime::topology_cache_mutex.
Referenced by blender::bke::node_link_is_selected(), topology_cache_is_available(), topology_cache_is_available(), and topology_cache_is_available().
|
static |
Definition at line 326 of file node_runtime.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::bNodeSocketRuntime::directly_linked_links, blender::bke::bNodeSocketRuntime::directly_linked_sockets, get_implicit_origin_nodes(), get_implicit_target_nodes(), blender::bke::node_tree_runtime::ToposortNodeState::is_done, blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::bke::node_tree_runtime::ToposortNodeState::is_in_stack, LeftToRight, node, blender::bke::bNodeSocketRuntime::owner_node, blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::bNodeSocket::runtime, blender::Span< T >::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and toposort_from_start_node().
Referenced by toposort_from_start_node(), and update_toposort().
|
static |
Definition at line 525 of file node_runtime.cc.
References blender::BLI_assert(), blender::Span< T >::first(), blender::bke::bNodeRuntime::inputs, blender::bke::bNodeRuntime::is_dangling_reroute, blender::Span< T >::is_empty(), node, blender::bNode::runtime, blender::bNodeTree::runtime, blender::Span< T >::size(), blender::bke::bNodeTreeRuntime::toposort_left_to_right, and update_dangling_reroute_nodes().
Referenced by ensure_topology_cache(), and update_dangling_reroute_nodes().
|
static |
Definition at line 487 of file node_runtime.cc.
References node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bNodeTree::runtime, and update_direct_frames_childrens().
Referenced by ensure_topology_cache(), and update_direct_frames_childrens().
|
static |
Definition at line 118 of file node_runtime.cc.
References b, blender::BLI_assert(), blender::bke::bNodeSocketRuntime::directly_linked_links, blender::bke::bNodeSocketRuntime::directly_linked_sockets, blender::bNodeSocket::flag, blender::bNodeLink::fromnode, blender::bNodeLink::fromsock, blender::bke::bNodeRuntime::has_available_linked_inputs, blender::bke::bNodeRuntime::has_available_linked_outputs, blender::bke::bNodeTreeRuntime::input_sockets, blender::bke::bNodeTreeRuntime::links, node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bke::bNodeSocketRuntime::owner_node, blender::bNode::runtime, blender::bNodeSocket::runtime, blender::bNodeTree::runtime, blender::SOCK_MULTI_INPUT, blender::bNodeLink::tonode, blender::bNodeLink::tosock, and update_directly_linked_links_and_sockets().
Referenced by ensure_topology_cache(), and update_directly_linked_links_and_sockets().
|
static |
Definition at line 503 of file node_runtime.cc.
References blender::bke::bNodeTreeRuntime::group_output_node, blender::Span< T >::is_empty(), blender::NODE_DO_OUTPUT, blender::bke::node_type_find(), blender::bke::bNodeTreeRuntime::nodes_by_type, blender::bNodeTree::runtime, blender::Span< T >::size(), and update_group_output_node().
Referenced by ensure_topology_cache(), and update_group_output_node().
|
static |
Definition at line 105 of file node_runtime.cc.
References blender::bNodeInternalLink::in, blender::bke::bNodeSocketRuntime::internal_link_input, node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bNodeInternalLink::out, blender::bNodeSocket::runtime, blender::bNodeTree::runtime, and update_internal_link_inputs().
Referenced by ensure_topology_cache(), and update_internal_link_inputs().
|
static |
Definition at line 52 of file node_runtime.cc.
References blender::BLI_assert(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bNodeLink::fromnode, blender::bke::bNodeTreeRuntime::links, blender::bNodeTree::links, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bNodeTree::runtime, blender::bNodeLink::tonode, and update_link_vector().
Referenced by ensure_topology_cache(), and update_link_vector().
|
static |
Definition at line 214 of file node_runtime.cc.
References blender::bke::bNodeTreeRuntime::nodes_by_id, blender::threading::parallel_for(), blender::bNodeTree::runtime, and update_logically_linked_sockets().
Referenced by update_logically_linked_sockets().
|
static |
Definition at line 35 of file node_runtime.cc.
References blender::bke::bNodeTreeRuntime::group_nodes, blender::bke::bNodeTreeRuntime::has_undefined_nodes_or_sockets, node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bNodeTree::runtime, and update_node_vector().
Referenced by ensure_topology_cache(), and update_node_vector().
|
static |
Definition at line 257 of file node_runtime.cc.
References node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bke::bNodeTreeRuntime::nodes_by_type, blender::bNodeTree::runtime, and update_nodes_by_type().
Referenced by ensure_topology_cache(), and update_nodes_by_type().
|
static |
Definition at line 96 of file node_runtime.cc.
References node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bke::bNodeRuntime::panels, blender::bNodeTree::runtime, and update_panels().
Referenced by ensure_topology_cache(), and update_panels().
|
static |
Definition at line 473 of file node_runtime.cc.
References node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bke::bNodeTreeRuntime::root_frames, blender::bNodeTree::runtime, and update_root_frames().
Referenced by ensure_topology_cache(), and update_root_frames().
|
static |
Definition at line 65 of file node_runtime.cc.
References blender::bke::bNodeTreeRuntime::has_undefined_nodes_or_sockets, blender::bke::bNodeSocketRuntime::index_in_all_sockets, blender::bke::bNodeSocketRuntime::index_in_inout_sockets, blender::bke::bNodeSocketRuntime::index_in_node, blender::bke::bNodeTreeRuntime::input_sockets, blender::bke::bNodeRuntime::inputs, node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::bke::NodeSocketTypeUndefined, blender::bke::bNodeTreeRuntime::output_sockets, blender::bke::bNodeRuntime::outputs, blender::bke::bNodeSocketRuntime::owner_node, blender::bNodeSocket::runtime, blender::bNodeTree::runtime, blender::bke::bNodeTreeRuntime::sockets, blender::bNodeSocket::typeinfo, and update_socket_vectors_and_owner_node().
Referenced by ensure_topology_cache(), and update_socket_vectors_and_owner_node().
|
static |
Definition at line 266 of file node_runtime.cc.
References blender::bke::bNodeTreeRuntime::nodes_by_id, blender::threading::parallel_for(), blender::bNodeTree::runtime, and update_sockets_by_identifier().
Referenced by update_sockets_by_identifier().
|
static |
Definition at line 430 of file node_runtime.cc.
References blender::BLI_assert(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), LeftToRight, node, blender::bke::bNodeTreeRuntime::nodes_by_id, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), blender::bNodeTree::runtime, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), toposort_from_start_node(), and update_toposort().
Referenced by ensure_topology_cache(), and update_toposort().