Blender V4.3
blender::nodes::GeometryNodesLazyFunctionGraphInfo Struct Reference

#include <NOD_geometry_nodes_lazy_function.hh>

Public Attributes

ResourceScope scope
 
GeometryNodesGroupFunction function
 
lf::Graph graph
 
Map< int, const lf::Graph * > debug_zone_body_graphs
 
GeometryNodeLazyFunctionGraphMapping mapping
 
int num_inline_nodes_approximate = 0
 

Detailed Description

Data that is cached for every bNodeTree.

Definition at line 407 of file NOD_geometry_nodes_lazy_function.hh.

Member Data Documentation

◆ debug_zone_body_graphs

Map<int, const lf::Graph *> blender::nodes::GeometryNodesLazyFunctionGraphInfo::debug_zone_body_graphs

Definition at line 417 of file NOD_geometry_nodes_lazy_function.hh.

◆ function

◆ graph

lf::Graph blender::nodes::GeometryNodesLazyFunctionGraphInfo::graph

The actual lazy-function graph.

Definition at line 416 of file NOD_geometry_nodes_lazy_function.hh.

◆ mapping

◆ num_inline_nodes_approximate

int blender::nodes::GeometryNodesLazyFunctionGraphInfo::num_inline_nodes_approximate = 0

Approximate number of nodes in the graph if all sub-graphs were inlined. This can be used as a simple heuristic for the complexity of the node group.

Definition at line 426 of file NOD_geometry_nodes_lazy_function.hh.

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

◆ scope

ResourceScope blender::nodes::GeometryNodesLazyFunctionGraphInfo::scope

Contains resources that need to be freed when the graph is not needed anymore.

Definition at line 411 of file NOD_geometry_nodes_lazy_function.hh.


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