Constant glitter::texture::LINEAR_MIPMAP_LINEAR [] [src]

pub const LINEAR_MIPMAP_LINEAR: TextureMipmapFilter = TextureMipmapFilter::MipmapFilter{criterion: TextureFilter::Linear,
                                  mipmap: TextureFilter::Linear,}

When texturing a pixel, select the two mipmaps that are nearest in size to the pixel. For each, select the four texels that are closest to the center of the pixel, and compute the weighted average. Finally, take the resulting two weighted averages of the texels, and take the weighted average of both based on the mipmaps.