|
Blender V4.3
|
#include <NOD_derived_node_tree.hh>
Inherited by blender::nodes::DInputSocket, and blender::nodes::DOutputSocket.
Public Member Functions | |
| DSocket ()=default | |
#DSocket Inline Methods | |
| DSocket (const DTreeContext *context, const bNodeSocket *socket) | |
| DSocket (const DInputSocket &input_socket) | |
| DSocket (const DOutputSocket &output_socket) | |
| const DTreeContext * | context () const |
| const bNodeSocket * | bsocket () const |
| const bNodeSocket * | operator-> () const |
| const bNodeSocket & | operator* () const |
| operator bool () const | |
| uint64_t | hash () const |
| DNode | node () const |
Protected Attributes | |
| const DTreeContext * | context_ = nullptr |
| const bNodeSocket * | bsocket_ = nullptr |
A (nullable) reference to a socket and the context it is in. It is unique within an entire nested node group hierarchy. This type is small and can be passed around by value.
A DSocket can represent an input or an output socket. If the type of a socket is known at compile time is preferable to use #DInputSocket or #DOutputSocket instead.
Definition at line 106 of file NOD_derived_node_tree.hh.
|
default |
|
inline |
Definition at line 345 of file NOD_derived_node_tree.hh.
References BLI_assert, bsocket(), and bNodeSocket::runtime.
|
inline |
Definition at line 352 of file NOD_derived_node_tree.hh.
|
inline |
Definition at line 357 of file NOD_derived_node_tree.hh.
|
inline |
Definition at line 367 of file NOD_derived_node_tree.hh.
References bsocket_.
Referenced by DSocket(), and blender::realtime_compositor::populate_gpu_node_stack().
|
inline |
Definition at line 362 of file NOD_derived_node_tree.hh.
References context_.
Referenced by blender::realtime_compositor::compute_number_of_needed_buffers(), blender::realtime_compositor::NodeOperation::compute_results_reference_counts(), blender::realtime_compositor::compute_schedule(), and blender::nodes::DerivedNodeTree::to_dot().
|
inline |
Definition at line 388 of file NOD_derived_node_tree.hh.
References bsocket_, context_, and blender::get_default_hash().
|
inline |
Definition at line 393 of file NOD_derived_node_tree.hh.
References BLI_assert, bsocket_, context_, and bNodeSocket::runtime.
Referenced by blender::realtime_compositor::compute_number_of_needed_buffers(), and blender::realtime_compositor::compute_schedule().
|
inline |
Definition at line 372 of file NOD_derived_node_tree.hh.
|
inline |
Definition at line 382 of file NOD_derived_node_tree.hh.
References BLI_assert, and bsocket_.
|
inline |
Definition at line 377 of file NOD_derived_node_tree.hh.
References bsocket_.
|
protected |
Definition at line 109 of file NOD_derived_node_tree.hh.
Referenced by bsocket(), blender::nodes::DInputSocket::foreach_origin_socket(), blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket(), blender::nodes::DInputSocket::get_corresponding_group_input_sockets(), blender::nodes::DOutputSocket::get_corresponding_group_node_input(), blender::nodes::DInputSocket::get_corresponding_group_node_output(), hash(), node(), operator*(), and operator->().
|
protected |
Definition at line 108 of file NOD_derived_node_tree.hh.
Referenced by context(), blender::nodes::DInputSocket::foreach_origin_socket(), blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket(), blender::nodes::DInputSocket::get_corresponding_group_input_sockets(), blender::nodes::DOutputSocket::get_corresponding_group_node_input(), blender::nodes::DInputSocket::get_corresponding_group_node_output(), hash(), and node().