GPUBlendState


class GPUBlendState


Defines the blending configuration for a color attachment.

Summary

Public constructors

Public properties

GPUBlendComponent

The blend component for the alpha channel.

GPUBlendComponent

The blend component for the RGB channels.

Public constructors

GPUBlendState

Added in 1.0.0-alpha04
GPUBlendState(
    color: GPUBlendComponent = GPUBlendComponent(),
    alpha: GPUBlendComponent = GPUBlendComponent()
)

Public properties

alpha

Added in 1.0.0-alpha04
var alphaGPUBlendComponent

The blend component for the alpha channel.

color

Added in 1.0.0-alpha04
var colorGPUBlendComponent

The blend component for the RGB channels.