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

◆ shared_buffer_handle()

Portal::Graphics::GpuBufferHandle MayaFlux::Yantra::GpuDispatchCore::shared_buffer_handle ( uint32_t  set,
size_t  binding_index 
) const
inline

Non-owning view of the shared buffer at (set, binding_index).

Lets a consumer read a context's GPU output in place instead of through a host readback. The context keeps ownership, so the view is only valid while the context lives and until the buffer is grown.

Definition at line 254 of file GpuDispatchCore.hpp.

255 {
256 return m_resources.shared_buffer_handle(set, binding_index);
257 }
Portal::Graphics::GpuBufferHandle shared_buffer_handle(uint32_t set, size_t binding_index) const
Non-owning view of the shared buffer at (set, binding_index).