public enum IndexDataType extends java.lang.Enum<IndexDataType>
IIndexBuffer
Enum Constant and Description |
---|
INT16
The index buffer's elements are 16bit int
|
INT32
The index buffer's elements are 32bit int
|
Modifier and Type | Method and Description |
---|---|
static IndexDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexDataType INT32
public static final IndexDataType INT16
public static IndexDataType[] values()
for (IndexDataType c : IndexDataType.values()) System.out.println(c);
public static IndexDataType 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