pub type Sampler = Object<SamplObj>;
pub struct Sampler { pub obj: u32, /* private fields */ }
obj: u32