WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUBindGroupLayoutEntry Struct Reference

Data Fields

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

Detailed Description

Default values can be set using WGPU_BIND_GROUP_LAYOUT_ENTRY_INIT as initializer.

Definition at line 3591 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUBindGroupLayoutEntry::nextInChain

Definition at line 3592 of file webgpu.h.

◆ binding

uint32_t WGPUBindGroupLayoutEntry::binding

The INIT macro sets this to 0.

Definition at line 3596 of file webgpu.h.

◆ visibility

WGPUShaderStage WGPUBindGroupLayoutEntry::visibility

The INIT macro sets this to WGPUShaderStage_None.

Definition at line 3600 of file webgpu.h.

◆ buffer

WGPUBufferBindingLayout WGPUBindGroupLayoutEntry::buffer

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

Definition at line 3604 of file webgpu.h.

◆ sampler

WGPUSamplerBindingLayout WGPUBindGroupLayoutEntry::sampler

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

Definition at line 3608 of file webgpu.h.

◆ texture

WGPUTextureBindingLayout WGPUBindGroupLayoutEntry::texture

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

Definition at line 3612 of file webgpu.h.

◆ storageTexture

WGPUStorageTextureBindingLayout WGPUBindGroupLayoutEntry::storageTexture

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

Definition at line 3616 of file webgpu.h.