public enum SetDataOptions extends java.lang.Enum<SetDataOptions>
Enum Constant and Description |
---|
Discard
The SetData operation will discard the entire buffer.
|
None
Portions of existing data in the buffer may be overwritten during this operation.
|
NoOverwrite
The SetData operation will not overwrite existing data in the vertex and index buffers.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SetDataOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SetDataOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetDataOptions Discard
public static final SetDataOptions None
public static final SetDataOptions NoOverwrite
public static SetDataOptions[] values()
for (SetDataOptions c : SetDataOptions.values()) System.out.println(c);
public static SetDataOptions 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 int getValue()