com.threerings.opengl.renderer.config
Enum MaterialStateConfig.ColorMaterialFace
java.lang.Object
java.lang.Enum<MaterialStateConfig.ColorMaterialFace>
com.threerings.opengl.renderer.config.MaterialStateConfig.ColorMaterialFace
- All Implemented Interfaces:
- Serializable, Comparable<MaterialStateConfig.ColorMaterialFace>
- Enclosing class:
- MaterialStateConfig
public static enum MaterialStateConfig.ColorMaterialFace
- extends Enum<MaterialStateConfig.ColorMaterialFace>
Color material face constants.
FRONT
public static final MaterialStateConfig.ColorMaterialFace FRONT
BACK
public static final MaterialStateConfig.ColorMaterialFace BACK
FRONT_AND_BACK
public static final MaterialStateConfig.ColorMaterialFace FRONT_AND_BACK
values
public static MaterialStateConfig.ColorMaterialFace[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MaterialStateConfig.ColorMaterialFace c : MaterialStateConfig.ColorMaterialFace.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MaterialStateConfig.ColorMaterialFace valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getConstant
public int getConstant()
Copyright © 2011. All Rights Reserved.