| Enum Constant and Description |
|---|
LINE_LOOP |
LINE_STRIP |
LINES |
POINTS |
TRIANGLE_FAN |
TRIANGLE_STRIP |
TRIANGLES |
| Modifier and Type | Field and Description |
|---|---|
int |
mDrawMode |
| Modifier and Type | Method and Description |
|---|---|
int |
getDrawMode() |
static DrawMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrawMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawMode POINTS
public static final DrawMode LINE_STRIP
public static final DrawMode LINE_LOOP
public static final DrawMode LINES
public static final DrawMode TRIANGLE_STRIP
public static final DrawMode TRIANGLE_FAN
public static final DrawMode TRIANGLES
public static DrawMode[] values()
for (DrawMode c : DrawMode.values()) System.out.println(c);
public static DrawMode 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 nullpublic int getDrawMode()