public enum DrawFormat extends java.lang.Enum<DrawFormat>
BufferEntry
Enum Constant and Description |
---|
POS_COLOR |
POS_TEX |
POS_TEX_COLOR |
POS_TEX_COLOR_NORMAL |
POS_TEX_NORMAL |
Modifier and Type | Method and Description |
---|---|
static DrawFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrawFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawFormat POS_COLOR
public static final DrawFormat POS_TEX
public static final DrawFormat POS_TEX_COLOR
public static final DrawFormat POS_TEX_NORMAL
public static final DrawFormat POS_TEX_COLOR_NORMAL
public static DrawFormat[] values()
for (DrawFormat c : DrawFormat.values()) System.out.println(c);
public static DrawFormat 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 null