public static enum Shader.TileMode extends Enum<Shader.TileMode>
Enum Constant and Description |
---|
CLAMP
replicate the edge color if the shader draws outside of its
original bounds
|
MIRROR
repeat the shader's image horizontally and vertically, alternating
mirror images so that adjacent images always seam
|
REPEAT
repeat the shader's image horizontally and vertically
|
Modifier and Type | Method and Description |
---|---|
static Shader.TileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Shader.TileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shader.TileMode CLAMP
public static final Shader.TileMode REPEAT
public static final Shader.TileMode MIRROR
public static Shader.TileMode[] values()
for (Shader.TileMode c : Shader.TileMode.values()) System.out.println(c);
public static Shader.TileMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null