public enum ShaderPrecision extends java.lang.Enum<ShaderPrecision>
| Modifier and Type | Method and Description |
|---|---|
static ShaderPrecision |
max(ShaderPrecision p1,
ShaderPrecision p2) |
java.lang.String |
toString() |
static ShaderPrecision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShaderPrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShaderPrecision HIGHP
public static final ShaderPrecision MEDIUMP
public static final ShaderPrecision LOWP
public static final ShaderPrecision NOP
public static ShaderPrecision[] values()
for (ShaderPrecision c : ShaderPrecision.values()) System.out.println(c);
public static ShaderPrecision 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 nullpublic final java.lang.String toString()
toString in class java.lang.Enum<ShaderPrecision>public static final ShaderPrecision max(ShaderPrecision p1, ShaderPrecision p2)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com