|
Blender
V2.93
|
#include <NOD_derived_node_tree.hh>
Inherits blender::nodes::DSocket.
Public Member Functions | |
| DInputSocket ()=default | |
| DInputSocket (const DTreeContext *context, const InputSocketRef *socket) | |
| DInputSocket (const DSocket &base_socket) | |
| const InputSocketRef * | socket_ref () const |
| const InputSocketRef * | operator-> () const |
| DOutputSocket | get_corresponding_group_node_output () const |
| Vector< DOutputSocket, 4 > | get_corresponding_group_input_sockets () const |
| void | foreach_origin_socket (FunctionRef< void(DSocket)> origin_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 127 of file NOD_derived_node_tree.hh.
|
default |
|
inline |
Definition at line 343 of file NOD_derived_node_tree.hh.
|
inlineexplicit |
Definition at line 348 of file NOD_derived_node_tree.hh.
References BLI_assert, and blender::nodes::SocketRef::is_input().
| void blender::nodes::DInputSocket::foreach_origin_socket | ( | FunctionRef< void(DSocket)> | origin_fn | ) | const |
Definition at line 184 of file derived_node_tree.cc.
References blender::nodes::SocketRef::as_input(), BLI_assert, blender::nodes::DSocket::context_, foreach_origin_socket(), blender::nodes::NodeRef::is_group_input_node(), blender::nodes::NodeRef::is_group_node(), blender::nodes::SocketRef::is_logically_linked(), blender::nodes::DTreeContext::is_root(), blender::nodes::InputSocketRef::logically_linked_sockets(), and blender::nodes::DSocket::socket_ref_.
Referenced by foreach_origin_socket().
| Vector< DOutputSocket > blender::nodes::DInputSocket::get_corresponding_group_input_sockets | ( | ) | const |
Definition at line 129 of file derived_node_tree.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), 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(), blender::nodes::NodeTreeRef::nodes_by_type(), blender::nodes::DSocket::socket_ref_, and blender::nodes::DTreeContext::tree().
| DOutputSocket blender::nodes::DInputSocket::get_corresponding_group_node_output | ( | ) | const |
Definition at line 114 of file derived_node_tree.cc.
References BLI_assert, blender::nodes::DSocket::context_, blender::nodes::SocketRef::index(), blender::nodes::NodeRef::inputs(), blender::nodes::NodeRef::is_group_output_node(), blender::nodes::SocketRef::node(), blender::nodes::NodeRef::output(), blender::nodes::DTreeContext::parent_context(), blender::nodes::DTreeContext::parent_node(), and blender::nodes::DSocket::socket_ref_.
|
inline |
Definition at line 358 of file NOD_derived_node_tree.hh.
References blender::nodes::DSocket::socket_ref_.
|
inline |
Definition at line 353 of file NOD_derived_node_tree.hh.
References blender::nodes::DSocket::socket_ref_.