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

◆ FftContext() [1/3]

MayaFlux::Yantra::FftContext::FftContext ( uint32_t points,
Portal::Graphics::SpectrumOutput output = Portal::Graphics::SpectrumOutput::Complex,
bool inverse = false )
inlineexplicit
Parameters
pointsPoints per window.
outputComplex bins or the power spectrum.
inverseTrue for the inverse transform, scaled by 1 / points.

Definition at line 45 of file FftContext.hpp.

50 {
51 }
static Portal::Graphics::ShaderSpec fft_spec(uint32_t points, Portal::Graphics::SpectrumOutput output, uint32_t descriptors=0)
The spec of the template instance this context drives.
uint32_t points() const noexcept
FftContext(uint32_t points, Portal::Graphics::SpectrumOutput output=Portal::Graphics::SpectrumOutput::Complex, bool inverse=false)
ShaderExecutionContext & output(size_t byte_size, GpuBufferBinding::ElementType type=GpuBufferBinding::ElementType::FLOAT32)
Add an OUTPUT binding, inferring the next available binding index.

References MayaFlux::Portal::Graphics::Complex, fft_spec(), FftContext(), MayaFlux::Yantra::ShaderExecutionContext< InputType, OutputType >::output(), and points().

Referenced by FftContext(), and FftContext().

Here is the call graph for this function:
Here is the caller graph for this function: