Enum cat_engine_basement::graphics::core::texture::TextureMinFilter [−][src]
#[repr(u32)] pub enum TextureMinFilter { Nearest, Linear, NearestMipmapNearest, LinearMipmapNearest, NearestMipmapLinear, LinearMipmapLinear, }
Variants
Returns the value of the texture element that is nearest (in Manhattan distance) to the specified texture coordinates.
Returns the weighted average of the four texture elements that are closest to the specified texture coordinates.
These can include items wrapped or repeated from other parts of a texture,
depending on the values of GL_TEXTURE_WRAP_S
and GL_TEXTURE_WRAP_T
,and on the exact mapping.
Chooses the mipmap that most closely matches the size of the pixel being textured
and uses the GL_NEAREST
criterion (the texture element closest to the specified texture coordinates)
to produce a texture value.
Chooses the mipmap that most closely matches the size of the pixel being textured
and uses the GL_LINEAR
criterion (a weighted average of the four texture elements that are closest to the specified texture coordinates)
to produce a texture value.
Chooses the two mipmaps that most closely match the size of the pixel being textured and uses the GL_NEAREST criterion (the texture element closest to the specified texture coordinates ) to produce a texture value from each mipmap. The final texture value is a weighted average of those two values.
Chooses the two mipmaps that most closely match the size of the pixel being textured and uses the GL_LINEAR criterion (a weighted average of the texture elements that are closest to the specified texture coordinates) to produce a texture value from each mipmap. The final texture value is a weighted average of those two values.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextureMinFilter
impl Send for TextureMinFilter
impl Sync for TextureMinFilter
impl Unpin for TextureMinFilter
impl UnwindSafe for TextureMinFilter
Blanket Implementations
Mutably borrows from an owned value. Read more