use objc2::{Encode, Encoding, RefEncode};
#[repr(u64)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
pub enum MTLSamplerMipFilter {
NotMipmapped = 0,
Nearest = 1,
Linear = 2,
}
unsafe impl Encode for MTLSamplerMipFilter {
const ENCODING: Encoding = u64::ENCODING;
}
unsafe impl RefEncode for MTLSamplerMipFilter {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}