WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 1747 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUBufferBindingLayout::nextInChain

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

◆ hasDynamicOffset

WGPUBool WGPUBufferBindingLayout::hasDynamicOffset

The INIT macro sets this to 0.

Definition at line 1759 of file webgpu.h.

◆ minBindingSize

uint64_t WGPUBufferBindingLayout::minBindingSize

The INIT macro sets this to 0.

Definition at line 1763 of file webgpu.h.