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.
std::string type_id
Type identifier for runtime type checking.