
/// Generic vertex 2d with vertex position, texture position and a 32bit color
#[derive(Default, Debug, Clone, Copy)]
pub struct Vertex2D {
    pub v_position: [f32; 2],
    pub color   : [f32; 4],
    pub ti_position: [f32; 2],
}

vulkano::impl_vertex!(Vertex2D, v_position, color, ti_position);