com.threerings.opengl.renderer.config
Enum CullStateConfig.Face
java.lang.Object
java.lang.Enum<CullStateConfig.Face>
com.threerings.opengl.renderer.config.CullStateConfig.Face
- All Implemented Interfaces:
- Serializable, Comparable<CullStateConfig.Face>
- Enclosing class:
- CullStateConfig
public static enum CullStateConfig.Face
- extends Enum<CullStateConfig.Face>
Cull face constants.
DISABLED
public static final CullStateConfig.Face DISABLED
FRONT
public static final CullStateConfig.Face FRONT
BACK
public static final CullStateConfig.Face BACK
FRONT_AND_BACK
public static final CullStateConfig.Face FRONT_AND_BACK
values
public static CullStateConfig.Face[] 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 (CullStateConfig.Face c : CullStateConfig.Face.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CullStateConfig.Face 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.