WebGPU Headers: WGPUBlendComponent Struct Reference
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.
Field Documentation
◆ operation
WGPUBlendOperation WGPUBlendComponent::operation
If set to WGPUBlendOperation_Undefined, defaults to WGPUBlendOperation_Add.
The INIT macro sets this to WGPUBlendOperation_Undefined.
◆ srcFactor
WGPUBlendFactor WGPUBlendComponent::srcFactor
If set to WGPUBlendFactor_Undefined, defaults to WGPUBlendFactor_One.
The INIT macro sets this to WGPUBlendFactor_Undefined.
◆ dstFactor
WGPUBlendFactor WGPUBlendComponent::dstFactor
If set to WGPUBlendFactor_Undefined, defaults to WGPUBlendFactor_Zero.
The INIT macro sets this to WGPUBlendFactor_Undefined.