MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::GpuBufferHandle Struct Reference

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 }
 

Detailed Description

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.


The documentation for this struct was generated from the following file: