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

Data Fields

WGPUChainedStruct const * nextInChain
 
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 3465 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUBindGroupLayoutEntry::nextInChain

Definition at line 3466 of file webgpu.h.

◆ binding

uint32_t WGPUBindGroupLayoutEntry::binding

The INIT macro sets this to 0.

Definition at line 3470 of file webgpu.h.

◆ visibility

WGPUShaderStage WGPUBindGroupLayoutEntry::visibility

The INIT macro sets this to WGPUShaderStage_None.

Definition at line 3474 of file webgpu.h.

◆ buffer

WGPUBufferBindingLayout WGPUBindGroupLayoutEntry::buffer

The INIT macro sets this to WGPU_BUFFER_BINDING_LAYOUT_INIT.

Definition at line 3478 of file webgpu.h.

◆ sampler

WGPUSamplerBindingLayout WGPUBindGroupLayoutEntry::sampler

The INIT macro sets this to WGPU_SAMPLER_BINDING_LAYOUT_INIT.

Definition at line 3482 of file webgpu.h.

◆ texture

WGPUTextureBindingLayout WGPUBindGroupLayoutEntry::texture

The INIT macro sets this to WGPU_TEXTURE_BINDING_LAYOUT_INIT.

Definition at line 3486 of file webgpu.h.

◆ storageTexture

WGPUStorageTextureBindingLayout WGPUBindGroupLayoutEntry::storageTexture

The INIT macro sets this to WGPU_STORAGE_TEXTURE_BINDING_LAYOUT_INIT.

Definition at line 3490 of file webgpu.h.