public enum TextureFilter extends java.lang.Enum<TextureFilter>
| Enum Constant and Description |
|---|
LINEAR
Fetch four nearest texels that best maps to the pixel on screen
|
LINEAR_MIP_POINT
Same as LINEAR, but samples the nearest mip map.
|
PIXEL
Fetch the nearest texel that best maps to the pixel on screen
|
PIXEL_MIP_LINEAR
Same as PIXEL, but samples linearly between mip maps.
|
| Modifier and Type | Method and Description |
|---|---|
static TextureFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureFilter LINEAR
public static final TextureFilter PIXEL
public static final TextureFilter LINEAR_MIP_POINT
public static final TextureFilter PIXEL_MIP_LINEAR
public static TextureFilter[] values()
for (TextureFilter c : TextureFilter.values()) System.out.println(c);
public static TextureFilter 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