public enum DrawElementsType extends java.lang.Enum<DrawElementsType> implements GLEnum
Enum Constant and Description |
---|
UNSIGNED_BYTE |
UNSIGNED_SHORT |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static DrawElementsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrawElementsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawElementsType UNSIGNED_BYTE
public static final DrawElementsType UNSIGNED_SHORT
public static DrawElementsType[] values()
for (DrawElementsType c : DrawElementsType.values()) System.out.println(c);
public static DrawElementsType 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