MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nodes::Generator::GeneratorContextGpu Class Reference

#include <Generator.hpp>

+ Inheritance diagram for MayaFlux::Nodes::Generator::GeneratorContextGpu:
+ Collaboration diagram for MayaFlux::Nodes::Generator::GeneratorContextGpu:

Public Member Functions

 GeneratorContextGpu (double value, double frequency, float amplitude, double phase, std::span< const float > gpu_data)
 
- Public Member Functions inherited from MayaFlux::Nodes::Generator::GeneratorContext
 GeneratorContext (double value, double frequency, float amplitude, double phase)
 Constructs a GeneratorContext with the current generator state.
 
- Public Member Functions inherited from MayaFlux::Nodes::NodeContext
virtual ~NodeContext ()=default
 
template<typename T >
T * as ()
 Safely cast to a derived context type.
 
- Public Member Functions inherited from MayaFlux::Nodes::GpuVectorData
 GpuVectorData ()=default
 
 GpuVectorData (std::span< const float > data)
 
std::span< const float > gpu_data () const
 
size_t gpu_data_size () const
 
bool has_gpu_data () const
 

Additional Inherited Members

- Public Attributes inherited from MayaFlux::Nodes::Generator::GeneratorContext
double frequency
 Current frequency of the generator.
 
float amplitude
 Current amplitude of the generator.
 
double phase
 Current phase of the generator.
 
- Public Attributes inherited from MayaFlux::Nodes::NodeContext
double value
 Current sample value.
 
std::string type_id
 Type identifier for runtime type checking.
 
- Protected Member Functions inherited from MayaFlux::Nodes::NodeContext
 NodeContext (double value, const std::string &type)
 Protected constructor for NodeContext.
 
- Protected Attributes inherited from MayaFlux::Nodes::GpuVectorData
std::span< const float > m_gpu_data
 

Detailed Description

Definition at line 65 of file Generator.hpp.


The documentation for this class was generated from the following file: