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

#include <Random.hpp>

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

Public Member Functions

 RandomContextGpu (double value, Kinesis::Stochastic::Algorithm type, double amplitude, double range_start, double range_end, double normal_spread, std::span< const float > gpu_data)
 
- Public Member Functions inherited from MayaFlux::Nodes::Generator::RandomContext
 RandomContext (double value, Kinesis::Stochastic::Algorithm type, double amplitude, double range_start, double range_end, double normal_spread)
 Constructs a RandomContext 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::RandomContext
Kinesis::Stochastic::Algorithm distribution_type
 Current distribution type.
 
double amplitude
 Current amplitude scaling factor.
 
double range_start
 Current lower bound of the range.
 
double range_end
 Current upper bound of the range.
 
double normal_spread
 Current variance parameter for normal distribution.
 
- 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, 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 84 of file Nodes/Generators/Random.hpp.


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