Package com.google.android.filament
Enum RenderableManager.PrimitiveType
- java.lang.Object
-
- java.lang.Enum<RenderableManager.PrimitiveType>
-
- com.google.android.filament.RenderableManager.PrimitiveType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RenderableManager.PrimitiveType>
- Enclosing class:
- RenderableManager
public static enum RenderableManager.PrimitiveType extends java.lang.Enum<RenderableManager.PrimitiveType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINE_STRIPLINESPOINTSTRIANGLE_STRIPTRIANGLES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RenderableManager.PrimitiveTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RenderableManager.PrimitiveType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POINTS
public static final RenderableManager.PrimitiveType POINTS
-
LINES
public static final RenderableManager.PrimitiveType LINES
-
LINE_STRIP
public static final RenderableManager.PrimitiveType LINE_STRIP
-
TRIANGLES
public static final RenderableManager.PrimitiveType TRIANGLES
-
TRIANGLE_STRIP
public static final RenderableManager.PrimitiveType TRIANGLE_STRIP
-
-
Method Detail
-
values
public static RenderableManager.PrimitiveType[] 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 (RenderableManager.PrimitiveType c : RenderableManager.PrimitiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RenderableManager.PrimitiveType 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
-
-