|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
protected |
Read back the primary output buffer into a float vector.
Selects the first OUTPUT or INPUT_OUTPUT binding. Caps readback to the lesser of the requested float count and the allocated buffer size.
| float_count | Number of float elements to attempt to read. |
Definition at line 421 of file GpuDispatchCore.cpp.
References b, MayaFlux::Yantra::GpuResourceManager::buffer_allocated_bytes(), dispatch_key(), MayaFlux::Yantra::GpuResourceManager::download(), find_first_output_index(), MayaFlux::Portal::Graphics::GpuBufferBinding::IMAGE_SAMPLED, MayaFlux::Portal::Graphics::GpuBufferBinding::IMAGE_STORAGE, m_bindings, and m_resources.
Referenced by MayaFlux::Yantra::ShaderExecutionContext< InputType, OutputType >::collect_result(), dispatch_core(), dispatch_core_chained(), and dispatch_core_chained_indirect().
Here is the call graph for this function:
Here is the caller graph for this function: