Blender V4.3
blender::deg::sync_writeback Namespace Reference

Functions

void add (Depsgraph &depsgraph, std::function< void()> fn)
 
void add (::Depsgraph &depsgraph, std::function< void()> fn)
 

Function Documentation

◆ add() [1/2]

◆ add() [2/2]

void blender::deg::sync_writeback::add ( Depsgraph & depsgraph,
std::function< void()> fn )

Add a writeback task during depsgraph evaluation. The given function is called after depsgraph evaluation is done if the depsgraph is active. It is allowed to change original data blocks and even to add new relations.

Referenced by blender::add_data_block_items_writeback().