pub type SamplingMode = FilterMode;
Use FilterMode
#[repr(i32)]pub enum SamplingMode { Nearest = 0, Linear = 1, }