public enum ShaderType extends Enum<ShaderType>
Modifier and Type | Method and Description |
---|---|
int |
glTypeCode() |
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.
|
public static final ShaderType vertex
public static final ShaderType geometry
public static final ShaderType fragment
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 glTypeCode()
Copyright © 2016 Metron, Inc.. All rights reserved.