Enum MaterialPass.BlendMode
- java.lang.Object
-
- java.lang.Enum<MaterialPass.BlendMode>
-
- be.yildizgames.module.graphic.material.MaterialPass.BlendMode
-
- All Implemented Interfaces:
Serializable,Comparable<MaterialPass.BlendMode>
- Enclosing class:
- MaterialPass
public static enum MaterialPass.BlendMode extends Enum<MaterialPass.BlendMode>
Blend the pass with the rest of the scene.- Author:
- Van den Borre Grégory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MaterialPass.BlendModevalueOf(String name)Returns the enum constant of this type with the specified name.static MaterialPass.BlendMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final MaterialPass.BlendMode ADD
Additive blending mode.
-
SUBTRACT
public static final MaterialPass.BlendMode SUBTRACT
Subtract blending mode.
-
REVERSE_SUBTRACT
public static final MaterialPass.BlendMode REVERSE_SUBTRACT
Reverse subtract blending mode.
-
MIN
public static final MaterialPass.BlendMode MIN
Minimum blending mode.
-
MAX
public static final MaterialPass.BlendMode MAX
Maximum blending mode.
-
NONE
public static final MaterialPass.BlendMode NONE
No blending mode.
-
-
Method Detail
-
values
public static MaterialPass.BlendMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MaterialPass.BlendMode c : MaterialPass.BlendMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaterialPass.BlendMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-