use objc2::{Encode, Encoding, RefEncode};
#[repr(C)]
#[derive(Copy, Clone, Debug, PartialEq)]
pub struct MTLSamplePosition {
pub x: f32,
pub y: f32,
}
unsafe impl Encode for MTLSamplePosition {
const ENCODING: Encoding = Encoding::Struct("?", &[f32::ENCODING, f32::ENCODING]);
}
unsafe impl RefEncode for MTLSamplePosition {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}