@Environment(value=CLIENT) public static enum VertexFormat.DrawMode extends Enum<VertexFormat.DrawMode>
| Enum Constant and Description |
|---|
LINE_STRIP |
LINES |
QUADS |
TRIANGLE_FAN |
TRIANGLE_STRIP |
TRIANGLES |
| Modifier and Type | Field and Description |
|---|---|
int |
field_27384 |
int |
field_27385 |
int |
mode |
| Modifier and Type | Method and Description |
|---|---|
int |
method_31973(int vertexCount) |
static VertexFormat.DrawMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VertexFormat.DrawMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexFormat.DrawMode LINES
public static final VertexFormat.DrawMode LINE_STRIP
public static final VertexFormat.DrawMode TRIANGLES
public static final VertexFormat.DrawMode TRIANGLE_STRIP
public static final VertexFormat.DrawMode TRIANGLE_FAN
public static final VertexFormat.DrawMode QUADS
public final int mode
public final int field_27384
public final int field_27385
public static VertexFormat.DrawMode[] values()
for (VertexFormat.DrawMode c : VertexFormat.DrawMode.values()) System.out.println(c);
public static VertexFormat.DrawMode 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 method_31973(int vertexCount)