One entry of a BindGroupLayoutDescriptor. More...
#include "donner/gpu/Descriptors.h"
Public Attributes | |
| uint32_t | binding = 0 |
| Shader binding index. | |
| ShaderStage | visibility = ShaderStage::None |
| Stages that may access the binding. | |
| BindingType | type = BindingType::UniformBuffer |
| Kind of resource bound. | |
| TextureFormat | storageTextureFormat = TextureFormat::RGBA8Unorm |
| Texel format a BindingType::WriteOnlyStorageTexture2d binding writes. | |
One entry of a BindGroupLayoutDescriptor.
| uint32_t donner::gpu::BindGroupLayoutEntry::binding = 0 |
Shader binding index.
| TextureFormat donner::gpu::BindGroupLayoutEntry::storageTextureFormat = TextureFormat::RGBA8Unorm |
Texel format a BindingType::WriteOnlyStorageTexture2d binding writes.
The bound texture must have been created with this format. Ignored for every other binding type.
| BindingType donner::gpu::BindGroupLayoutEntry::type = BindingType::UniformBuffer |
Kind of resource bound.
| ShaderStage donner::gpu::BindGroupLayoutEntry::visibility = ShaderStage::None |
Stages that may access the binding.