WebGPU Headers
The WebGPU C API
 
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 3513 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUTextureBindingLayout::nextInChain

Definition at line 3514 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 3521 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 3528 of file webgpu.h.

◆ multisampled

WGPUBool WGPUTextureBindingLayout::multisampled

The INIT macro sets this to 0.

Definition at line 3532 of file webgpu.h.