Class description texture-filter values are used in a texture-parameters tuple to determine how a texture should be sampled between pixels or between levels of detail. filter-linear selects linear filtering, while filter-nearest selects nearest-neighbor sampling.