Enum Class TextureMinFilter
- All Implemented Interfaces:
Serializable, Comparable<TextureMinFilter>, java.lang.constant.Constable
Minification filters.
- Author:
- Matthew Tropiano
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
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 class with the specified name.static TextureMinFilter[]values()Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-