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

◆ output()

std::shared_ptr< VKBuffer > MayaFlux::Portal::Graphics::PrimitiveMill::output ( ) const

The milled triangles: the ring slot the last mill() wrote.

Returns
Null before the first successful mill().

Re-read after every mill(), never cached across one: a rotating ring hands back a different buffer each dispatch.

Definition at line 468 of file PrimitiveMill.cpp.

469{
470 if (m_outputs.empty()) {
471 return nullptr;
472 }
473 return m_outputs[m_output_slot];
474}
std::vector< std::shared_ptr< Buffers::VKBuffer > > m_outputs
Milled buffers rotated between dispatches, all at m_output_capacity.

References m_output_slot, and m_outputs.