#[repr(transparent)]pub struct MTLSamplerMinMagFilter(pub NSUInteger);Available on crate feature
MTLSampler only.Expand description
Options for filtering texels within a mip level.
Select the single texel nearest to the sample point.
Select two texels in each dimension, and interpolate linearly between them. Not all devices support linear filtering for all formats. Integer textures can not use linear filtering on any device, and only some devices support linear filtering of Float textures.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Trait Implementations§
Source§impl Clone for MTLSamplerMinMagFilter
impl Clone for MTLSamplerMinMagFilter
Source§fn clone(&self) -> MTLSamplerMinMagFilter
fn clone(&self) -> MTLSamplerMinMagFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MTLSamplerMinMagFilter
impl Debug for MTLSamplerMinMagFilter
Source§impl Encode for MTLSamplerMinMagFilter
impl Encode for MTLSamplerMinMagFilter
Source§impl Hash for MTLSamplerMinMagFilter
impl Hash for MTLSamplerMinMagFilter
Source§impl Ord for MTLSamplerMinMagFilter
impl Ord for MTLSamplerMinMagFilter
Source§fn cmp(&self, other: &MTLSamplerMinMagFilter) -> Ordering
fn cmp(&self, other: &MTLSamplerMinMagFilter) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MTLSamplerMinMagFilter
impl PartialEq for MTLSamplerMinMagFilter
Source§impl PartialOrd for MTLSamplerMinMagFilter
impl PartialOrd for MTLSamplerMinMagFilter
Source§impl RefEncode for MTLSamplerMinMagFilter
impl RefEncode for MTLSamplerMinMagFilter
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MTLSamplerMinMagFilter
impl Eq for MTLSamplerMinMagFilter
impl StructuralPartialEq for MTLSamplerMinMagFilter
Auto Trait Implementations§
impl Freeze for MTLSamplerMinMagFilter
impl RefUnwindSafe for MTLSamplerMinMagFilter
impl Send for MTLSamplerMinMagFilter
impl Sync for MTLSamplerMinMagFilter
impl Unpin for MTLSamplerMinMagFilter
impl UnwindSafe for MTLSamplerMinMagFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.