Blender V4.3
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< intlf_input_index_for_output_bsocket_usage
 
Array< intlf_input_index_for_attribute_propagation_to_output
 
Array< intlf_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 332 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

◆ 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 337 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 346 of file NOD_geometry_nodes_lazy_function.hh.

◆ lf_index_by_bsocket

◆ lf_input_index_for_attribute_propagation_to_output

◆ lf_input_index_for_output_bsocket_usage

◆ possible_side_effect_node_map

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

Definition at line 347 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 348 of file NOD_geometry_nodes_lazy_function.hh.


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