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