1 2 3 4 5 6 7 8 9
use gfx::*; // Generate the vertex struct, for use with graphics gfx_defines! { vertex Vertex { pos: [f32; 2] = "a_Pos", uv: [f32; 2] = "a_Uv", } }