Package com.google.android.filament
Enum Material.Parameter.Type
- java.lang.Object
-
- java.lang.Enum<Material.Parameter.Type>
-
- com.google.android.filament.Material.Parameter.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Material.Parameter.Type>
- Enclosing class:
- Material.Parameter
public static enum Material.Parameter.Type extends java.lang.Enum<Material.Parameter.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLBOOL2BOOL3BOOL4FLOATFLOAT2FLOAT3FLOAT4INTINT2INT3INT4MAT3MAT4SAMPLER_2DSAMPLER_2D_ARRAYSAMPLER_3DSAMPLER_CUBEMAPSAMPLER_EXTERNALSUBPASS_INPUTUINTUINT2UINT3UINT4
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Material.Parameter.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Material.Parameter.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL
public static final Material.Parameter.Type BOOL
-
BOOL2
public static final Material.Parameter.Type BOOL2
-
BOOL3
public static final Material.Parameter.Type BOOL3
-
BOOL4
public static final Material.Parameter.Type BOOL4
-
FLOAT
public static final Material.Parameter.Type FLOAT
-
FLOAT2
public static final Material.Parameter.Type FLOAT2
-
FLOAT3
public static final Material.Parameter.Type FLOAT3
-
FLOAT4
public static final Material.Parameter.Type FLOAT4
-
INT
public static final Material.Parameter.Type INT
-
INT2
public static final Material.Parameter.Type INT2
-
INT3
public static final Material.Parameter.Type INT3
-
INT4
public static final Material.Parameter.Type INT4
-
UINT
public static final Material.Parameter.Type UINT
-
UINT2
public static final Material.Parameter.Type UINT2
-
UINT3
public static final Material.Parameter.Type UINT3
-
UINT4
public static final Material.Parameter.Type UINT4
-
MAT3
public static final Material.Parameter.Type MAT3
-
MAT4
public static final Material.Parameter.Type MAT4
-
SAMPLER_2D
public static final Material.Parameter.Type SAMPLER_2D
-
SAMPLER_2D_ARRAY
public static final Material.Parameter.Type SAMPLER_2D_ARRAY
-
SAMPLER_CUBEMAP
public static final Material.Parameter.Type SAMPLER_CUBEMAP
-
SAMPLER_EXTERNAL
public static final Material.Parameter.Type SAMPLER_EXTERNAL
-
SAMPLER_3D
public static final Material.Parameter.Type SAMPLER_3D
-
SUBPASS_INPUT
public static final Material.Parameter.Type SUBPASS_INPUT
-
-
Method Detail
-
values
public static Material.Parameter.Type[] 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 (Material.Parameter.Type c : Material.Parameter.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Material.Parameter.Type 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
-
-