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

◆ set_iteration_count()

void MayaFlux::Buffers::ComputeProcessor::set_iteration_count ( uint32_t  count)

Set how many dispatches are recorded per execute cycle.

Parameters
countDispatch count. Values below 1 are clamped to 1.

All iterations record into one command buffer and submit once. on_iteration runs before each; on_iteration_barrier runs between consecutive iterations. At the default of 1 the recorded command stream is identical to a single-dispatch cycle.

Definition at line 183 of file ComputeProcessor.cpp.

184{
186}
size_t count
uint32_t iteration_count
Dispatches recorded per execute cycle.

References count, MayaFlux::Buffers::ShaderDispatchConfig::iteration_count, and m_dispatch_config.

Referenced by MayaFlux::Buffers::DiffuseProcessor::DiffuseProcessor(), MayaFlux::Buffers::DiffuseProcessor::DiffuseProcessor(), MayaFlux::Buffers::PressureProcessor::PressureProcessor(), and MayaFlux::Buffers::PressureProcessor::PressureProcessor().

+ Here is the caller graph for this function: