WebGPU Headers
The WebGPU C API
 
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Loading...
Searching...
No Matches
WGPUTextureBindingLayout Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUTextureSampleType sampleType
 
WGPUTextureViewDimension viewDimension
 
WGPUBool multisampled
 

Detailed Description

Default values can be set using WGPU_TEXTURE_BINDING_LAYOUT_INIT as initializer.

Definition at line 3451 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUTextureBindingLayout::nextInChain

Definition at line 3452 of file webgpu.h.

◆ sampleType

WGPUTextureSampleType WGPUTextureBindingLayout::sampleType

If set to WGPUTextureSampleType_Undefined, defaults to WGPUTextureSampleType_Float.

The INIT macro sets this to WGPUTextureSampleType_Undefined.

Definition at line 3459 of file webgpu.h.

◆ viewDimension

WGPUTextureViewDimension WGPUTextureBindingLayout::viewDimension

If set to WGPUTextureViewDimension_Undefined, defaults to WGPUTextureViewDimension_2D.

The INIT macro sets this to WGPUTextureViewDimension_Undefined.

Definition at line 3466 of file webgpu.h.

◆ multisampled

WGPUBool WGPUTextureBindingLayout::multisampled

The INIT macro sets this to 0.

Definition at line 3470 of file webgpu.h.