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