public static enum Constants.ShapeMode extends Enum<Constants.ShapeMode>
Enum Constant and Description |
---|
Lines |
Points |
Quads |
QuadStrip |
TriangleFan |
Triangles |
TriangleStrip |
Modifier and Type | Method and Description |
---|---|
int |
unwrap() |
static Constants.ShapeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ShapeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ShapeMode Points
public static final Constants.ShapeMode Lines
public static final Constants.ShapeMode Triangles
public static final Constants.ShapeMode TriangleFan
public static final Constants.ShapeMode TriangleStrip
public static final Constants.ShapeMode Quads
public static final Constants.ShapeMode QuadStrip
public static Constants.ShapeMode[] values()
for (Constants.ShapeMode c : Constants.ShapeMode.values()) System.out.println(c);
public static Constants.ShapeMode 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 unwrap()