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

Data Fields

WGPUChainedStruct const * nextInChain
 
WGPUTextureFormat format
 
WGPUBlendState const * blend
 
WGPUColorWriteMask writeMask
 

Detailed Description

Default values can be set using WGPU_COLOR_TARGET_STATE_INIT as initializer.

Definition at line 3910 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUColorTargetState::nextInChain

Definition at line 3911 of file webgpu.h.

◆ format

WGPUTextureFormat WGPUColorTargetState::format

The texture format of the target. If WGPUTextureFormat_Undefined, indicates a "hole" in the parent WGPUFragmentState targets array: the pipeline does not output a value at this location.

Defaults to WGPUTextureFormat_Undefined.

Definition at line 3919 of file webgpu.h.

◆ blend

WGPUBlendState const* WGPUColorTargetState::blend

Defaults to NULL.

Definition at line 3923 of file webgpu.h.

◆ writeMask

WGPUColorWriteMask WGPUColorTargetState::writeMask

Defaults to WGPUColorWriteMask_All.

Definition at line 3927 of file webgpu.h.