Blender V4.5
blender::nodes::DInputSocket Class Reference

#include <NOD_derived_node_tree.hh>

Inherits blender::nodes::DSocket.

Public Member Functions

 DInputSocket ()=default
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
#DInputSocket Inline Methods
 DInputSocket (const DTreeContext *context, const bNodeSocket *socket)
 DInputSocket (const DSocket &base_socket)
Public Member Functions inherited from blender::nodes::DSocket
 DSocket ()=default
 DSocket (const DTreeContext *context, const bNodeSocket *socket)
 DSocket (const DInputSocket &input_socket)
 DSocket (const DOutputSocket &output_socket)
const DTreeContextcontext () const
const bNodeSocketbsocket () const
const bNodeSocketoperator-> () const
const bNodeSocketoperator* () const
 operator bool () const
uint64_t hash () const
DNode node () const

Additional Inherited Members

Protected Attributes inherited from blender::nodes::DSocket
const DTreeContextcontext_ = nullptr
const bNodeSocketbsocket_ = nullptr

Detailed Description

A (nullable) reference to an input socket and the context it is in.

Definition at line 132 of file NOD_derived_node_tree.hh.

Constructor & Destructor Documentation

◆ DInputSocket() [1/3]

◆ DInputSocket() [2/3]

◆ DInputSocket() [3/3]

blender::nodes::DInputSocket::DInputSocket ( const DSocket & base_socket)
inlineexplicit

Definition at line 410 of file NOD_derived_node_tree.hh.

References BLI_assert, and blender::nodes::DSocket::DSocket().

Member Function Documentation

◆ foreach_origin_socket()

void blender::nodes::DInputSocket::foreach_origin_socket ( FunctionRef< void(DSocket)> origin_fn) const

◆ get_corresponding_group_input_sockets()

◆ get_corresponding_group_node_output()

DOutputSocket blender::nodes::DInputSocket::get_corresponding_group_node_output ( ) const

The documentation for this class was generated from the following files: