public enum TextureFilter extends Enum<TextureFilter>
Enum Constant and Description |
---|
ANISOTROPIC
Use anisotropic interpolation for sampling, this is only used by minification filter.
|
LINEAR
Use linear interpolation for sampling
|
NONE
No minification, this is only used by minification filter.
|
POINT
Use point sampling
|
Modifier and Type | Method and Description |
---|---|
static TextureFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextureFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureFilter NONE
public static final TextureFilter POINT
public static final TextureFilter LINEAR
public static final TextureFilter ANISOTROPIC
public static TextureFilter[] values()
for (TextureFilter c : TextureFilter.values()) System.out.println(c);
public static TextureFilter 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 © 2018. All rights reserved.