MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_step_predicate()

void MayaFlux::Buffers::RelaxationStepProcessor::set_step_predicate ( StepPredicate  predicate)
inline

Set the predicate deciding whether this cycle advances a generation.

Parameters
predicateCallable returning true to step, false to skip. Pass nullptr to always step (default).

Evaluated once per cycle at the top of processing_function, before any state changes. Returning false skips the cycle entirely.

Definition at line 81 of file RelaxationStepProcessor.hpp.

81{ m_step_predicate = std::move(predicate); }
StepPredicate m_step_predicate
Optional gate deciding whether a given cycle advances a generation.