Blender V5.3
blender::nodes::GeometryNodeLazyFunctionGraphMapping Struct Reference

#include <NOD_geometry_nodes_lazy_function.hh>

Public Attributes

Vector< InputUsageHint > group_input_usage_hints
MultiValueMap< const lf::Socket *, const bNodeSocket * > bsockets_by_lf_socket_map
Map< int, const lf::FunctionNode * > group_node_map
Map< int, const lf::FunctionNode * > possible_side_effect_node_map
Map< int, const lf::FunctionNode * > zone_node_map
Array< int > lf_input_index_for_output_bsocket_usage
Array< int > lf_input_index_for_reference_set_for_output
Array< int > lf_index_by_bsocket

Detailed Description

Contains the mapping between the bNodeTree and the corresponding lazy-function graph. This is not a one-to-one mapping.

Definition at line 351 of file NOD_geometry_nodes_lazy_function.hh.

Member Data Documentation

◆ bsockets_by_lf_socket_map

MultiValueMap<const lf::Socket *, const bNodeSocket *> blender::nodes::GeometryNodeLazyFunctionGraphMapping::bsockets_by_lf_socket_map

A mapping used for logging intermediate values.

Definition at line 360 of file NOD_geometry_nodes_lazy_function.hh.

◆ group_input_usage_hints

Vector<InputUsageHint> blender::nodes::GeometryNodeLazyFunctionGraphMapping::group_input_usage_hints

This is an optimization to avoid partially evaluating a node group just to figure out which inputs are needed.

Definition at line 356 of file NOD_geometry_nodes_lazy_function.hh.

◆ group_node_map

Map<int, const lf::FunctionNode *> blender::nodes::GeometryNodeLazyFunctionGraphMapping::group_node_map

Mappings for some special node types. Generally, this mapping does not exist for all node types, so better have more specialized mappings for now. The key is the identifier if a node.

Definition at line 365 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::try_add_side_effect_node().

◆ lf_index_by_bsocket

◆ lf_input_index_for_output_bsocket_usage

Array<int> blender::nodes::GeometryNodeLazyFunctionGraphMapping::lf_input_index_for_output_bsocket_usage

◆ lf_input_index_for_reference_set_for_output

Array<int> blender::nodes::GeometryNodeLazyFunctionGraphMapping::lf_input_index_for_reference_set_for_output

◆ possible_side_effect_node_map

Map<int, const lf::FunctionNode *> blender::nodes::GeometryNodeLazyFunctionGraphMapping::possible_side_effect_node_map

◆ zone_node_map

Map<int, const lf::FunctionNode *> blender::nodes::GeometryNodeLazyFunctionGraphMapping::zone_node_map

Key is the identifier of the zone output node.

Definition at line 368 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::try_add_side_effect_node().


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