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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUBufferBindingType type
 
WGPUBool hasDynamicOffset
 
uint64_t minBindingSize
 

Detailed Description

Default values can be set using WGPU_BUFFER_BINDING_LAYOUT_INIT as initializer.

Definition at line 1676 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUBufferBindingLayout::nextInChain

Definition at line 1677 of file webgpu.h.

◆ type

WGPUBufferBindingType WGPUBufferBindingLayout::type

If set to WGPUBufferBindingType_Undefined, defaults to WGPUBufferBindingType_Uniform.

The INIT macro sets this to WGPUBufferBindingType_BindingNotUsed.

Definition at line 1684 of file webgpu.h.

◆ hasDynamicOffset

WGPUBool WGPUBufferBindingLayout::hasDynamicOffset

The INIT macro sets this to 0.

Definition at line 1688 of file webgpu.h.

◆ minBindingSize

uint64_t WGPUBufferBindingLayout::minBindingSize

The INIT macro sets this to 0.

Definition at line 1692 of file webgpu.h.