public enum ShaderType extends Enum<ShaderType> implements IEnumWithValue
| Enum Constant and Description |
|---|
FRAGMENT_SHADER
A fragment shader.
|
VERTEX_SHADER
A vertex shader.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ShaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final ShaderType FRAGMENT_SHADER
public static final ShaderType VERTEX_SHADER
public static ShaderType[] values()
for (ShaderType c : ShaderType.values()) System.out.println(c);
public static ShaderType 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 nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.