public enum TextureMinFilter extends java.lang.Enum<TextureMinFilter> implements GLEnum
Enum Constant and Description |
---|
LINEAR
Returns the weighted average of the four texture elements that
are closest to the center of the pixel being textured.
|
LINEAR_MIPMAP_LINEAR
Chooses the two mipmaps that most closely match the size of the pixel
being textured and uses the
LINEAR criterion
(a weighted average of the four texture elements that are closest to the
center of the pixel) to produce a texture value from each mipmap. |
LINEAR_MIPMAP_NEAREST
Chooses the mipmap that most closely matches the size of the pixel
being textured and uses the
LINEAR criterion
(a weighted average of the four texture elements that are closest to
the center of the pixel) to produce a texture value. |
NEAREST
Returns the value of the texture element that is nearest
(in Manhattan distance) to the center of the pixel being textured.
|
NEAREST_MIPMAP_LINEAR
Chooses the two mipmaps that most closely match the size of the pixel
being textured and uses the
NEAREST criterion (the texture element
nearest to the center of the pixel) to produce a texture value from
each mipmap. |
NEAREST_MIPMAP_NEAREST
Chooses the mipmap that most closely matches the size of the
pixel being textured and uses the
NEAREST criterion
(the texture element nearest to the center of the pixel)
to produce a texture value. |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static TextureMinFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureMinFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureMinFilter NEAREST
public static final TextureMinFilter LINEAR
public static final TextureMinFilter NEAREST_MIPMAP_NEAREST
NEAREST
criterion
(the texture element nearest to the center of the pixel)
to produce a texture value.public static final TextureMinFilter LINEAR_MIPMAP_NEAREST
LINEAR
criterion
(a weighted average of the four texture elements that are closest to
the center of the pixel) to produce a texture value.public static final TextureMinFilter NEAREST_MIPMAP_LINEAR
NEAREST
criterion (the texture element
nearest to the center of the pixel) to produce a texture value from
each mipmap. The final texture value is a weighted average of those two values.public static final TextureMinFilter LINEAR_MIPMAP_LINEAR
LINEAR
criterion
(a weighted average of the four texture elements that are closest to the
center of the pixel) to produce a texture value from each mipmap.
The final texture value is a weighted average of those two values.public static TextureMinFilter[] values()
for (TextureMinFilter c : TextureMinFilter.values()) System.out.println(c);
public static TextureMinFilter 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