@Environment(value=CLIENT) public static enum VertexFormatElement.Format extends Enum<VertexFormatElement.Format>
Enum Constant and Description |
---|
BYTE |
FLOAT |
INT |
SHORT |
UBYTE |
UINT |
USHORT |
Modifier and Type | Field and Description |
---|---|
private int |
glId |
private String |
name |
private int |
size |
Modifier and Type | Method and Description |
---|---|
int |
getGlId() |
String |
getName() |
int |
getSize() |
static VertexFormatElement.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VertexFormatElement.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexFormatElement.Format FLOAT
public static final VertexFormatElement.Format UBYTE
public static final VertexFormatElement.Format BYTE
public static final VertexFormatElement.Format USHORT
public static final VertexFormatElement.Format SHORT
public static final VertexFormatElement.Format UINT
public static final VertexFormatElement.Format INT
private final int size
private final String name
private final int glId
public static VertexFormatElement.Format[] values()
for (VertexFormatElement.Format c : VertexFormatElement.Format.values()) System.out.println(c);
public static VertexFormatElement.Format 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 getSize()
public String getName()
public int getGlId()