public enum VertexAttributeType extends Enum<VertexAttributeType> implements IEnumWithValue
| Enum Constant and Description |
|---|
CURRENT_VERTEX_ATTRIB
A Double[4] array representing the current value of the vertex attribute at the given index.
|
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
The currently bound WebGLBuffer.
|
VERTEX_ATTRIB_ARRAY_DIVISOR
Frequency divisor used for instanced rendering.
|
VERTEX_ATTRIB_ARRAY_ENABLED
Whether the vertex attribute is enabled at this index.
|
VERTEX_ATTRIB_ARRAY_INTEGER
Whether or not an integer data type is in the vertex attribute array at the given index.
|
VERTEX_ATTRIB_ARRAY_NORMALIZED
Whether fixed-point data types are normalized for the vertex attribute array at the given
index.
|
VERTEX_ATTRIB_ARRAY_SIZE
The size of an element of the vertex array.
|
VERTEX_ATTRIB_ARRAY_STRIDE
The number of bytes between successive elements in the array.
|
VERTEX_ATTRIB_ARRAY_TYPE
The array type (see
ValueType). |
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static VertexAttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VertexAttributeType[] |
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 VertexAttributeType CURRENT_VERTEX_ATTRIB
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_DIVISOR
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_ENABLED
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_INTEGER
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_NORMALIZED
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_SIZE
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_STRIDE
public static final VertexAttributeType VERTEX_ATTRIB_ARRAY_TYPE
ValueType).public static VertexAttributeType[] values()
for (VertexAttributeType c : VertexAttributeType.values()) System.out.println(c);
public static VertexAttributeType 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.