public static enum GLSLScript.Type extends Enum<GLSLScript.Type>
| Enum Constant and Description |
|---|
FRAGMENT_SHADER |
GEOMETRY_SHADER |
VERTEX_SHADER |
| Modifier and Type | Method and Description |
|---|---|
static GLSLScript.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GLSLScript.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLSLScript.Type VERTEX_SHADER
public static final GLSLScript.Type GEOMETRY_SHADER
public static final GLSLScript.Type FRAGMENT_SHADER
public static GLSLScript.Type[] values()
for (GLSLScript.Type c : GLSLScript.Type.values()) System.out.println(c);
public static GLSLScript.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014. All rights reserved.