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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUBufferBindingLayout::nextInChain

Definition at line 1724 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 1731 of file webgpu.h.

◆ hasDynamicOffset

WGPUBool WGPUBufferBindingLayout::hasDynamicOffset

The INIT macro sets this to 0.

Definition at line 1735 of file webgpu.h.

◆ minBindingSize

uint64_t WGPUBufferBindingLayout::minBindingSize

The INIT macro sets this to 0.

Definition at line 1739 of file webgpu.h.