@Environment(value=CLIENT) public static enum GlShader.Type extends Enum<GlShader.Type>
| Modifier and Type | Field and Description |
|---|---|
private String |
fileExtension |
private int |
glType |
private Map<String,GlShader> |
loadedShaders |
private String |
name |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileExtension() |
private int |
getGlType() |
Map<String,GlShader> |
getLoadedShaders() |
String |
getName() |
static GlShader.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlShader.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlShader.Type VERTEX
public static final GlShader.Type FRAGMENT
private final String name
private final String fileExtension
private final int glType
public static GlShader.Type[] values()
for (GlShader.Type c : GlShader.Type.values()) System.out.println(c);
public static GlShader.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 nullpublic String getName()
public String getFileExtension()
private int getGlType()