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

◆ waits_on_submit()

virtual bool MayaFlux::Buffers::ShaderProcessor::waits_on_submit ( ) const
inlinenodiscardprotectedvirtual

Whether a dispatch blocks the host until it has completed.

True by default. The wait also drains earlier queue work, which per-frame host writes to single-buffered resources currently rely on. Override to return false only when every consumer of the output is ordered on the GPU and the host resources the dispatch uses are protected across frames.

Definition at line 634 of file ShaderProcessor.hpp.

634{ return true; }

Referenced by submit_recorded().

Here is the caller graph for this function: