|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
Declares a single storage buffer or image binding a compute shader expects. More...
#include <GraphicsUtils.hpp>
Collaboration diagram for MayaFlux::Portal::Graphics::GpuBufferBinding:Public Types | |
| enum class | Direction : uint8_t { INPUT , OUTPUT , INPUT_OUTPUT } |
| Data flow direction for this binding. More... | |
| enum class | ElementType : uint8_t { FLOAT32 , UINT32 , INT32 , PASSTHROUGH , IMAGE_STORAGE , IMAGE_SAMPLED } |
| Element type the shader expects in this binding. More... | |
Public Attributes | |
| uint32_t | binding { 0 } |
| Binding index within the set. | |
| enum MayaFlux::Portal::Graphics::GpuBufferBinding::ElementType | FLOAT32 |
| enum MayaFlux::Portal::Graphics::GpuBufferBinding::Direction | INPUT |
| uint32_t | set { 0 } |
| Descriptor set index. | |
| bool | skip_auto_readback { false } |
| Skip automatic CPU readback after dispatch for this binding. | |
| BufferUsageHint | usage_hint { BufferUsageHint::COMPUTE_STORAGE } |
| Hint for buffer allocation and memory properties. | |
Declares a single storage buffer or image binding a compute shader expects.
Vulkan-agnostic description consumed by ComputePress/ShaderFoundry to derive descriptor types, barrier targets, and staging behavior. Carries no vk:: types itself; translation to vk::DescriptorType happens at the point of use.
Definition at line 143 of file GraphicsUtils.hpp.