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

◆ ensure_native()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::MatrixXd>
void MayaFlux::Yantra::WaveformAnalyzer< InputType, OutputType >::ensure_native ( ) const
inlineprivate

Definition at line 438 of file WaveformAnalyzer.hpp.

439 {
440 if (m_native) {
441 return;
442 }
444 if (config.shader_id == Portal::Graphics::INVALID_SHADER) {
446 std::source_location::current(), "The native waveform kernel did not compile; the shader log has the compiler's message");
447 }
450 }
const Config & config() const
The stored config struct of type Config, or its defaults when none was set.
static WindowedKernelShape native_shape() noexcept
std::unique_ptr< ShaderExecutionContext<> > m_native
Time-domain descriptors of every channel, run on the GPU.
GpuComputeConfig windowed_kernel_config(const std::string &body, const WindowedKernelShape &shape={})
Config of a GLSL body wrapped in the layout.
std::vector< GpuBufferBinding > windowed_kernel_layout(const WindowedKernelShape &shape={})
The binding layout of a windowed kernel.

Referenced by MayaFlux::Yantra::WaveformAnalyzer< std::vector< Kakshya::DataVariant >, Eigen::MatrixXd >::analyze_implementation(), and MayaFlux::Yantra::WaveformAnalyzer< std::vector< Kakshya::DataVariant >, Eigen::MatrixXd >::measure_chunk_native().

Here is the caller graph for this function: