|
Blender V5.3
|
#include <node_intern.hh>
Public Member Functions | |
| NodeAndSocket (const bNode &node, const StringRef socket_identifier, const eNodeSocketInOut in_out, const bool link_muted, std::optional< int > multi_input_sort_id=std::nullopt) | |
| NodeAndSocket (const bNode &node, const bNodeSocket &socket, const bool link_muted, std::optional< int > multi_input_sort_id=std::nullopt) | |
| NodeAndSocket (const bNodeSocket &socket, const bool link_muted, std::optional< int > multi_input_sort_id=std::nullopt) | |
| bool | is_input () const |
| bool | is_output () const |
| const bNodeSocket * | find_socket_in_node (const bNode &other_node) const |
| bNodeSocket * | find_socket_in_node (bNode &other_node) const |
| const bNodeSocket * | find_socket () const |
Public Attributes | |
| const bNode & | node |
| std::string | socket_identifier |
| eNodeSocketInOut | in_out |
| bool | link_muted |
| std::optional< int > | multi_input_sort_id |
Friends | |
| bool | operator== (const NodeAndSocket &a, const NodeAndSocket &b) |
Utility for referencing a const socket and its owner node.
Definition at line 49 of file node_intern.hh.
|
inline |
Definition at line 56 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
Referenced by operator==.
|
inline |
Definition at line 68 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
|
inline |
Definition at line 79 of file node_intern.hh.
References in_out, link_muted, multi_input_sort_id, node, and socket_identifier.
|
inline |
Definition at line 103 of file node_intern.hh.
References find_socket_in_node().
| bNodeSocket * blender::NodeAndSocket::find_socket_in_node | ( | bNode & | other_node | ) | const |
Definition at line 65 of file node_copy_util.cc.
References find_socket_in_node().
| const bNodeSocket * blender::NodeAndSocket::find_socket_in_node | ( | const bNode & | other_node | ) | const |
Definition at line 56 of file node_copy_util.cc.
References blender::BLI_findstring(), in_out, blender::bNode::inputs, offsetof, blender::bNode::outputs, blender::SOCK_IN, and socket_identifier.
Referenced by blender::ed::space_node::connect_copied_nodes_to_external_sockets(), blender::ed::space_node::connect_copied_nodes_to_interface(), find_socket(), and find_socket_in_node().
|
inline |
Definition at line 90 of file node_intern.hh.
References in_out, and blender::SOCK_IN.
|
inline |
Definition at line 95 of file node_intern.hh.
References in_out, and blender::SOCK_OUT.
|
friend |
Definition at line 108 of file node_intern.hh.
References b, in_out, link_muted, multi_input_sort_id, node, NodeAndSocket(), and socket_identifier.
| eNodeSocketInOut blender::NodeAndSocket::in_out |
Definition at line 52 of file node_intern.hh.
Referenced by find_socket_in_node(), is_input(), is_output(), NodeAndSocket(), NodeAndSocket(), NodeAndSocket(), blender::DefaultHash< NodeAndSocket >::operator()(), and operator==.
| bool blender::NodeAndSocket::link_muted |
Definition at line 53 of file node_intern.hh.
Referenced by blender::ed::space_node::connect_copied_nodes_to_external_sockets(), blender::ed::space_node::connect_copied_nodes_to_interface(), NodeAndSocket(), NodeAndSocket(), NodeAndSocket(), blender::DefaultHash< NodeAndSocket >::operator()(), and operator==.
| std::optional<int> blender::NodeAndSocket::multi_input_sort_id |
Definition at line 54 of file node_intern.hh.
Referenced by blender::ed::space_node::connect_copied_nodes_to_external_sockets(), blender::ed::space_node::connect_copied_nodes_to_interface(), NodeAndSocket(), NodeAndSocket(), NodeAndSocket(), blender::DefaultHash< NodeAndSocket >::operator()(), and operator==.
| const bNode& blender::NodeAndSocket::node |
Definition at line 50 of file node_intern.hh.
Referenced by blender::ed::space_node::connect_copied_nodes_to_external_sockets(), blender::ed::space_node::connect_copied_nodes_to_interface(), NodeAndSocket(), NodeAndSocket(), NodeAndSocket(), blender::DefaultHash< NodeAndSocket >::operator()(), and operator==.
| std::string blender::NodeAndSocket::socket_identifier |
Definition at line 51 of file node_intern.hh.
Referenced by blender::ed::space_node::connect_copied_nodes_to_external_sockets(), find_socket_in_node(), NodeAndSocket(), NodeAndSocket(), NodeAndSocket(), blender::DefaultHash< NodeAndSocket >::operator()(), and operator==.