Enum BlendMode
Constant blending modes usable when constructing a ColorTargetState
's BlendState
.
enum BlendMode
: __C .WGPUBlendState { ... }
Enum members
Name | Description |
---|---|
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 |
srcOneDstZeroAdd
|
Performs (1 * src) + (0 * dst) for both color and alpha components.
See Also |
See Also
Texture
.asRenderTarget - wgpu::BlendState
- See the OpenGL or Vulkan spec for more information.