MayaFlux 0.5.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).

Checked once per on_before_execute, after the state descriptor bindings have already been written for the current front/back assignment. Returning false skips execute_shader for that cycle without side effects beyond the descriptor write already performed.

Definition at line 85 of file RelaxationStepProcessor.hpp.

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