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