Package com.google.android.filament
Enum IndexBuffer.Builder.IndexType
- java.lang.Object
-
- java.lang.Enum<IndexBuffer.Builder.IndexType>
-
- com.google.android.filament.IndexBuffer.Builder.IndexType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IndexBuffer.Builder.IndexType>
- Enclosing class:
- IndexBuffer.Builder
public static enum IndexBuffer.Builder.IndexType extends java.lang.Enum<IndexBuffer.Builder.IndexType>
Type of the index buffer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndexBuffer.Builder.IndexTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IndexBuffer.Builder.IndexType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USHORT
public static final IndexBuffer.Builder.IndexType USHORT
16-bit indices
-
UINT
public static final IndexBuffer.Builder.IndexType UINT
32-bit indices
-
-
Method Detail
-
values
public static IndexBuffer.Builder.IndexType[] 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 (IndexBuffer.Builder.IndexType c : IndexBuffer.Builder.IndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndexBuffer.Builder.IndexType 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
-
-