Blender  V3.3
Public Member Functions | List of all members
blender::nodes::DInputSocket Class Reference

#include <NOD_derived_node_tree.hh>

Inheritance diagram for blender::nodes::DInputSocket:
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 InputSocketRef *socket)
 
 DInputSocket (const DSocket &base_socket)
 
const InputSocketRefsocket_ref () const
 
const InputSocketRefoperator-> () 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 DTreeContextcontext () const
 
const SocketRefsocket_ref () const
 
const SocketRefoperator-> () 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 SocketRefsocket_ref_ = nullptr
 

Detailed Description

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

Definition at line 123 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 InputSocketRef socket 
)
inline

Definition at line 397 of file NOD_derived_node_tree.hh.

◆ DInputSocket() [3/3]

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

Definition at line 402 of file NOD_derived_node_tree.hh.

References BLI_assert, and blender::nodes::SocketRef::is_input().

Member Function Documentation

◆ foreach_origin_socket()

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

◆ get_corresponding_group_input_sockets()

Vector< DOutputSocket > blender::nodes::DInputSocket::get_corresponding_group_input_sockets ( ) const

◆ get_corresponding_group_node_output()

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

◆ operator->()

const InputSocketRef * blender::nodes::DInputSocket::operator-> ( ) const
inline

Definition at line 412 of file NOD_derived_node_tree.hh.

References blender::nodes::DSocket::socket_ref_.

◆ socket_ref()

const InputSocketRef * blender::nodes::DInputSocket::socket_ref ( ) const
inline

Definition at line 407 of file NOD_derived_node_tree.hh.

References blender::nodes::DSocket::socket_ref_.


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