public enum Texture.Filter

  1. Object
  2. Enum<Texture.Filter>
  3. Texture.Filter

ImplementsComparable<Texture.Filter>

The sampling filter applied when the texture is scaled.

Enum constants

NEARESTNearest texel sampling (blocky, sharp).
LINEARBilinear sampling (smooth).

Methods

public static Texture.Filter[] values()
public static Texture.Filter valueOf(String name)

Inherited methods

Enum constant details

NEAREST

NEAREST
Nearest texel sampling (blocky, sharp).

LINEAR

LINEAR
Bilinear sampling (smooth).

Method details

values

public static Texture.Filter[] values()

valueOf

public static Texture.Filter valueOf(String name)