public enum RenderState.BlendMode

  1. Object
  2. Enum<RenderState.BlendMode>
  3. RenderState.BlendMode

ImplementsComparable<RenderState.BlendMode>

The alpha blending mode applied when a fragment is written.

Enum constants

NONENo blending; the fragment overwrites the destination.
ALPHAStandard source-over alpha blending.
ADDITIVEAdditive blending, useful for particles and glows.

Methods

public static RenderState.BlendMode[] values()
public static RenderState.BlendMode valueOf(String name)

Inherited methods

Enum constant details

NONE

NONE
No blending; the fragment overwrites the destination.

ALPHA

ALPHA
Standard source-over alpha blending.

ADDITIVE

ADDITIVE
Additive blending, useful for particles and glows.

Method details

values

public static RenderState.BlendMode[] values()

valueOf

public static RenderState.BlendMode valueOf(String name)