|
Blender V5.0
|
#include <BKE_node_runtime.hh>
Public Member Functions | |
| NodeLinkKey (const bNodeLink &link) | |
| bNodeLink * | try_find (bNodeTree &ntree) const |
| const bNodeLink * | try_find (const bNodeTree &ntree) const |
| uint64_t | hash () const |
| BLI_STRUCT_EQUALITY_OPERATORS_3 (NodeLinkKey, to_node_id_, input_socket_index_, input_link_index_) | |
Utility to weakly reference a link. Weak references are safer because they avoid dangling references which can easily happen temporarily when editing the node tree.
Definition at line 80 of file BKE_node_runtime.hh.
|
explicit |
Assumes that the topology cache is up to date.
Definition at line 583 of file node_runtime.cc.
References bNode::identifier, bNodeLink::tonode, and bNodeLink::tosock.
Referenced by BLI_STRUCT_EQUALITY_OPERATORS_3().
| blender::bke::NodeLinkKey::BLI_STRUCT_EQUALITY_OPERATORS_3 | ( | NodeLinkKey | , |
| to_node_id_ | , | ||
| input_socket_index_ | , | ||
| input_link_index_ | ) |
References NodeLinkKey().
|
inline |
Definition at line 93 of file BKE_node_runtime.hh.
References blender::get_default_hash().
Definition at line 596 of file node_runtime.cc.