Enum glium::uniforms::MinifySamplerFilter
[−]
[src]
pub enum MinifySamplerFilter { Nearest, Linear, NearestMipmapNearest, LinearMipmapNearest, NearestMipmapLinear, LinearMipmapLinear, }
The function that the GPU will use when loading the value of a texel.
Variants
Nearest | The nearest texel will be loaded. Only uses the main texture, mipmaps are totally ignored. |
Linear | All nearby texels will be loaded and their values will be merged. Only uses the main texture, mipmaps are totally ignored. |
NearestMipmapNearest | The nearest texel of the nearest mipmap will be loaded. |
LinearMipmapNearest | Takes the nearest texel from the two nearest mipmaps, and merges them. |
NearestMipmapLinear | Same as |
LinearMipmapLinear | Same as |