Enum cat_engine_basement::graphics::core::texture::TextureMagFilter [−][src]
#[repr(u32)] pub enum TextureMagFilter { Nearest, Linear, }
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextureMagFilter
impl Send for TextureMagFilter
impl Sync for TextureMagFilter
impl Unpin for TextureMagFilter
impl UnwindSafe for TextureMagFilter
Blanket Implementations
Mutably borrows from an owned value. Read more