Package com.google.android.filament
Enum Texture.Format
- java.lang.Object
-
- java.lang.Enum<Texture.Format>
-
- com.google.android.filament.Texture.Format
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Texture.Format>
- Enclosing class:
- Texture
public static enum Texture.Format extends java.lang.Enum<Texture.Format>
Pixel color format
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHADEPTH_COMPONENTDEPTH_STENCILRR_INTEGERRGRG_INTEGERRGBRGB_INTEGERRGBARGBA_INTEGERSTENCIL_INDEXUNUSED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Texture.FormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Texture.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
R
public static final Texture.Format R
-
R_INTEGER
public static final Texture.Format R_INTEGER
-
RG
public static final Texture.Format RG
-
RG_INTEGER
public static final Texture.Format RG_INTEGER
-
RGB
public static final Texture.Format RGB
-
RGB_INTEGER
public static final Texture.Format RGB_INTEGER
-
RGBA
public static final Texture.Format RGBA
-
RGBA_INTEGER
public static final Texture.Format RGBA_INTEGER
-
UNUSED
public static final Texture.Format UNUSED
-
DEPTH_COMPONENT
public static final Texture.Format DEPTH_COMPONENT
-
DEPTH_STENCIL
public static final Texture.Format DEPTH_STENCIL
-
STENCIL_INDEX
public static final Texture.Format STENCIL_INDEX
-
ALPHA
public static final Texture.Format ALPHA
-
-
Method Detail
-
values
public static Texture.Format[] 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 (Texture.Format c : Texture.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Texture.Format 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
-
-