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

#include <NOD_socket_interface_key.hh>

Public Member Functions

 SocketInterfaceKey (Vector< std::string > identifiers)
 
 SocketInterfaceKey (std::string identifier)
 
bool matches (const SocketInterfaceKey &other) const
 
Span< std::string > identifiers () const
 

Detailed Description

A key that identifies values in a bundle or inputs/outputs of a closure. Note that this key does not have a hash and thus can't be used in a hash table. This wouldn't work well if these items have multiple identifiers for compatibility reasons. While that's not used currently, it's good to keep it possible.

Definition at line 19 of file NOD_socket_interface_key.hh.

Constructor & Destructor Documentation

◆ SocketInterfaceKey() [1/2]

blender::nodes::SocketInterfaceKey::SocketInterfaceKey ( Vector< std::string > identifiers)
explicit

◆ SocketInterfaceKey() [2/2]

blender::nodes::SocketInterfaceKey::SocketInterfaceKey ( std::string identifier)
explicit

Definition at line 10 of file blenkernel/intern/geometry_nodes_bundle.cc.

Member Function Documentation

◆ identifiers()

Span< std::string > blender::nodes::SocketInterfaceKey::identifiers ( ) const

Definition at line 21 of file blenkernel/intern/geometry_nodes_bundle.cc.

◆ matches()


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