public enum JCGLTextureFilterMinification extends Enum<JCGLTextureFilterMinification>
| Enum Constant and Description |
|---|
TEXTURE_FILTER_LINEAR
Bilinear interpolation.
|
TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR
Chooses the two mipmaps that most closely match the size of the pixel being
textured and uses the
TEXTURE_FILTER_LINEAR criterion (a weighted
average of the texture elements that are closest to the specified texture
coordinates) to produce a texture value from each mipmap. |
TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST
Chooses the mipmap that most closely matches the size of the pixel being
textured and uses the
TEXTURE_FILTER_LINEAR criterion (a weighted
average of the four texture elements that are closest to the specified
texture coordinates) to produce a texture value. |
TEXTURE_FILTER_NEAREST
Nearest-neighbour interpolation.
|
TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR
Chooses the two mipmaps that most closely match the size of the pixel being
textured and uses the
TEXTURE_FILTER_NEAREST criterion (the
texture element closest to the specified texture coordinates ) to produce a
texture value from each mipmap. |
TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST
Chooses the mipmap that most closely matches the size of the pixel being
textured and uses the
TEXTURE_FILTER_NEAREST criterion (the
texture element closest to the specified texture coordinates) to
produce a
texture value. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLTextureFilterMinification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLTextureFilterMinification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLTextureFilterMinification TEXTURE_FILTER_LINEAR
public static final JCGLTextureFilterMinification TEXTURE_FILTER_NEAREST
public static final JCGLTextureFilterMinification TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST
TEXTURE_FILTER_NEAREST criterion (the
texture element closest to the specified texture coordinates) to
produce a
texture value.public static final JCGLTextureFilterMinification TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST
TEXTURE_FILTER_LINEAR criterion (a weighted
average of the four texture elements that are closest to the specified
texture coordinates) to produce a texture value.public static final JCGLTextureFilterMinification TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR
TEXTURE_FILTER_NEAREST criterion (the
texture element closest to the specified texture coordinates ) to produce a
texture value from each mipmap. The final texture value is a weighted
average of those two values.public static final JCGLTextureFilterMinification TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR
TEXTURE_FILTER_LINEAR criterion (a weighted
average of the texture elements that are closest to the specified texture
coordinates) to produce a texture value from each mipmap. The final texture
value is a weighted average of those two values.public static JCGLTextureFilterMinification[] values()
for (JCGLTextureFilterMinification c : JCGLTextureFilterMinification.values()) System.out.println(c);
public static JCGLTextureFilterMinification valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 <code@io7m.com> http://io7m.com