Enum BlendMode

Constant blending modes usable when constructing a ColorTargetState's BlendState.

enum BlendMode : __C.WGPUBlendState { ... }

Enum members

NameDescription
alphaBlending Blend mode that does standard alpha blending with non-premultiplied alpha.
premultipliedAlphaBlending Blend mode that does standard alpha blending with premultiplied alpha.
replace Blend mode that does no color blending, just overwrites the output with the contents of the shader.

See Also

BlendMode.srcOneDstZeroAdd

srcOneDstZeroAdd Performs (1 * src) + (0 * dst) for both color and alpha components.

See Also

BlendMode.replace

See Also