public enum TextureWrap extends Enum<TextureWrap> implements Enumeration
[0, 1].| Enum Constant and Description | 
|---|
CLAMP
Clamp the texture coordinate to the range  
[0, 1]. | 
CLAMP_TO_BORDER
Clamp the texture coordinate to the range  
[-1/2N, 1 + 1/2N],
where N is the size the texture in the direction of clamping. | 
CLAMP_TO_EDGE
Clamp the texture coordinate to the range  
[1/2N, 1 - 1/2N],
where N is the size the texture in the direction of clamping. | 
MIRRORED_REPEAT
If the integer part of the texture coordinate is even, use the
fractional part of the texture coordinate. 
 | 
REPEAT
Ignore the integer part of the texture coordinate. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TextureWrap | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static TextureWrap | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static TextureWrap | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static TextureWrap[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TextureWrap CLAMP
[0, 1].public static final TextureWrap CLAMP_TO_BORDER
[-1/2N, 1 + 1/2N],
where N is the size the texture in the direction of clamping.public static final TextureWrap CLAMP_TO_EDGE
[1/2N, 1 - 1/2N],
where N is the size the texture in the direction of clamping.public static final TextureWrap MIRRORED_REPEAT
public static final TextureWrap REPEAT
public static TextureWrap[] values()
for (TextureWrap c : TextureWrap.values()) System.out.println(c);
public static TextureWrap 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 nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static TextureWrap getFromValue(int value)
value - a numeric value.@Nonnull public static TextureWrap getDefault()