Manual
Programming Reference
enum Filter : u8 { nearest linear }
Specifies the filtering mode for samplers.
nearest
The data is taken from the nearest pixel of the sample point.
linear
The data is computed by linear interpolating between pixels around the sample point, using distances to such pixels as weights.