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

#include <NOD_geometry_nodes_closure.hh>

Public Attributes

struct { 
   IndexRange   main 
   IndexRange   output_usages 
   Map< int, int >   output_data_reference_sets 
inputs
struct { 
   IndexRange   main 
   IndexRange   input_usages 
outputs

Detailed Description

Describes the meaning of the various inputs and outputs of the lazy-function that's contained in the closure.

Definition at line 23 of file NOD_geometry_nodes_closure.hh.

Member Data Documentation

◆ input_usages

IndexRange blender::nodes::ClosureFunctionIndices::input_usages

A boolean output for each input indicating whether that input is used.

Definition at line 39 of file NOD_geometry_nodes_closure.hh.

Referenced by blender::nodes::LazyFunctionForClosureZone::execute_impl(), and blender::nodes::LazyFunctionForEvaluateClosureNode::initialize_execution_graph().

◆ [struct]

◆ main

◆ output_data_reference_sets

Map<int, int> blender::nodes::ClosureFunctionIndices::output_data_reference_sets

A GeometryNodesReferenceSet input for a subset of the outputs. This is used to tell the closure which attributes it has to propagate to the outputs.

Main output index -> input lf socket index.

Definition at line 34 of file NOD_geometry_nodes_closure.hh.

Referenced by blender::nodes::LazyFunctionForClosureZone::execute_impl(), and blender::nodes::LazyFunctionForEvaluateClosureNode::initialize_execution_graph().

◆ output_usages

IndexRange blender::nodes::ClosureFunctionIndices::output_usages

A boolean input for each output indicating whether that output is used.

Definition at line 27 of file NOD_geometry_nodes_closure.hh.

Referenced by blender::nodes::LazyFunctionForClosureZone::execute_impl(), and blender::nodes::LazyFunctionForEvaluateClosureNode::initialize_execution_graph().

◆ [struct]


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