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

◆ generation_slot()

MAYAFLUX_API VKBufferResources::GenerationSlot MayaFlux::Buffers::generation_slot ( const Portal::Graphics::GpuBufferHandle &  handle)

Express a buffer handle as the slot the back_buffers transfer helpers take.

Parameters
handleHandle to convert.
Returns
Slot carrying the handle's Vulkan buffer and host mapping. Its memory handle is left null, which the transfer helpers do not use.

Definition at line 414 of file StagingUtils.cpp.

References MayaFlux::Buffers::VKBufferResources::GenerationSlot::buffer, MayaFlux::Portal::Graphics::GpuBufferHandle::buffer, MayaFlux::Buffers::VKBufferResources::GenerationSlot::mapped_ptr, and MayaFlux::Portal::Graphics::GpuBufferHandle::mapped_ptr.

Referenced by MayaFlux::Buffers::DataReadProcessor::collect_result(), and MayaFlux::Buffers::DataReadProcessor::submit_read().

+ Here is the caller graph for this function: