public static enum Shader.ShaderType extends java.lang.Enum<Shader.ShaderType>
Enum Constant and Description |
---|
Fragment
Control fragment rasterization.
|
Geometry
Control geometry assembly.
|
TessellationControl
Controls tessellation factor (e.g how often an input patch should be
subdivided)
|
TessellationEvaluation
Controls tessellation transform (e.g similar to the vertex shader, but
required to mix inputs manual)
|
Vertex
Control vertex processing.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension() |
static Shader.ShaderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shader.ShaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shader.ShaderType Fragment
public static final Shader.ShaderType Vertex
public static final Shader.ShaderType Geometry
public static final Shader.ShaderType TessellationControl
public static final Shader.ShaderType TessellationEvaluation
public static Shader.ShaderType[] values()
for (Shader.ShaderType c : Shader.ShaderType.values()) System.out.println(c);
public static Shader.ShaderType 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 nullpublic java.lang.String getExtension()