|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
What a shared buffer slot declares about itself. More...
#include <GpuResourceManager.hpp>
Public Attributes | |
| size_t | byte_size { 0 } |
| size_t | element_count { 0 } |
| GpuBufferBinding::ElementType | element_type {} |
| uint64_t | generation { 0 } |
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.