GPUBlendState


public final class GPUBlendState


Defines the blending configuration for a color attachment.

Summary

Public constructors

Public methods

final @NonNull GPUBlendComponent

The blend component for the alpha channel.

final @NonNull GPUBlendComponent

The blend component for the RGB channels.

final void

The blend component for the alpha channel.

final void

The blend component for the RGB channels.

Public constructors

GPUBlendState

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

Public methods

getAlpha

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

The blend component for the alpha channel.

getColor

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

The blend component for the RGB channels.

setAlpha

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

The blend component for the alpha channel.

setColor

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

The blend component for the RGB channels.