Enum TextureMinFilter
- All Implemented Interfaces:
Serializable, Comparable<TextureMinFilter>
Minification filters.
- Author:
- Matthew Tropiano
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBilinear minification - color using cluster average and next mipmap's nearest neighbor (better approximation).Linear minification - color using cluster average (okay approximation).Nearest minification - color using nearest neighbor (aliased - bad approximation).Trilinear minification - color using cluster average and next mipmap's cluster average (best approximation). -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureMinFilterReturns 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.
-
Enum Constant Details
-
NEAREST
Nearest minification - color using nearest neighbor (aliased - bad approximation). -
LINEAR
Linear minification - color using cluster average (okay approximation). -
BILINEAR
Bilinear minification - color using cluster average and next mipmap's nearest neighbor (better approximation). -
TRILINEAR
Trilinear minification - color using cluster average and next mipmap's cluster average (best approximation). Also called "bicubic" or "cubic."
-
-
Field Details
-
glid
public final int glid
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-