public enum BlendingFunction extends Enum<BlendingFunction> implements Enumeration
| Enum Constant and Description |
|---|
BLEND_FUNCTION_CONSTANT_ALPHA
Multiplies color by the blending color's alpha component
|
BLEND_FUNCTION_CONSTANT_COLOR
Multiplies color by the blending color
|
BLEND_FUNCTION_DESTINATION_ALPHA
Multiplies color by the destination color's alpha component
|
BLEND_FUNCTION_DESTINATION_COLOR
Multiplies color by destination color
|
BLEND_FUNCTION_ONE
Multiplies color by (1,1,1,1)
|
BLEND_FUNCTION_ONE_MINUS_CONSTANT_ALPHA
Multiplies color by 1 minus the blending color's alpha component
|
BLEND_FUNCTION_ONE_MINUS_CONSTANT_COLOR
Multiplies color by 1 minus the blending color
|
BLEND_FUNCTION_ONE_MINUS_DESTINATION_ALPHA
Multiplies color by 1 minus the destination color's alpha component
|
BLEND_FUNCTION_ONE_MINUS_DESTINATION_COLOR
Multiplies color by 1 minus destination color
|
BLEND_FUNCTION_ONE_MINUS_SOURCE_ALPHA
Multiplies color by 1 minus the source color's alpha component
|
BLEND_FUNCTION_ONE_MINUS_SOURCE_COLOR
Multiplies color by 1 minus source color
|
BLEND_FUNCTION_SOURCE_ALPHA
Multiplies color by the source color's alpha component
|
BLEND_FUNCTION_SOURCE_COLOR
Multiplies color by source color
|
BLEND_FUNCTION_ZERO
Multiplies color by (0,0,0,0)
|
| Modifier and Type | Method and Description |
|---|---|
static BlendingFunction |
getDefault()
Get the enum constant that is considered to be the default.
|
static BlendingFunction |
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 BlendingFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlendingFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlendingFunction BLEND_FUNCTION_ZERO
public static final BlendingFunction BLEND_FUNCTION_ONE
public static final BlendingFunction BLEND_FUNCTION_SOURCE_COLOR
public static final BlendingFunction BLEND_FUNCTION_ONE_MINUS_SOURCE_COLOR
public static final BlendingFunction BLEND_FUNCTION_DESTINATION_COLOR
public static final BlendingFunction BLEND_FUNCTION_ONE_MINUS_DESTINATION_COLOR
public static final BlendingFunction BLEND_FUNCTION_SOURCE_ALPHA
public static final BlendingFunction BLEND_FUNCTION_ONE_MINUS_SOURCE_ALPHA
public static final BlendingFunction BLEND_FUNCTION_DESTINATION_ALPHA
public static final BlendingFunction BLEND_FUNCTION_ONE_MINUS_DESTINATION_ALPHA
public static final BlendingFunction BLEND_FUNCTION_CONSTANT_COLOR
public static final BlendingFunction BLEND_FUNCTION_ONE_MINUS_CONSTANT_COLOR
public static final BlendingFunction BLEND_FUNCTION_CONSTANT_ALPHA
public static final BlendingFunction BLEND_FUNCTION_ONE_MINUS_CONSTANT_ALPHA
public static BlendingFunction[] values()
for (BlendingFunction c : BlendingFunction.values()) System.out.println(c);
public static BlendingFunction 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 BlendingFunction getFromValue(int value)
value - a numeric value.@Nonnull public static BlendingFunction getDefault()