public enum RenderState.BlendMode
- Object
- Enum<RenderState.BlendMode>
- RenderState.BlendMode
ImplementsComparable<RenderState.BlendMode>
The alpha blending mode applied when a fragment is written.
Enum constants
NONE | No blending; the fragment overwrites the destination. |
ALPHA | Standard source-over alpha blending. |
ADDITIVE | Additive 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
NONENo blending; the fragment overwrites the destination.
ALPHA
ALPHAStandard source-over alpha blending.
ADDITIVE
ADDITIVEAdditive blending, useful for particles and glows.
Method details
values
public static RenderState.BlendMode[] values()valueOf
public static RenderState.BlendMode valueOf(String name)