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

◆ on_dispatch_complete()

void MayaFlux::Buffers::RelaxationStepProcessor::on_dispatch_complete ( const std::shared_ptr< VKBuffer > &  buffer)
overrideprotectedvirtual

Serve a pending snapshot when a deferred dispatch completes.

Parameters
bufferBuffer the completed dispatch processed, unused.

Reimplemented from MayaFlux::Buffers::ShaderProcessor.

Definition at line 129 of file RelaxationStepProcessor.cpp.

130{
131 if (m_grid) {
133 }
134}
std::shared_ptr< RelaxationGridBuffer > m_grid
The attached RelaxationGridBuffer, cached for descriptor writes and snapshot reads.
void serve_snapshot()
Copy the front state buffer to the host and signal RelaxationGridBuffer::snapshot_source(),...

References m_grid, and serve_snapshot().

+ Here is the call graph for this function: