public enum BlendingEquation extends Enum<BlendingEquation> implements Enumeration
| Enum Constant and Description |
|---|
BLEND_EQUATION_ADD
Add source and destination colors
|
BLEND_EQUATION_MAX
Select the maximum value for each color component
|
BLEND_EQUATION_MIN
Select the minimum value for each color component
|
BLEND_EQUATION_REVERSE_SUBTRACT
Subtract destination color from source color
|
BLEND_EQUATION_SUBTRACT
Subtract source color from destination color
|
| Modifier and Type | Method and Description |
|---|---|
static BlendingEquation |
getDefault()
Get the enum constant that is considered to be the default.
|
static BlendingEquation |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static BlendingEquation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlendingEquation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlendingEquation BLEND_EQUATION_ADD
public static final BlendingEquation BLEND_EQUATION_SUBTRACT
public static final BlendingEquation BLEND_EQUATION_REVERSE_SUBTRACT
public static final BlendingEquation BLEND_EQUATION_MIN
public static final BlendingEquation BLEND_EQUATION_MAX
public static BlendingEquation[] values()
for (BlendingEquation c : BlendingEquation.values()) System.out.println(c);
public static BlendingEquation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static BlendingEquation getFromValue(int value)
value - a numeric value.@Nonnull public static BlendingEquation getDefault()