|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Yantra::GpuDispatchCore::record_stages | ( | const std::vector< DependencyStage > & | stages | ) |
Stage and record each stage in order, one dispatch per stage.
Each stage is staged and recorded in turn, so its uploads and fills land between the dispatches before and after it. With a recording attached nothing is submitted; without one, each stage is submitted and awaited on its own. The context's own shader config, bindings and staged data are restored before this returns.
| stages | Ordered stage descriptions. |
Definition at line 511 of file GpuDispatchCore.cpp.
References dispatch_key(), for_each_stage(), m_push_constants, and m_resources.
Referenced by MayaFlux::Yantra::run_windowed_kernel().