Collect SSBO readback after a signaled async dispatch.
Valid only in SCALAR mode. Mirrors ShaderExecutionContext::collect_result().
- Returns
- GpuChannelResult with primary float data and aux buffers.
Definition at line 225 of file TextureExecutionContext.hpp.
226 {
227 GpuChannelResult result;
230 return result;
231 }
void readback_aux(GpuChannelResult &result)
Read back all OUTPUT bindings that have explicit size overrides into the aux map of a GpuChannelResul...
size_t last_effective_element_count() const
Effective element count used by the last dispatch_core or dispatch_core_async call.
std::vector< float > readback_primary(size_t float_count)
Read back the primary output buffer into a float vector.
References MayaFlux::Yantra::GpuChannelResult::primary.