|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Texture.MinificationFilter>
com.jme.image.Texture.MinificationFilter
public static enum Texture.MinificationFilter
| Enum Constant Summary | |
|---|---|
BilinearNearestMipMap
Same as BilinearNoMipMaps except that instead of using samples from texture level 0, the closest mipmap level is chosen based on distance. |
|
BilinearNoMipMaps
In this method the four nearest texels to the pixel center are sampled (at texture level 0), and their colors are combined by weighted averages. |
|
NearestNeighborLinearMipMap
Similar to NearestNeighborNoMipMaps except that instead of using samples from texture level 0, a sample is chosen from each of the closest (by distance) two mipmap levels. |
|
NearestNeighborNearestMipMap
Same as NearestNeighborNoMipMaps except that instead of using samples from texture level 0, the closest mipmap level is chosen based on distance. |
|
NearestNeighborNoMipMaps
Nearest neighbor interpolation is the fastest and crudest filtering method - it simply uses the color of the texel closest to the pixel center for the pixel color. |
|
Trilinear
Trilinear filtering is a remedy to a common artifact seen in mipmapped bilinearly filtered images: an abrupt and very noticeable change in quality at boundaries where the renderer switches from one mipmap level to the next. |
|
| Method Summary | |
|---|---|
boolean |
usesMipMapLevels()
|
static Texture.MinificationFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Texture.MinificationFilter[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Texture.MinificationFilter NearestNeighborNoMipMaps
public static final Texture.MinificationFilter BilinearNoMipMaps
public static final Texture.MinificationFilter NearestNeighborNearestMipMap
public static final Texture.MinificationFilter BilinearNearestMipMap
public static final Texture.MinificationFilter NearestNeighborLinearMipMap
public static final Texture.MinificationFilter Trilinear
| Method Detail |
|---|
public static final Texture.MinificationFilter[] values()
for(Texture.MinificationFilter c : Texture.MinificationFilter.values())
System.out.println(c);
public static Texture.MinificationFilter 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 namepublic boolean usesMipMapLevels()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||