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

Data Fields

WGPUChainedStruct chain
 
WGPUTextureViewDimension textureBindingViewDimension
 

Detailed Description

Note: While Compatibility Mode is optional to implement, this extension struct is required to be accepted (but per the WebGPU spec, its contents are ignored on devices that have the WGPUFeatureName_CoreFeaturesAndLimits feature).

Default values can be set using WGPU_TEXTURE_BINDING_VIEW_DIMENSION_INIT as initializer.

Definition at line 3455 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUTextureBindingViewDimension::chain

Definition at line 3456 of file webgpu.h.

◆ textureBindingViewDimension

WGPUTextureViewDimension WGPUTextureBindingViewDimension::textureBindingViewDimension

The INIT macro sets this to WGPUTextureViewDimension_Undefined.

Definition at line 3460 of file webgpu.h.