|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Portal::Graphics::GpuBufferHandle MayaFlux::Buffers::gpu_buffer_handle | ( | const VKBufferResources::GenerationSlot & | slot, |
| size_t | size_bytes | ||
| ) |
View a raw back_buffers slot without reading it back.
| slot | Slot, typically from VKBuffer::get_buffer_resources().back_buffers or a named state accessor such as NetworkGeometryBuffer::read_state_slot(). |
| size_bytes | Byte size of the slot's contents. A slot does not carry its size, so the owning buffer's own accessor supplies it. |
Definition at line 399 of file StagingUtils.cpp.
References MayaFlux::Buffers::VKBufferResources::GenerationSlot::buffer, MayaFlux::Portal::Graphics::GpuBufferHandle::buffer, and MayaFlux::Buffers::VKBufferResources::GenerationSlot::mapped_ptr.