WebGPU Headers: WGPUBlendComponent Struct Reference

Loading...

Searching...

No Matches

Data Fields

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 1843 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 1850 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 1857 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 1864 of file webgpu.h.