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

◆ configure()

void MayaFlux::Buffers::AudioComputeProcessor::configure ( )
private

Definition at line 39 of file AudioComputeProcessor.cpp.

40{
42
43 auto& bindings = m_config.bindings;
44 for (auto it = bindings.begin(); it != bindings.end();) {
45 if (it->second.set == 0 && it->second.binding == 0) {
46 it = bindings.erase(it);
47 } else {
48 ++it;
49 }
50 }
51
52 add_binding(k_block_name, ShaderBinding(0, 0));
53}
void add_binding(const std::string &descriptor_name, const ShaderBinding &binding)
Add descriptor binding configuration.
@ AUDIO_PARALLEL
High-performance audio processing with GPU acceleration.

References MayaFlux::Buffers::ShaderProcessor::add_binding(), MayaFlux::Buffers::AUDIO_PARALLEL, MayaFlux::Buffers::ShaderProcessor::m_config, and MayaFlux::Buffers::BufferProcessor::m_processing_token.

Referenced by AudioComputeProcessor(), and AudioComputeProcessor().

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