public enum TextureAddressMode extends java.lang.Enum<TextureAddressMode>
Enum Constant and Description |
---|
Clamp
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at 0.0 or 1.0, respectively.
|
Mirror
Similar to Wrap, except that the texture is flipped at every integer junction.
|
Wrap
Tile the texture at every integer junction.
|
Modifier and Type | Method and Description |
---|---|
static TextureAddressMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureAddressMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureAddressMode Wrap
public static final TextureAddressMode Clamp
public static final TextureAddressMode Mirror
public static TextureAddressMode[] values()
for (TextureAddressMode c : TextureAddressMode.values()) System.out.println(c);
public static TextureAddressMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null