@Environment(value=CLIENT) public static enum VertexFormat.IntType extends Enum<VertexFormat.IntType>
| Modifier and Type | Field and Description |
|---|---|
int |
field_27374 |
int |
size |
| Modifier and Type | Method and Description |
|---|---|
static VertexFormat.IntType |
getSmallestTypeFor(int number)
Gets the smallest type in which the given number fits.
|
static VertexFormat.IntType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VertexFormat.IntType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexFormat.IntType BYTE
public static final VertexFormat.IntType SHORT
public static final VertexFormat.IntType INT
public static VertexFormat.IntType[] values()
for (VertexFormat.IntType c : VertexFormat.IntType.values()) System.out.println(c);
public static VertexFormat.IntType 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 static VertexFormat.IntType getSmallestTypeFor(int number)
number - a number from 8 to 32 bits of memory