public enum BufferBinding extends Enum<BufferBinding> implements IEnumWithValue
| Enum Constant and Description |
|---|
ARRAY_BUFFER
Buffer containing vertex attributes, such as vertex coordinates, texture coordinate data, or
vertex color data.
|
COPY_READ_BUFFER
Buffer for copying from one buffer object to another.
|
COPY_WRITE_BUFFER
Buffer for copying from one buffer object to another.
|
ELEMENT_ARRAY_BUFFER
Buffer used for element indices.
|
PIXEL_PACK_BUFFER
Buffer used for pixel transfer operations.
|
PIXEL_UNPACK_BUFFER
Buffer used for pixel transfer operations.
|
TRANSFORM_FEEDBACK_BUFFER
Buffer for transform feedback operations.
|
UNIFORM_BUFFER
Buffer used for storing uniform blocks.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static BufferBinding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferBinding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final BufferBinding ARRAY_BUFFER
public static final BufferBinding COPY_READ_BUFFER
public static final BufferBinding COPY_WRITE_BUFFER
public static final BufferBinding ELEMENT_ARRAY_BUFFER
public static final BufferBinding PIXEL_PACK_BUFFER
public static final BufferBinding PIXEL_UNPACK_BUFFER
public static final BufferBinding TRANSFORM_FEEDBACK_BUFFER
public static final BufferBinding UNIFORM_BUFFER
public static BufferBinding[] values()
for (BufferBinding c : BufferBinding.values()) System.out.println(c);
public static BufferBinding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.