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

◆ on_iteration()

bool MayaFlux::Buffers::RelaxationStepProcessor::on_iteration ( Portal::Graphics::CommandBufferID  cmd_id,
const std::shared_ptr< VKBuffer > &  buffer,
uint32_t  index 
)
overrideprotectedvirtual

Record that this cycle reached a dispatch.

Parameters
cmd_idCommand buffer, unused.
bufferBuffer being processed, unused.
indexIteration index, unused.
Returns
Always true.

ComputeProcessor calls this only when a dispatch is about to be recorded. processing_function reads the flag to decide whether the generation swaps.

Reimplemented from MayaFlux::Buffers::ComputeProcessor.

Definition at line 120 of file RelaxationStepProcessor.cpp.

124{
125 m_dispatched = true;
126 return true;
127}
bool m_dispatched
True when the current cycle recorded a dispatch.

References m_dispatched.