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

Data Fields

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

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUColorTargetState::nextInChain

Definition at line 4256 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.

The INIT macro sets this to WGPUTextureFormat_Undefined.

Definition at line 4264 of file webgpu.h.

◆ blend

WGPUBlendState const* WGPUColorTargetState::blend

The INIT macro sets this to NULL.

Definition at line 4268 of file webgpu.h.

◆ writeMask

WGPUColorWriteMask WGPUColorTargetState::writeMask

The INIT macro sets this to WGPUColorWriteMask_All.

Definition at line 4272 of file webgpu.h.