|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Generator::Phasor::on_phase_wrap | ( | const NodeHook & | callback | ) |
Registers a callback for every phase wrap.
| callback | Function to call when the phase wraps |
This method allows external components to monitor or react to every time the phasor completes a cycle and wraps back to 0. The callback receives a GeneratorContext containing the generated value and generator parameters like frequency, amplitude, and phase.
Definition at line 169 of file Phasor.cpp.
References m_phase_wrap_callbacks, and MayaFlux::Nodes::safe_add_callback().
Here is the call graph for this function: