public static enum Texture.MagFilter extends java.lang.Enum<Texture.MagFilter>
| Enum Constant and Description |
|---|
Bilinear
In this mode the four nearest texels to the pixel center are sampled
(at the closest mipmap level), and their colors are combined by
weighted average according to distance.
|
Nearest
Nearest neighbor interpolation is the fastest and crudest filtering
mode - it simply uses the color of the texel closest to the pixel
center for the pixel color.
|
| Modifier and Type | Method and Description |
|---|---|
static Texture.MagFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Texture.MagFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Texture.MagFilter Nearest
public static final Texture.MagFilter Bilinear
public static Texture.MagFilter[] values()
for (Texture.MagFilter c : Texture.MagFilter.values()) System.out.println(c);
public static Texture.MagFilter 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