Package com.google.android.filament
Enum VertexBuffer.VertexAttribute
- java.lang.Object
-
- java.lang.Enum<VertexBuffer.VertexAttribute>
-
- com.google.android.filament.VertexBuffer.VertexAttribute
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VertexBuffer.VertexAttribute>
- Enclosing class:
- VertexBuffer
public static enum VertexBuffer.VertexAttribute extends java.lang.Enum<VertexBuffer.VertexAttribute>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VertexBuffer.VertexAttributevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VertexBuffer.VertexAttribute[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POSITION
public static final VertexBuffer.VertexAttribute POSITION
-
TANGENTS
public static final VertexBuffer.VertexAttribute TANGENTS
-
COLOR
public static final VertexBuffer.VertexAttribute COLOR
-
UV0
public static final VertexBuffer.VertexAttribute UV0
-
UV1
public static final VertexBuffer.VertexAttribute UV1
-
BONE_INDICES
public static final VertexBuffer.VertexAttribute BONE_INDICES
-
BONE_WEIGHTS
public static final VertexBuffer.VertexAttribute BONE_WEIGHTS
-
UNUSED
public static final VertexBuffer.VertexAttribute UNUSED
-
CUSTOM0
public static final VertexBuffer.VertexAttribute CUSTOM0
-
CUSTOM1
public static final VertexBuffer.VertexAttribute CUSTOM1
-
CUSTOM2
public static final VertexBuffer.VertexAttribute CUSTOM2
-
CUSTOM3
public static final VertexBuffer.VertexAttribute CUSTOM3
-
CUSTOM4
public static final VertexBuffer.VertexAttribute CUSTOM4
-
CUSTOM5
public static final VertexBuffer.VertexAttribute CUSTOM5
-
CUSTOM6
public static final VertexBuffer.VertexAttribute CUSTOM6
-
CUSTOM7
public static final VertexBuffer.VertexAttribute CUSTOM7
-
-
Method Detail
-
values
public static VertexBuffer.VertexAttribute[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VertexBuffer.VertexAttribute c : VertexBuffer.VertexAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VertexBuffer.VertexAttribute valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-