[−][src]Macro vulkano::impl_vertex
Implements the Vertex
trait on a struct.
Example
#[derive(Default, Copy, Clone)] struct Vertex{ position: [f32; 3], color: [f32; 4] } vulkano::impl_vertex!(Vertex, position, color);
Implements the Vertex
trait on a struct.
#[derive(Default, Copy, Clone)] struct Vertex{ position: [f32; 3], color: [f32; 4] } vulkano::impl_vertex!(Vertex, position, color);