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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUStorageTextureAccess access
 
WGPUTextureFormat format
 
WGPUTextureViewDimension viewDimension
 

Detailed Description

Default values can be set using WGPU_STORAGE_TEXTURE_BINDING_LAYOUT_INIT as initializer.

Definition at line 2804 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUStorageTextureBindingLayout::nextInChain

Definition at line 2805 of file webgpu.h.

◆ access

WGPUStorageTextureAccess WGPUStorageTextureBindingLayout::access

◆ format

WGPUTextureFormat WGPUStorageTextureBindingLayout::format

The INIT macro sets this to WGPUTextureFormat_Undefined.

Definition at line 2816 of file webgpu.h.

◆ viewDimension

WGPUTextureViewDimension WGPUStorageTextureBindingLayout::viewDimension

If set to WGPUTextureViewDimension_Undefined, defaults to WGPUTextureViewDimension_2D.

The INIT macro sets this to WGPUTextureViewDimension_Undefined.

Definition at line 2823 of file webgpu.h.