Enum Texture.Sampler.WrapMode
- java.lang.Object
-
- java.lang.Enum<Texture.Sampler.WrapMode>
-
- com.google.ar.sceneform.rendering.Texture.Sampler.WrapMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Texture.Sampler.WrapMode>
- Enclosing class:
- Texture.Sampler
public static enum Texture.Sampler.WrapMode extends java.lang.Enum<Texture.Sampler.WrapMode>
Options for Wrap Mode function.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLAMP_TO_EDGE
MIRRORED_REPEAT
REPEAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Texture.Sampler.WrapMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Texture.Sampler.WrapMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLAMP_TO_EDGE
public static final Texture.Sampler.WrapMode CLAMP_TO_EDGE
-
REPEAT
public static final Texture.Sampler.WrapMode REPEAT
-
MIRRORED_REPEAT
public static final Texture.Sampler.WrapMode MIRRORED_REPEAT
-
-
Method Detail
-
values
public static Texture.Sampler.WrapMode[] 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.Sampler.WrapMode c : Texture.Sampler.WrapMode.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.Sampler.WrapMode 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
-
-