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