Blender V5.0
NodeTreeUpdateExtraParams Struct Reference

#include <BKE_node_tree_update.hh>

Public Attributes

std::function< void(bNodeTree &, ID &owner)> tree_changed_fn
std::function< void(bNodeTree &, ID &owner)> tree_output_changed_fn

Detailed Description

Definition at line 65 of file BKE_node_tree_update.hh.

Member Data Documentation

◆ tree_changed_fn

std::function<void(bNodeTree &, ID &owner)> NodeTreeUpdateExtraParams::tree_changed_fn

Called for every tree that has been changed during the update. This can be used to send notifiers to trigger redraws or depsgraph updates.

Definition at line 70 of file BKE_node_tree_update.hh.

◆ tree_output_changed_fn

std::function<void(bNodeTree &, ID &owner)> NodeTreeUpdateExtraParams::tree_output_changed_fn

Called for every tree whose output value may have changed based on the provided update tags. This can be used to tag the depsgraph if necessary.

Definition at line 76 of file BKE_node_tree_update.hh.


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