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

#include <NOD_geometry_nodes_lazy_function.hh>

Public Attributes

Vector< InputUsageHintgroup_input_usage_hints
MultiValueMap< const lf::Socket *, const bNodeSocket * > bsockets_by_lf_socket_map
Map< const bNode *, const lf::FunctionNode * > group_node_map
Map< const bNode *, const lf::FunctionNode * > possible_side_effect_node_map
Map< const bke::bNodeTreeZone *, 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 336 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 345 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 341 of file NOD_geometry_nodes_lazy_function.hh.

◆ group_node_map

Map<const bNode *, 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.

Definition at line 350 of file NOD_geometry_nodes_lazy_function.hh.

◆ 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<const bNode *, const lf::FunctionNode *> blender::nodes::GeometryNodeLazyFunctionGraphMapping::possible_side_effect_node_map

Definition at line 351 of file NOD_geometry_nodes_lazy_function.hh.

◆ zone_node_map

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

Definition at line 352 of file NOD_geometry_nodes_lazy_function.hh.


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