1 2 3 4 5 6 7 8 9 10 11
#[repr(u32)] #[derive(Clone, Copy, Debug)] pub enum DrawMode { Points = 0x0000, Lines = 0x0001, LineLoop = 0x0002, LineStrip = 0x0003, Triangles = 0x0004, TriangleStrip = 0x0005, TriangleFan = 0x0006, }