BlendMode

public enum BlendMode

Defines how sprite pixels will be blended with the scene.

Entries

TRANSLUCENT
Link copied to clipboard
TRANSLUCENT
Pixels are blended with the background according to alpha color values.
CUTOUT
Link copied to clipboard
CUTOUT
Pixels with alpha > 0.
CUTOUT_MIPPED
Link copied to clipboard
CUTOUT_MIPPED
Pixels with alpha > 0.
SOLID
Link copied to clipboard
SOLID
Fully opaque with depth test, no blending.
DEFAULT
Link copied to clipboard
DEFAULT
Emulate blending behavior of {@code BlockRenderLayer} associated with the block.

Functions

describeConstable
Link copied to clipboard
abstract Optional<? extends ConstantDescdescribeConstable()
fromRenderLayer
Link copied to clipboard
static BlendMode fromRenderLayer(RenderLayer renderLayer)
valueOf
Link copied to clipboard
static BlendMode valueOf(String name)
values
Link copied to clipboard
static Array<BlendModevalues()

Properties

blockRenderLayer
Link copied to clipboard
public final RenderLayer blockRenderLayer

Sources

jvm source
Link copied to clipboard