Skip to content

BlendState

data class BlendState(val color: GPUBlendComponent, val alpha: GPUBlendComponent) : GPUBlendState
Describes the color and alpha blend components applied to a color target.

Constructors

BlendState

constructor(color: GPUBlendComponent, alpha: GPUBlendComponent)

Properties

alpha

open override val alpha: GPUBlendComponent
Defines the blending behavior of the corresponding render target for the alpha channel.

color

open override val color: GPUBlendComponent
Defines the blending behavior of the corresponding render target for color channels.