Blender V5.0
blender::nodes::ClosureSignature Class Reference

#include <NOD_geometry_nodes_closure_signature.hh>

Classes

struct  Item
struct  ItemKeyGetter

Public Member Functions

std::optional< int > find_input_index (StringRef key) const
std::optional< int > find_output_index (StringRef key) const
void set_auto_structure_types ()

Static Public Member Functions

static ClosureSignature from_closure_output_node (const bNode &node, bool allow_auto_structure_type)
static ClosureSignature from_evaluate_closure_node (const bNode &node, bool allow_auto_structure_type)

Public Attributes

CustomIDVectorSet< Item, ItemKeyGetterinputs
CustomIDVectorSet< Item, ItemKeyGetteroutputs

Friends

bool operator== (const ClosureSignature &a, const ClosureSignature &b)
bool operator!= (const ClosureSignature &a, const ClosureSignature &b)

Detailed Description

Describes the names and types of the inputs and outputs of a closure.

Definition at line 16 of file NOD_geometry_nodes_closure_signature.hh.

Member Function Documentation

◆ find_input_index()

◆ find_output_index()

std::optional< int > blender::nodes::ClosureSignature::find_output_index ( StringRef key) const

◆ from_closure_output_node()

◆ from_evaluate_closure_node()

◆ set_auto_structure_types()

void blender::nodes::ClosureSignature::set_auto_structure_types ( )

◆ operator!=

bool operator!= ( const ClosureSignature & a,
const ClosureSignature & b )
friend

Definition at line 49 of file geometry_nodes_closure.cc.

References b.

◆ operator==

bool operator== ( const ClosureSignature & a,
const ClosureSignature & b )
friend

Definition at line 44 of file geometry_nodes_closure.cc.

References b, inputs, and outputs.

Member Data Documentation

◆ inputs

◆ outputs


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