Blender V5.0
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 411 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 421 of file NOD_geometry_nodes_lazy_function.hh.

◆ function

◆ graph

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

The actual lazy-function graph.

Definition at line 420 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 430 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 415 of file NOD_geometry_nodes_lazy_function.hh.


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