Blender V5.0
blender::nodes::derived_node_tree_types::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]

blender::nodes::DInputSocket::DInputSocket ( )
default

◆ DInputSocket() [2/3]

blender::nodes::DInputSocket::DInputSocket ( const DTreeContext * context,
const bNodeSocket * socket )
inline

Definition at line 405 of file NOD_derived_node_tree.hh.

◆ DInputSocket() [3/3]

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

Definition at line 410 of file NOD_derived_node_tree.hh.

Member Function Documentation

◆ foreach_origin_socket()

Call origin_fn for every "real" origin socket. "Real" means that reroutes, muted nodes and node groups are handled by this function. Origin sockets are ones where a node gets its inputs from.

Definition at line 175 of file derived_node_tree.cc.

◆ get_corresponding_group_input_sockets()

◆ get_corresponding_group_node_output()


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