GPUBlendState


class GPUBlendState


Defines the blending configuration for a color attachment.

Summary

Nested types

Builder for GPUBlendState.

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-alpha06
GPUBlendState(
    color: GPUBlendComponent = GPUBlendComponent(),
    alpha: GPUBlendComponent = GPUBlendComponent()
)

Public properties

alpha

Added in 1.0.0-alpha06
var alpha: GPUBlendComponent

The blend component for the alpha channel.

color

Added in 1.0.0-alpha06
var color: GPUBlendComponent

The blend component for the RGB channels.