MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Yantra::SharedBufferInfo Struct Reference

What a shared buffer slot declares about itself. More...

#include <GpuResourceManager.hpp>

Collaboration diagram for MayaFlux::Yantra::SharedBufferInfo:

Public Attributes

size_t byte_size { 0 }
size_t element_count { 0 }
GpuBufferBinding::ElementType element_type {}
uint64_t generation { 0 }

Detailed Description

What a shared buffer slot declares about itself.

The element type is the one the owner last declared with ensure_shared_buffer. The generation increases each time the owner replaces the underlying buffer, so a consumer that holds a device address or a handle can tell it went stale.

Definition at line 22 of file GpuResourceManager.hpp.


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