MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ GeneratorContextGpu()

MayaFlux::Nodes::Generator::GeneratorContextGpu::GeneratorContextGpu ( double  value,
double  frequency,
float  amplitude,
double  phase,
std::span< const float >  gpu_data 
)
inline

Definition at line 67 of file Generator.hpp.

75 {
76 type_id = typeid(GeneratorContextGpu).name();
77 }
GeneratorContextGpu(double value, double frequency, float amplitude, double phase, std::span< const float > gpu_data)
Definition Generator.hpp:67
double phase
Current phase of the generator.
Definition Generator.hpp:62
double frequency
Current frequency of the generator.
Definition Generator.hpp:52
float amplitude
Current amplitude of the generator.
Definition Generator.hpp:57
GeneratorContext(double value, double frequency, float amplitude, double phase)
Constructs a GeneratorContext with the current generator state.
Definition Generator.hpp:37
std::span< const float > gpu_data() const
std::string type_id
Type identifier for runtime type checking.
Definition Node.hpp:48
double value
Current sample value.
Definition Node.hpp:40