|
Blender
V2.93
|
#include <NOD_derived_node_tree.hh>
Inherits blender::nodes::DSocket.
Public Member Functions | |
| DOutputSocket ()=default | |
| DOutputSocket (const DTreeContext *context, const OutputSocketRef *socket) | |
| DOutputSocket (const DSocket &base_socket) | |
| const OutputSocketRef * | socket_ref () const |
| const OutputSocketRef * | operator-> () const |
| DInputSocket | get_corresponding_group_node_input () const |
| DInputSocket | get_active_corresponding_group_output_socket () const |
| void | foreach_target_socket (FunctionRef< void(DInputSocket)> target_fn, FunctionRef< void(DSocket)> skipped_fn) const |
Public Member Functions inherited from blender::nodes::DSocket | |
| DSocket ()=default | |
| DSocket (const DTreeContext *context, const SocketRef *socket) | |
| DSocket (const DInputSocket &input_socket) | |
| DSocket (const DOutputSocket &output_socket) | |
| const DTreeContext * | context () const |
| const SocketRef * | socket_ref () const |
| const SocketRef * | operator-> () const |
| operator bool () const | |
| uint64_t | hash () const |
| DNode | node () const |
Additional Inherited Members | |
Protected Attributes inherited from blender::nodes::DSocket | |
| const DTreeContext * | context_ = nullptr |
| const SocketRef * | socket_ref_ = nullptr |
Definition at line 143 of file NOD_derived_node_tree.hh.
|
default |
|
inline |
Definition at line 367 of file NOD_derived_node_tree.hh.
|
inlineexplicit |
Definition at line 372 of file NOD_derived_node_tree.hh.
References BLI_assert, and blender::nodes::SocketRef::is_output().
| void blender::nodes::DOutputSocket::foreach_target_socket | ( | FunctionRef< void(DInputSocket)> | target_fn, |
| FunctionRef< void(DSocket)> | skipped_fn | ||
| ) | const |
Definition at line 234 of file derived_node_tree.cc.
References blender::nodes::SocketRef::as_output(), blender::nodes::DSocket::context_, foreach_target_socket(), blender::nodes::NodeRef::is_group_node(), blender::nodes::NodeRef::is_group_output_node(), blender::nodes::DTreeContext::is_root(), blender::nodes::SocketRef::logically_linked_skipped_sockets(), blender::nodes::OutputSocketRef::logically_linked_sockets(), and blender::nodes::DSocket::socket_ref_.
Referenced by foreach_target_socket().
| DInputSocket blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket | ( | ) | const |
Definition at line 162 of file derived_node_tree.cc.
References BLI_assert, blender::nodes::DTreeContext::child_context(), blender::nodes::DSocket::context_, blender::nodes::SocketRef::index(), blender::nodes::NodeRef::is_group_node(), blender::nodes::SocketRef::node(), NODE_DO_OUTPUT, blender::nodes::NodeTreeRef::nodes_by_type(), blender::Span< T >::size(), blender::nodes::DSocket::socket_ref_, and blender::nodes::DTreeContext::tree().
| DInputSocket blender::nodes::DOutputSocket::get_corresponding_group_node_input | ( | ) | const |
Definition at line 147 of file derived_node_tree.cc.
References BLI_assert, blender::nodes::DSocket::context_, blender::nodes::SocketRef::index(), blender::nodes::NodeRef::input(), blender::nodes::NodeRef::is_group_input_node(), blender::nodes::SocketRef::node(), blender::nodes::NodeRef::outputs(), blender::nodes::DTreeContext::parent_context(), blender::nodes::DTreeContext::parent_node(), and blender::nodes::DSocket::socket_ref_.
|
inline |
Definition at line 382 of file NOD_derived_node_tree.hh.
References blender::nodes::DSocket::socket_ref_.
|
inline |
Definition at line 377 of file NOD_derived_node_tree.hh.
References blender::nodes::DSocket::socket_ref_.