GeneratorContextGpu(double value, double frequency, float amplitude, double phase, std::span< const float > gpu_data)
double phase
Current phase of the generator.
double frequency
Current frequency of the generator.
float amplitude
Current amplitude of the generator.
GeneratorContext(double value, double frequency, float amplitude, double phase)
Constructs a GeneratorContext with the current generator state.
Specialized context for generator node callbacks.
Base context class for node callbacks.