WebGPU Headers: WGPUBindGroupLayoutEntry Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
uint32_t binding
 
WGPUShaderStage visibility
 
uint32_t bindingArraySize
 
WGPUBufferBindingLayout buffer
 
WGPUSamplerBindingLayout sampler
 
WGPUTextureBindingLayout texture
 
WGPUStorageTextureBindingLayout storageTexture
 

Default values can be set using WGPU_BIND_GROUP_LAYOUT_ENTRY_INIT as initializer.

Definition at line 3626 of file webgpu.h.

◆ nextInChain

◆ binding

uint32_t WGPUBindGroupLayoutEntry::binding

The INIT macro sets this to 0.

Definition at line 3631 of file webgpu.h.

◆ visibility

◆ bindingArraySize

uint32_t WGPUBindGroupLayoutEntry::bindingArraySize

If non-zero, this entry defines a binding array with this size.

The INIT macro sets this to 0.

Definition at line 3641 of file webgpu.h.

◆ buffer

The INIT macro sets this to zero (which sets the entry to BindingNotUsed).

Definition at line 3645 of file webgpu.h.

◆ sampler

The INIT macro sets this to zero (which sets the entry to BindingNotUsed).

Definition at line 3649 of file webgpu.h.

◆ texture

The INIT macro sets this to zero (which sets the entry to BindingNotUsed).

Definition at line 3653 of file webgpu.h.

◆ storageTexture

The INIT macro sets this to zero (which sets the entry to BindingNotUsed).

Definition at line 3657 of file webgpu.h.