public static enum VertexFormatElement.Usage extends java.lang.Enum<VertexFormatElement.Usage>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
VertexFormatElement.Usage.ISetupState |
Enum Constant and Description |
---|
COLOR |
GENERIC |
NORMAL |
PADDING |
POSITION |
UV |
Modifier and Type | Field and Description |
---|---|
private java.util.function.IntConsumer |
clearState |
private java.lang.String |
displayName |
private VertexFormatElement.Usage.ISetupState |
setupState |
Modifier and Type | Method and Description |
---|---|
void |
clearBufferState(int indexIn) |
java.lang.String |
getDisplayName() |
private void |
setupBufferState(int countIn,
int glTypeIn,
int strideIn,
long pointerIn,
int indexIn) |
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
public static final VertexFormatElement.Usage PADDING
public static final VertexFormatElement.Usage GENERIC
private final java.lang.String displayName
private final VertexFormatElement.Usage.ISetupState setupState
private final java.util.function.IntConsumer clearState
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 nullprivate void setupBufferState(int countIn, int glTypeIn, int strideIn, long pointerIn, int indexIn)
public void clearBufferState(int indexIn)
public java.lang.String getDisplayName()