Enum wgpu_types::FilterMode [−][src]
#[repr(C)]
pub enum FilterMode {
Nearest,
Linear,
}
Expand description
Texel mixing mode when sampling between texels.
Variants
Nearest
Nearest neighbor sampling.
This creates a pixelated effect when used as a mag filter
Linear
Linear Interpolation
This makes textures smooth but blurry when used as a mag filter.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FilterMode
impl Send for FilterMode
impl Sync for FilterMode
impl Unpin for FilterMode
impl UnwindSafe for FilterMode
Blanket Implementations
Mutably borrows from an owned value. Read more