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

Data Fields

WGPUBlendOperation operation
 
WGPUBlendFactor srcFactor
 
WGPUBlendFactor dstFactor
 

Detailed Description

Default values can be set using WGPU_BLEND_COMPONENT_INIT as initializer.

Definition at line 1799 of file webgpu.h.

Field Documentation

◆ operation

WGPUBlendOperation WGPUBlendComponent::operation

If set to WGPUBlendOperation_Undefined, defaults to WGPUBlendOperation_Add.

The INIT macro sets this to WGPUBlendOperation_Undefined.

Definition at line 1806 of file webgpu.h.

◆ srcFactor

WGPUBlendFactor WGPUBlendComponent::srcFactor

If set to WGPUBlendFactor_Undefined, defaults to WGPUBlendFactor_One.

The INIT macro sets this to WGPUBlendFactor_Undefined.

Definition at line 1813 of file webgpu.h.

◆ dstFactor

WGPUBlendFactor WGPUBlendComponent::dstFactor

If set to WGPUBlendFactor_Undefined, defaults to WGPUBlendFactor_Zero.

The INIT macro sets this to WGPUBlendFactor_Undefined.

Definition at line 1820 of file webgpu.h.