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

◆ output()

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

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

Returns
Null before the first successful mill().

Fetch again after every mill() rather than caching it; the ring hands back a different buffer each dispatch.

Definition at line 518 of file PrimitiveMill.cpp.

519{
520 if (m_outputs.empty()) {
521 return nullptr;
522 }
523 return m_outputs[m_output_slot];
524}
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.

Referenced by operator=().

Here is the caller graph for this function: