public static enum VertexFormatElement.Usage extends java.lang.Enum<VertexFormatElement.Usage>
Enum Constant and Description |
---|
BLEND_WEIGHT
Deprecated.
|
COLOR |
GENERIC |
MATRIX
Deprecated.
|
NORMAL |
PADDING |
POSITION |
UV |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
void |
postDraw(VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
void |
preDraw(VertexFormat format,
int element,
int stride,
java.nio.ByteBuffer buffer) |
static VertexFormatElement.Usage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VertexFormatElement.Usage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexFormatElement.Usage POSITION
public static final VertexFormatElement.Usage NORMAL
public static final VertexFormatElement.Usage COLOR
public static final VertexFormatElement.Usage UV
@Deprecated public static final VertexFormatElement.Usage MATRIX
@Deprecated public static final VertexFormatElement.Usage BLEND_WEIGHT
public static final VertexFormatElement.Usage PADDING
public static final VertexFormatElement.Usage GENERIC
public static VertexFormatElement.Usage[] values()
for (VertexFormatElement.Usage c : VertexFormatElement.Usage.values()) System.out.println(c);
public static VertexFormatElement.Usage 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 void preDraw(VertexFormat format, int element, int stride, java.nio.ByteBuffer buffer)
public void postDraw(VertexFormat format, int element, int stride, java.nio.ByteBuffer buffer)
public java.lang.String getDisplayName()