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

Data Fields

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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUBufferBindingLayout::nextInChain

Definition at line 1836 of file webgpu.h.

◆ type

WGPUBufferBindingType WGPUBufferBindingLayout::type

If set to WGPUBufferBindingType_Undefined, defaults to WGPUBufferBindingType_Uniform.

The INIT macro sets this to WGPUBufferBindingType_Undefined.

Definition at line 1843 of file webgpu.h.

◆ hasDynamicOffset

WGPUBool WGPUBufferBindingLayout::hasDynamicOffset

The INIT macro sets this to 0.

Definition at line 1847 of file webgpu.h.

◆ minBindingSize

uint64_t WGPUBufferBindingLayout::minBindingSize

The INIT macro sets this to 0.

Definition at line 1851 of file webgpu.h.