public enum ShaderStage extends java.lang.Enum<ShaderStage>
Enum Constant and Description |
---|
COMPUTE_SHADER
Compute shader
|
FRAGMENT_SHADER
Fragment shader
|
GEOMETRY_SHADER
Geometry shader
|
VERTEX_SHADER
Vertex shader
|
Modifier and Type | Method and Description |
---|---|
static ShaderStage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShaderStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShaderStage VERTEX_SHADER
public static final ShaderStage FRAGMENT_SHADER
public static final ShaderStage GEOMETRY_SHADER
public static final ShaderStage COMPUTE_SHADER
public static ShaderStage[] values()
for (ShaderStage c : ShaderStage.values()) System.out.println(c);
public static ShaderStage 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 null