WebGPU Headers: WGPUTextureBindingLayout Struct Reference

Loading...

Searching...

No Matches

Data Fields

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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUTextureBindingLayout::nextInChain

Definition at line 3418 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 3425 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 3432 of file webgpu.h.

◆ multisampled

WGPUBool WGPUTextureBindingLayout::multisampled

The INIT macro sets this to WGPU_FALSE.

Definition at line 3436 of file webgpu.h.