public static enum Texture.MinFilter extends java.lang.Enum<Texture.MinFilter>
Enum Constant and Description |
---|
BilinearNearestMipMap
Same as BilinearNoMipMaps except that instead of using samples from
texture level 0, the closest mipmap level is chosen based on
distance.
|
BilinearNoMipMaps
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.
|
NearestLinearMipMap
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.
|
NearestNearestMipMap
Same as NearestNeighborNoMipMaps except that instead of using samples
from texture level 0, the closest mipmap level is chosen based on
distance.
|
NearestNoMipMaps
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
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 |
---|---|
boolean |
usesMipMapLevels() |
static Texture.MinFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Texture.MinFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean usesMipMapLevels()