public enum BufferUsagePattern extends Enum<BufferUsagePattern> implements IEnumWithValue
| Enum Constant and Description |
|---|
DYNAMIC_COPY |
DYNAMIC_DRAW |
DYNAMIC_READ |
STATIC_COPY |
STATIC_DRAW |
STATIC_READ |
STREAM_COPY |
STREAM_DRAW |
STREAM_READ |
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static BufferUsagePattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferUsagePattern[] |
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 BufferUsagePattern DYNAMIC_COPY
public static final BufferUsagePattern DYNAMIC_DRAW
public static final BufferUsagePattern DYNAMIC_READ
public static final BufferUsagePattern STATIC_COPY
public static final BufferUsagePattern STATIC_DRAW
public static final BufferUsagePattern STATIC_READ
public static final BufferUsagePattern STREAM_COPY
public static final BufferUsagePattern STREAM_DRAW
public static final BufferUsagePattern STREAM_READ
public static BufferUsagePattern[] values()
for (BufferUsagePattern c : BufferUsagePattern.values()) System.out.println(c);
public static BufferUsagePattern 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.