public enum ShaderPrecisionSpecifiedTypes extends java.lang.Enum<ShaderPrecisionSpecifiedTypes> implements GLEnum
Enum Constant and Description |
---|
HIGH_FLOAT |
HIGH_INT |
LOW_FLOAT |
LOW_INT |
MEDIUM_FLOAT |
MEDIUM_INT |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static ShaderPrecisionSpecifiedTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShaderPrecisionSpecifiedTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShaderPrecisionSpecifiedTypes LOW_FLOAT
public static final ShaderPrecisionSpecifiedTypes MEDIUM_FLOAT
public static final ShaderPrecisionSpecifiedTypes HIGH_FLOAT
public static final ShaderPrecisionSpecifiedTypes LOW_INT
public static final ShaderPrecisionSpecifiedTypes MEDIUM_INT
public static final ShaderPrecisionSpecifiedTypes HIGH_INT
public static ShaderPrecisionSpecifiedTypes[] values()
for (ShaderPrecisionSpecifiedTypes c : ShaderPrecisionSpecifiedTypes.values()) System.out.println(c);
public static ShaderPrecisionSpecifiedTypes 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