public enum TextureFiltering extends java.lang.Enum<TextureFiltering>
This is an OpenGL-specific feature.
Copyright 2010 Partner Software, Inc.
| Enum Constant and Description |
|---|
BILINEAR
Bilinear filtering looks at the four closest pixels and merges them to generate a result pixel.
|
NONE
No filtering.
|
TRILINEAR
Trilinear filtering uses not just the four closest pixels, but also does the same between the closest
two mipmaps.
|
| Modifier and Type | Method and Description |
|---|---|
static TextureFiltering |
forName(java.lang.String name) |
java.lang.String |
getName() |
static TextureFiltering |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureFiltering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureFiltering NONE
public static final TextureFiltering BILINEAR
public static final TextureFiltering TRILINEAR
public static TextureFiltering[] values()
for (TextureFiltering c : TextureFiltering.values()) System.out.println(c);
public static TextureFiltering 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 static TextureFiltering forName(java.lang.String name)
public java.lang.String getName()