BlendState
public final class BlendState
Defines the blend behavior for color and alpha components.
Summary
Public constructors |
|---|
BlendState(@NonNull BlendComponent color, @NonNull BlendComponent alpha) |
Public methods |
|
|---|---|
final @NonNull BlendComponent |
getAlpha()The blending state for the alpha channel (A). |
final @NonNull BlendComponent |
getColor()The blending state for color channels (RGB). |
final void |
setAlpha(@NonNull BlendComponent alpha)The blending state for the alpha channel (A). |
final void |
setColor(@NonNull BlendComponent color)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).