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

#include <Polynomial.hpp>

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

Public Member Functions

 PolynomialContextGpu (double value, PolynomialMode mode, size_t buffer_size, const std::deque< double > &input_buffer, const std::deque< double > &output_buffer, const std::vector< double > &coefficients, std::span< const float > gpu_data)
 
- Public Member Functions inherited from MayaFlux::Nodes::Generator::PolynomialContext
 PolynomialContext (double value, PolynomialMode mode, size_t buffer_size, const std::deque< double > &input_buffer, const std::deque< double > &output_buffer, const std::vector< double > &coefficients)
 Constructs a PolynomialContext.
 
PolynomialMode get_mode () const
 Gets the current polynomial mode.
 
size_t get_buffer_size () const
 Gets the buffer size.
 
const std::deque< double > & get_input_buffer () const
 Gets the input buffer.
 
const std::deque< double > & get_output_buffer () const
 Gets the output buffer.
 
const std::vector< double > & get_coefficients () const
 Gets the polynomial coefficients.
 
- 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::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 82 of file Polynomial.hpp.


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