Serializable, Comparable<Shader.ShaderType>public static enum Shader.ShaderType extends Enum<Shader.ShaderType>
| Enum Constant | Description |
|---|---|
FRAGMENT |
Pixel shader.
|
GEOMETRY |
Geometry shader.
|
VERTEX |
Vertex shader.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getValue() |
|
static Shader.ShaderType |
valueOf(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 Shader.ShaderType[] values()
for (Shader.ShaderType c : Shader.ShaderType.values()) System.out.println(c);
public static Shader.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 getValue()
Copyright © 2014–2018. All rights reserved.