Blender V5.0
blender::nodes::BuildGraphParams Struct Reference

Public Member Functions

 BuildGraphParams (lf::Graph &lf_graph)

Public Attributes

lf::Graphlf_graph
MultiValueMap< const bNodeSocket *, lf::InputSocket * > lf_inputs_by_bsocket
Map< const bNodeSocket *, lf::OutputSocket * > lf_output_by_bsocket
Map< const bNodeSocket *, lf::OutputSocket * > usage_by_bsocket
Map< const bNodeSocket *, lf::InputSocket * > lf_reference_set_input_by_output
Map< const bNodeLink *, lf::InputSocket * > lf_input_by_multi_input_link
Map< const bNodeLink *, lf::InputSocket * > lf_input_by_border_link
Set< lf::InputSocket * > socket_usage_inputs
MultiValueMap< ReferenceSetIndex, lf::InputSocket * > lf_reference_set_inputs
Map< Vector< lf::OutputSocket * >, lf::OutputSocket * > socket_usages_combination_cache

Detailed Description

Definition at line 1559 of file geometry_nodes_lazy_function.cc.

Constructor & Destructor Documentation

◆ BuildGraphParams()

blender::nodes::BuildGraphParams::BuildGraphParams ( lf::Graph & lf_graph)
inline

Definition at line 1594 of file geometry_nodes_lazy_function.cc.

References lf_graph.

Member Data Documentation

◆ lf_graph

lf::Graph& blender::nodes::BuildGraphParams::lf_graph

Lazy-function graph that nodes and links should be inserted into.

Definition at line 1561 of file geometry_nodes_lazy_function.cc.

Referenced by BuildGraphParams().

◆ lf_input_by_border_link

Map<const bNodeLink *, lf::InputSocket *> blender::nodes::BuildGraphParams::lf_input_by_border_link

This is similar to lf_inputs_by_bsocket but contains more relevant information when border links are linked to multi-input sockets.

Definition at line 1583 of file geometry_nodes_lazy_function.cc.

◆ lf_input_by_multi_input_link

Map<const bNodeLink *, lf::InputSocket *> blender::nodes::BuildGraphParams::lf_input_by_multi_input_link

Multi-input sockets are split into separate sockets, once for each incoming link.

Definition at line 1578 of file geometry_nodes_lazy_function.cc.

◆ lf_inputs_by_bsocket

MultiValueMap<const bNodeSocket *, lf::InputSocket *> blender::nodes::BuildGraphParams::lf_inputs_by_bsocket

Map bNodeSocket to newly generated sockets. Those maps are later used to insert links.

Definition at line 1563 of file geometry_nodes_lazy_function.cc.

◆ lf_output_by_bsocket

Map<const bNodeSocket *, lf::OutputSocket *> blender::nodes::BuildGraphParams::lf_output_by_bsocket

Definition at line 1564 of file geometry_nodes_lazy_function.cc.

◆ lf_reference_set_input_by_output

Map<const bNodeSocket *, lf::InputSocket *> blender::nodes::BuildGraphParams::lf_reference_set_input_by_output

Nodes that propagate anonymous attributes have to know which of those attributes to propagate. For that they have an input for each output that specifies what data to propagate.

Definition at line 1574 of file geometry_nodes_lazy_function.cc.

◆ lf_reference_set_inputs

MultiValueMap<ReferenceSetIndex, lf::InputSocket *> blender::nodes::BuildGraphParams::lf_reference_set_inputs

Definition at line 1590 of file geometry_nodes_lazy_function.cc.

◆ socket_usage_inputs

Set<lf::InputSocket *> blender::nodes::BuildGraphParams::socket_usage_inputs

Keeps track of all boolean inputs that indicate whether a socket is used. Links to those sockets may be replaced with a constant-true if necessary to break dependency cycles in #fix_link_cycles.

Definition at line 1589 of file geometry_nodes_lazy_function.cc.

◆ socket_usages_combination_cache

Map<Vector<lf::OutputSocket *>, lf::OutputSocket *> blender::nodes::BuildGraphParams::socket_usages_combination_cache

Cache to avoid building the same socket combinations multiple times.

Definition at line 1592 of file geometry_nodes_lazy_function.cc.

◆ usage_by_bsocket

Map<const bNodeSocket *, lf::OutputSocket *> blender::nodes::BuildGraphParams::usage_by_bsocket

Maps sockets to corresponding generated boolean sockets that indicate whether the socket is used or not.

Definition at line 1569 of file geometry_nodes_lazy_function.cc.


The documentation for this struct was generated from the following file: