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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUTextureSampleType sampleType
 
WGPUTextureViewDimension viewDimension
 
WGPUBool multisampled
 

Detailed Description

Default values can be set using WGPU_TEXTURE_BINDING_LAYOUT_INIT as initializer.

Definition at line 3301 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUTextureBindingLayout::nextInChain

Definition at line 3302 of file webgpu.h.

◆ sampleType

WGPUTextureSampleType WGPUTextureBindingLayout::sampleType

If set to WGPUTextureSampleType_Undefined, defaults to WGPUTextureSampleType_Float.

The INIT macro sets this to WGPUTextureSampleType_BindingNotUsed.

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

◆ multisampled

WGPUBool WGPUTextureBindingLayout::multisampled

The INIT macro sets this to 0.

Definition at line 3320 of file webgpu.h.