public static enum Texture.Wrap extends java.lang.Enum<Texture.Wrap>
Enum Constant and Description |
---|
CLAMP
CLAMP: the texture coordinate is clamped to [0, 1].
|
REPEAT
REPEAT: the integer part of the texture coordinate to be ignored.
|
Modifier and Type | Method and Description |
---|---|
static Texture.Wrap |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Texture.Wrap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Texture.Wrap REPEAT
public static final Texture.Wrap CLAMP
public static Texture.Wrap[] values()
for (Texture.Wrap c : Texture.Wrap.values()) System.out.println(c);
public static Texture.Wrap 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