public static enum VertexFormatElement.EnumUsage extends java.lang.Enum<VertexFormatElement.EnumUsage>
Enum Constant and Description |
---|
BLEND_WEIGHT
Deprecated.
|
COLOR |
GENERIC |
MATRIX
Deprecated.
|
NORMAL |
PADDING |
POSITION |
UV |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
displayName |
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.EnumUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VertexFormatElement.EnumUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexFormatElement.EnumUsage POSITION
public static final VertexFormatElement.EnumUsage NORMAL
public static final VertexFormatElement.EnumUsage COLOR
public static final VertexFormatElement.EnumUsage UV
@Deprecated public static final VertexFormatElement.EnumUsage MATRIX
@Deprecated public static final VertexFormatElement.EnumUsage BLEND_WEIGHT
public static final VertexFormatElement.EnumUsage PADDING
public static final VertexFormatElement.EnumUsage GENERIC
public static VertexFormatElement.EnumUsage[] values()
for (VertexFormatElement.EnumUsage c : VertexFormatElement.EnumUsage.values()) System.out.println(c);
public static VertexFormatElement.EnumUsage 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()