|
Blender V5.3
|
#include <NOD_geometry_nodes_lazy_function.hh>
Public Member Functions | |
| GeometryNodesLazyFunctionGraphInfo (const char *debug_name) | |
Public Attributes | |
| ResourceScope | scope |
| std::shared_ptr< const bNodeTree > | tree |
| uint32_t | original_tree_session_uid |
| GeometryNodesGroupFunction | function |
| lf::Graph | graph |
| Map< int, const lf::Graph * > | debug_zone_body_graphs |
| GeometryNodeLazyFunctionGraphMapping | mapping |
| int | num_inline_nodes_approximate = 0 |
Data that is cached for every bNodeTree.
Definition at line 427 of file NOD_geometry_nodes_lazy_function.hh.
| blender::nodes::GeometryNodesLazyFunctionGraphInfo::GeometryNodesLazyFunctionGraphInfo | ( | const char * | debug_name | ) |
Definition at line 4260 of file geometry_nodes_lazy_function.cc.
References GeometryNodesLazyFunctionGraphInfo(), and graph.
Referenced by GeometryNodesLazyFunctionGraphInfo().
| Map<int, const lf::Graph *> blender::nodes::GeometryNodesLazyFunctionGraphInfo::debug_zone_body_graphs |
Definition at line 452 of file NOD_geometry_nodes_lazy_function.hh.
| GeometryNodesGroupFunction blender::nodes::GeometryNodesLazyFunctionGraphInfo::function |
Definition at line 447 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by blender::nodes::execute_geometry_nodes_on_geometry(), and blender::nodes::LazyFunctionForGroupNode::LazyFunctionForGroupNode().
| lf::Graph blender::nodes::GeometryNodesLazyFunctionGraphInfo::graph |
The actual lazy-function graph.
Definition at line 451 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by GeometryNodesLazyFunctionGraphInfo().
| GeometryNodeLazyFunctionGraphMapping blender::nodes::GeometryNodesLazyFunctionGraphInfo::mapping |
Mappings between the lazy-function graph and the bNodeTree.
Definition at line 456 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by blender::nodes::get_enable_output_node_lazy_function(), blender::nodes::node_geo_bake_cc::LazyFunctionForBakeNode::LazyFunctionForBakeNode(), blender::nodes::LazyFunctionForGeometryNode::LazyFunctionForGeometryNode(), blender::nodes::node_geo_index_switch_cc::LazyFunctionForIndexSwitchNode::LazyFunctionForIndexSwitchNode(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionForMenuSwitchNode::LazyFunctionForMenuSwitchNode(), blender::nodes::node_geo_simulation_cc::sim_input_node::LazyFunctionForSimulationInputNode::LazyFunctionForSimulationInputNode(), blender::nodes::node_geo_simulation_cc::sim_output_node::LazyFunctionForSimulationOutputNode::LazyFunctionForSimulationOutputNode(), blender::nodes::node_geo_menu_switch_cc::LazyFunctionMenuSwitchBooleanOutputs::LazyFunctionMenuSwitchBooleanOutputs(), blender::nodes::set_default_remaining_node_outputs(), and blender::try_add_side_effect_node().
| 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 461 of file NOD_geometry_nodes_lazy_function.hh.
Referenced by blender::nodes::LazyFunctionForGroupNode::LazyFunctionForGroupNode().
| uint32_t blender::nodes::GeometryNodesLazyFunctionGraphInfo::original_tree_session_uid |
Session UID of the original tree in Main that this is based on. Used to map evaluated data back to the original tree later on.
Definition at line 445 of file NOD_geometry_nodes_lazy_function.hh.
| ResourceScope blender::nodes::GeometryNodesLazyFunctionGraphInfo::scope |
Contains resources that need to be freed when the graph is not needed anymore.
Definition at line 431 of file NOD_geometry_nodes_lazy_function.hh.
| std::shared_ptr<const bNodeTree> blender::nodes::GeometryNodesLazyFunctionGraphInfo::tree |
Owned copy of the tree to evaluate. This allows the original tree to be freed without making the execution graph invalid. This is very common because many changes to a node tree trigger a new depsgraph-copy but not a new evaluation (since the output has not changed).
Without an extra copy, one could not output fields/closures to other objects without having those become dangling on trivial tree changes.
Definition at line 440 of file NOD_geometry_nodes_lazy_function.hh.