Default values can be set using WGPU_BIND_GROUP_LAYOUT_ENTRY_INIT as initializer.
WGPUChainedStruct* WGPUBindGroupLayoutEntry::nextInChain |
uint32_t WGPUBindGroupLayoutEntry::binding |
WGPUShaderStage WGPUBindGroupLayoutEntry::visibility |
The INIT
macro sets this to WGPUShaderStage_None.
WGPUBufferBindingLayout WGPUBindGroupLayoutEntry::buffer |
WGPUSamplerBindingLayout WGPUBindGroupLayoutEntry::sampler |
WGPUTextureBindingLayout WGPUBindGroupLayoutEntry::texture |
WGPUStorageTextureBindingLayout WGPUBindGroupLayoutEntry::storageTexture |