Enum Shader.FragmentDx
- java.lang.Object
-
- java.lang.Enum<Shader.FragmentDx>
-
- be.yildizgames.module.graphic.shader.Shader.FragmentDx
-
- All Implemented Interfaces:
Serializable,Comparable<Shader.FragmentDx>
- Enclosing class:
- Shader
public static enum Shader.FragmentDx extends Enum<Shader.FragmentDx>
DirectX fragment profiles.- Author:
- Van den Borre Grégory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Shader.FragmentDxvalueOf(String name)Returns the enum constant of this type with the specified name.static Shader.FragmentDx[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PS_1_1
public static final Shader.FragmentDx PS_1_1
DirectX pixel shader 1.1.
-
PS_2_0
public static final Shader.FragmentDx PS_2_0
DirectX pixel shader 2.0.
-
-
Method Detail
-
values
public static Shader.FragmentDx[] 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 (Shader.FragmentDx c : Shader.FragmentDx.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Shader.FragmentDx 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
-
-