|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::LogicProcessor::set_modulation_function | ( | ModulationFunction | func | ) |
Set custom modulation function.
This sets the ModulationType to CUSTOM and uses the provided function for modulating the buffer. The function takes two parameters: the logic value and the buffer value, and returns the modulated result.
Use cases:
| func | Custom modulation function |
Definition at line 195 of file LogicProcessor.cpp.
References CUSTOM, m_modulation_function, and m_modulation_type.