public enum BufferObjects extends java.lang.Enum<BufferObjects> implements GLEnum
Enum Constant and Description |
---|
ARRAY_BUFFER |
ARRAY_BUFFER_BINDING |
BUFFER_SIZE |
BUFFER_USAGE |
CURRENT_VERTEX_ATTRIB |
DYNAMIC_DRAW |
ELEMENT_ARRAY_BUFFER |
ELEMENT_ARRAY_BUFFER_BINDING |
STATIC_DRAW |
STREAM_DRAW |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static BufferObjects |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BufferObjects[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferObjects ARRAY_BUFFER
public static final BufferObjects ELEMENT_ARRAY_BUFFER
public static final BufferObjects ARRAY_BUFFER_BINDING
public static final BufferObjects ELEMENT_ARRAY_BUFFER_BINDING
public static final BufferObjects STREAM_DRAW
public static final BufferObjects STATIC_DRAW
public static final BufferObjects DYNAMIC_DRAW
public static final BufferObjects BUFFER_SIZE
public static final BufferObjects BUFFER_USAGE
public static final BufferObjects CURRENT_VERTEX_ATTRIB
public static BufferObjects[] values()
for (BufferObjects c : BufferObjects.values()) System.out.println(c);
public static BufferObjects 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