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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUBufferBindingLayout::nextInChain

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

◆ hasDynamicOffset

WGPUBool WGPUBufferBindingLayout::hasDynamicOffset

The INIT macro sets this to WGPU_FALSE.

Definition at line 1884 of file webgpu.h.

◆ minBindingSize

uint64_t WGPUBufferBindingLayout::minBindingSize

The INIT macro sets this to 0.

Definition at line 1888 of file webgpu.h.