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

◆ on_before_execute()

bool MayaFlux::Buffers::RelaxationEmitProcessor::on_before_execute ( Portal::Graphics::CommandBufferID  cmd_id,
const std::shared_ptr< VKBuffer > &  buffer 
)
overrideprotectedvirtual

Accept only a RelaxationGridBuffer.

Parameters
cmd_idCommand buffer, unused.
bufferBuffer being processed.
Returns
False for any other buffer, which skips execution.

Fires twice per cycle. Writes no descriptors: a write here lands after the parent has bound the set.

Reimplemented from MayaFlux::Buffers::ShaderProcessor.

Definition at line 61 of file RelaxationEmitProcessor.cpp.

64{
65 return std::dynamic_pointer_cast<RelaxationGridBuffer>(buffer) != nullptr;
66}
std::shared_ptr< NetworkGeometryBuffer > buffer

References buffer.