Enum Constant and Description |
---|
BlendFactor
Each component of the color is multiplied by a constant set in BlendFactor.
|
DestinationAlpha
Each component of the color is multiplied by the alpha value of the destination.
|
DestinationColor
Each component color is multiplied by the destination color.
|
InverseBlendFactor
Each component of the color is multiplied by the inverse of a constant set in BlendFactor.
|
InverseDestinationAlpha
Each component of the color is multiplied by the inverse of the alpha value of the destination.
|
InverseDestinationColor
Each component of the color is multiplied by the inverse of the destination color.
|
InverseSourceAlpha
Each component of the color is multiplied by the inverse of the alpha value of the source.
|
InverseSourceColor
Each component of the color is multiplied by the inverse of the source color.
|
One
Each component of the color is multiplied by (1, 1, 1, 1).
|
SourceAlpha
Each component of the color is multiplied by the alpha value of the source.
|
SourceAlphaSaturation
Each component of the color is multiplied by either the alpha of the source color, or the inverse of the alpha of the source color, whichever is greater.
|
SourceColor
Each component of the color is multiplied by the source color.
|
Zero
Each component of the color is multiplied by (0, 0, 0, 0).
|
Modifier and Type | Method and Description |
---|---|
static Blend |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Blend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Blend One
public static final Blend Zero
public static final Blend SourceColor
public static final Blend InverseSourceColor
public static final Blend SourceAlpha
public static final Blend InverseSourceAlpha
public static final Blend DestinationColor
public static final Blend InverseDestinationColor
public static final Blend DestinationAlpha
public static final Blend InverseDestinationAlpha
public static final Blend BlendFactor
public static final Blend InverseBlendFactor
public static final Blend SourceAlphaSaturation
public static Blend[] values()
for (Blend c : Blend.values()) System.out.println(c);
public static Blend 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