Blender V5.0
blender::NodesModifierRuntime Struct Reference

#include <MOD_nodes.hh>

Public Attributes

std::shared_ptr< nodes::geo_eval_log::GeoNodesLogeval_log
std::shared_ptr< bke::bake::ModifierCachecache
NodesModifierUsageInferenceCache usage_cache

Detailed Description

Definition at line 46 of file MOD_nodes.hh.

Member Data Documentation

◆ cache

std::shared_ptr<bke::bake::ModifierCache> blender::NodesModifierRuntime::cache

Simulation cache that is shared between original and evaluated modifiers. This allows the original modifier to be removed, without also removing the simulation state which may still be used by the evaluated modifier.

Definition at line 59 of file MOD_nodes.hh.

◆ eval_log

std::shared_ptr<nodes::geo_eval_log::GeoNodesLog> blender::NodesModifierRuntime::eval_log

Contains logged information from the last evaluation. This can be used to help the user to debug a node tree. This is a shared pointer because we might want to keep it around in some cases after the evaluation (e.g. for gizmo backpropagation).

Definition at line 53 of file MOD_nodes.hh.

◆ usage_cache

NodesModifierUsageInferenceCache blender::NodesModifierRuntime::usage_cache

Cache the usage of the node group inputs and outputs to accelerate drawing the UI when no properties change.

Definition at line 64 of file MOD_nodes.hh.


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