use objc2::{Encode, Encoding, RefEncode};
#[repr(u64)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, PartialOrd, Ord)]
pub enum MTLVertexStepFunction {
Constant = 0,
PerVertex = 1,
PerInstance = 2,
PerPatch = 3,
PerPatchControlPoint = 4,
}
unsafe impl Encode for MTLVertexStepFunction {
const ENCODING: Encoding = u64::ENCODING;
}
unsafe impl RefEncode for MTLVertexStepFunction {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}