BlendState


public final class BlendState


Defines the blend behavior for color and alpha components.

Summary

Public constructors

Public methods

final @NonNull BlendComponent

The blending state for the alpha channel (A).

final @NonNull BlendComponent

The blending state for color channels (RGB).

final void

The blending state for the alpha channel (A).

final void

The blending state for color channels (RGB).

Public constructors

BlendState

Added in 1.0.0-alpha01
public BlendState(@NonNull BlendComponent color, @NonNull BlendComponent alpha)

Public methods

getAlpha

Added in 1.0.0-alpha01
public final @NonNull BlendComponent getAlpha()

The blending state for the alpha channel (A).

getColor

Added in 1.0.0-alpha01
public final @NonNull BlendComponent getColor()

The blending state for color channels (RGB).

setAlpha

Added in 1.0.0-alpha01
public final void setAlpha(@NonNull BlendComponent alpha)

The blending state for the alpha channel (A).

setColor

Added in 1.0.0-alpha01
public final void setColor(@NonNull BlendComponent color)

The blending state for color channels (RGB).