|Enum Constant and Description
Same as BilinearNoMipMaps except that instead of using samples from texture level 0, the closest mipmap level is chosen based on distance.
In this method the four nearest texels to the pixel center are sampled (at texture level 0), and their colors are combined by weighted averages.
Similar to NearestNeighborNoMipMaps except that instead of using samples from texture level 0, a sample is chosen from each of the closest (by distance) two mipmap levels.
Same as NearestNeighborNoMipMaps except that instead of using samples from texture level 0, the closest mipmap level is chosen based on distance.
Nearest neighbor interpolation is the fastest and crudest filtering method - it simply uses the color of the texel closest to the pixel center for the pixel color.
Trilinear filtering is a remedy to a common artifact seen in mipmapped bilinearly filtered images: an abrupt and very noticeable change in quality at boundaries where the renderer switches from one mipmap level to the next.
|Modifier and Type
|Method and Description
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final Texture.MinFilter NearestNoMipMaps
public static final Texture.MinFilter BilinearNoMipMaps
public static final Texture.MinFilter NearestNearestMipMap
public static final Texture.MinFilter BilinearNearestMipMap
public static final Texture.MinFilter NearestLinearMipMap
public static final Texture.MinFilter Trilinear
public static Texture.MinFilter values()
for (Texture.MinFilter c : Texture.MinFilter.values()) System.out.println(c);
public static Texture.MinFilter 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 name
java.lang.NullPointerException - if the argument is null
public boolean usesMipMapLevels()