Blender V4.5
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 1644 of file geometry_nodes_lazy_function.cc.

Constructor & Destructor Documentation

◆ BuildGraphParams()

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

Definition at line 1679 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 1646 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 1668 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 1663 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 1648 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 1649 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 1659 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 1675 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 1674 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 1677 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 1654 of file geometry_nodes_lazy_function.cc.


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