WebGPU Headers: WGPUColorTargetState Struct Reference
Data Fields | |
| WGPUChainedStruct * | nextInChain |
| WGPUTextureFormat | format |
| WGPUBlendState const * | blend |
| WGPUColorWriteMask | writeMask |
Detailed Description
Default values can be set using WGPU_COLOR_TARGET_STATE_INIT as initializer.
Field Documentation
◆ nextInChain
WGPUChainedStruct* WGPUColorTargetState::nextInChain
◆ 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.
◆ blend
WGPUBlendState const* WGPUColorTargetState::blend
◆ writeMask
WGPUColorWriteMask WGPUColorTargetState::writeMask
The INIT macro sets this to WGPUColorWriteMask_All.