Package com.google.android.filament
Enum VertexBuffer.AttributeType
- java.lang.Object
-
- java.lang.Enum<VertexBuffer.AttributeType>
-
- com.google.android.filament.VertexBuffer.AttributeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VertexBuffer.AttributeType>
- Enclosing class:
- VertexBuffer
public static enum VertexBuffer.AttributeType extends java.lang.Enum<VertexBuffer.AttributeType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VertexBuffer.AttributeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VertexBuffer.AttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BYTE
public static final VertexBuffer.AttributeType BYTE
-
BYTE2
public static final VertexBuffer.AttributeType BYTE2
-
BYTE3
public static final VertexBuffer.AttributeType BYTE3
-
BYTE4
public static final VertexBuffer.AttributeType BYTE4
-
UBYTE
public static final VertexBuffer.AttributeType UBYTE
-
UBYTE2
public static final VertexBuffer.AttributeType UBYTE2
-
UBYTE3
public static final VertexBuffer.AttributeType UBYTE3
-
UBYTE4
public static final VertexBuffer.AttributeType UBYTE4
-
SHORT
public static final VertexBuffer.AttributeType SHORT
-
SHORT2
public static final VertexBuffer.AttributeType SHORT2
-
SHORT3
public static final VertexBuffer.AttributeType SHORT3
-
SHORT4
public static final VertexBuffer.AttributeType SHORT4
-
USHORT
public static final VertexBuffer.AttributeType USHORT
-
USHORT2
public static final VertexBuffer.AttributeType USHORT2
-
USHORT3
public static final VertexBuffer.AttributeType USHORT3
-
USHORT4
public static final VertexBuffer.AttributeType USHORT4
-
INT
public static final VertexBuffer.AttributeType INT
-
UINT
public static final VertexBuffer.AttributeType UINT
-
FLOAT
public static final VertexBuffer.AttributeType FLOAT
-
FLOAT2
public static final VertexBuffer.AttributeType FLOAT2
-
FLOAT3
public static final VertexBuffer.AttributeType FLOAT3
-
FLOAT4
public static final VertexBuffer.AttributeType FLOAT4
-
HALF
public static final VertexBuffer.AttributeType HALF
-
HALF2
public static final VertexBuffer.AttributeType HALF2
-
HALF3
public static final VertexBuffer.AttributeType HALF3
-
HALF4
public static final VertexBuffer.AttributeType HALF4
-
-
Method Detail
-
values
public static VertexBuffer.AttributeType[] 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.AttributeType c : VertexBuffer.AttributeType.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.AttributeType 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
-
-