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

#include <NOD_geometry_nodes_lazy_function.hh>

Public Attributes

const LazyFunctionfunction = nullptr
struct { 
   IndexRange   main 
   IndexRange   output_usages 
   struct { 
      IndexRange   range 
      Vector< int >   geometry_outputs 
   }   references_to_propagate
inputs
struct { 
   IndexRange   main 
   IndexRange   input_usages 
outputs

Detailed Description

Contains the information that is necessary to execute a geometry node tree.

Definition at line 365 of file NOD_geometry_nodes_lazy_function.hh.

Member Data Documentation

◆ function

const LazyFunction* blender::nodes::GeometryNodesGroupFunction::function = nullptr

The lazy-function that does what the node group does. Its inputs and outputs are described below.

Definition at line 370 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::execute_geometry_nodes_on_geometry(), and blender::nodes::LazyFunctionForGroupNode::LazyFunctionForGroupNode().

◆ geometry_outputs

Vector<int> blender::nodes::GeometryNodesGroupFunction::geometry_outputs

◆ input_usages

IndexRange blender::nodes::GeometryNodesGroupFunction::input_usages

A boolean for every group input that indicates whether this input will be used. Oftentimes this can be determined without actually computing much. This is used to compute anonymous attribute lifetimes.

Definition at line 404 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::execute_geometry_nodes_on_geometry().

◆ [struct]

struct { ... } blender::nodes::GeometryNodesGroupFunction::inputs

◆ main

IndexRange blender::nodes::GeometryNodesGroupFunction::main

Main input values that come out of the Group Input node.

Main output values that are passed into the Group Output node.

Definition at line 376 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::execute_geometry_nodes_on_geometry().

◆ output_usages

IndexRange blender::nodes::GeometryNodesGroupFunction::output_usages

A boolean for every group output that indicates whether that output is needed. It's ok if those are set to true even when an output is not used, but the other way around will lead to bugs. The node group uses those values to compute the lifetimes of anonymous attributes.

Definition at line 382 of file NOD_geometry_nodes_lazy_function.hh.

Referenced by blender::nodes::execute_geometry_nodes_on_geometry().

◆ [struct]

struct { ... } blender::nodes::GeometryNodesGroupFunction::outputs

◆ range

IndexRange blender::nodes::GeometryNodesGroupFunction::range

◆ [struct]

struct { ... } blender::nodes::GeometryNodesGroupFunction::references_to_propagate

Some node groups can propagate attributes from a geometry input to a geometry output. In those cases, the caller of the node group has to decide which anonymous attributes have to be kept alive on the geometry because the caller requires them.

Referenced by blender::nodes::execute_geometry_nodes_on_geometry(), and blender::nodes::LazyFunctionForGroupNode::LazyFunctionForGroupNode().


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