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