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

◆ on_before_execute()

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

True only on the first call; every call after returns false.

Reimplemented from MayaFlux::Buffers::NetworkStateFieldProcessor.

Definition at line 81 of file PopulationProcessor.cpp.

84{
86 return false;
87 }
88
89 if (m_done) {
90 return false;
91 }
92
93 m_done = true;
94 return true;
95}
bool on_before_execute(Portal::Graphics::CommandBufferID cmd_id, const std::shared_ptr< VKBuffer > &buffer) override
Reject buffers that are not the validated NetworkGeometryBuffer.

References m_done, and MayaFlux::Buffers::NetworkStateFieldProcessor::on_before_execute().

+ Here is the call graph for this function: