GPUBlendState


public final class GPUBlendState


Defines the blend behavior for color and alpha components.

Summary

Public constructors

Public methods

final @NonNull GPUBlendComponent

The blending state for the alpha channel (A).

final @NonNull GPUBlendComponent

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

GPUBlendState

Added in 1.0.0-alpha02
public GPUBlendState(
    @NonNull GPUBlendComponent color,
    @NonNull GPUBlendComponent alpha
)

Public methods

getAlpha

Added in 1.0.0-alpha02
public final @NonNull GPUBlendComponent getAlpha()

The blending state for the alpha channel (A).

getColor

Added in 1.0.0-alpha02
public final @NonNull GPUBlendComponent getColor()

The blending state for color channels (RGB).

setAlpha

Added in 1.0.0-alpha02
public final void setAlpha(@NonNull GPUBlendComponent alpha)

The blending state for the alpha channel (A).

setColor

Added in 1.0.0-alpha02
public final void setColor(@NonNull GPUBlendComponent color)

The blending state for color channels (RGB).