public static enum RenderState.BlendEquation extends java.lang.Enum<RenderState.BlendEquation>
BlendEquation specifies the blending equation to combine
pixels.| Enum Constant and Description |
|---|
Add
Sets the blend equation so that the source and destination data are
added.
|
Max
Sets the blend equation so that each component of the result color is
the maximum of the corresponding components of the source and
destination colors.
|
Min
Sets the blend equation so that each component of the result color is
the minimum of the corresponding components of the source and
destination colors.
|
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.BlendEquation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RenderState.BlendEquation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RenderState.BlendEquation Add
public static final RenderState.BlendEquation Subtract
public static final RenderState.BlendEquation ReverseSubtract
public static final RenderState.BlendEquation Min
public static final RenderState.BlendEquation Max
public static RenderState.BlendEquation[] values()
for (RenderState.BlendEquation c : RenderState.BlendEquation.values()) System.out.println(c);
public static RenderState.BlendEquation 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