public static enum RenderState.BlendEquationAlpha extends java.lang.Enum<RenderState.BlendEquationAlpha>
BlendEquationAlpha
specifies the blending equation to
combine pixels for the alpha component.Enum Constant and Description |
---|
Add
Sets the blend equation so that the source and destination data are
added.
|
InheritColor
Sets the blend equation to be the same as the one defined by
RenderState.blendEquation . |
Max
sSets the blend equation so that the result alpha is the maximum of
the source alpha and destination alpha.
|
Min
Sets the blend equation so that the result alpha is the minimum of
the source alpha and destination alpha.
|
ReverseSubtract
Same as Subtract, but the order is reversed (Dst - Src).
|
Subtract
Sets the blend equation so that the source and destination data are
subtracted (Src - Dest).
|
Modifier and Type | Method and Description |
---|---|
static RenderState.BlendEquationAlpha |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderState.BlendEquationAlpha[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderState.BlendEquationAlpha InheritColor
RenderState.blendEquation
.public static final RenderState.BlendEquationAlpha Add
public static final RenderState.BlendEquationAlpha Subtract
public static final RenderState.BlendEquationAlpha ReverseSubtract
public static final RenderState.BlendEquationAlpha Min
public static final RenderState.BlendEquationAlpha Max
public static RenderState.BlendEquationAlpha[] values()
for (RenderState.BlendEquationAlpha c : RenderState.BlendEquationAlpha.values()) System.out.println(c);
public static RenderState.BlendEquationAlpha valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null