|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Non-owning view of a GPU storage buffer produced by a compute path. More...
#include <ShaderUtils.hpp>
Collaboration diagram for MayaFlux::Portal::Graphics::GpuBufferHandle:Public Member Functions | |
| operator bool () const noexcept | |
Public Attributes | |
| vk::Buffer | buffer {} |
| void * | mapped_ptr { nullptr } |
| size_t | size_bytes { 0 } |
Non-owning view of a GPU storage buffer produced by a compute path.
Names the buffer, its host mapping when the memory is host visible, and its size in bytes. The producer owns the memory: a handle stays valid until the producer says otherwise, and a null buffer means no data.
Definition at line 24 of file ShaderUtils.hpp.