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

◆ on_iteration()

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

Write this pass's read/write parity into the parameter block.

Parameters
cmd_idCommand buffer being recorded into.
bufferBuffer under processing.
indexZero-based iteration index.
Returns
Always true. Every pass dispatches.

Reimplemented from MayaFlux::Buffers::ComputeProcessor.

Definition at line 47 of file PressureProcessor.cpp.

51{
52 write_lattice_word3(index % 2);
53 return true;
54}
void write_lattice_word3(uint32_t value)
Write word three of the shared prefix.

References MayaFlux::Buffers::VolumeFieldProcessor::write_lattice_word3().

+ Here is the call graph for this function: