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 3677 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUBindGroupLayoutEntry::nextInChain

Definition at line 3678 of file webgpu.h.

◆ binding

uint32_t WGPUBindGroupLayoutEntry::binding

The INIT macro sets this to 0.

Definition at line 3682 of file webgpu.h.

◆ visibility

WGPUShaderStage WGPUBindGroupLayoutEntry::visibility

The INIT macro sets this to WGPUShaderStage_None.

Definition at line 3686 of file webgpu.h.

◆ buffer

WGPUBufferBindingLayout WGPUBindGroupLayoutEntry::buffer

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

Definition at line 3690 of file webgpu.h.

◆ sampler

WGPUSamplerBindingLayout WGPUBindGroupLayoutEntry::sampler

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

Definition at line 3694 of file webgpu.h.

◆ texture

WGPUTextureBindingLayout WGPUBindGroupLayoutEntry::texture

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

Definition at line 3698 of file webgpu.h.

◆ storageTexture

WGPUStorageTextureBindingLayout WGPUBindGroupLayoutEntry::storageTexture

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

Definition at line 3702 of file webgpu.h.