static enum ES2PhongShader.SpecularState extends java.lang.Enum<ES2PhongShader.SpecularState>
Modifier and Type | Method and Description |
---|---|
static ES2PhongShader.SpecularState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ES2PhongShader.SpecularState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ES2PhongShader.SpecularState NONE
public static final ES2PhongShader.SpecularState TEXTURE
public static final ES2PhongShader.SpecularState COLOR
public static final ES2PhongShader.SpecularState MIX
public static ES2PhongShader.SpecularState[] values()
for (ES2PhongShader.SpecularState c : ES2PhongShader.SpecularState.values()) System.out.println(c);
public static ES2PhongShader.SpecularState 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