1
0
Fork 0
wgpu-rs/engine_core/src/render/vulkan/vertex.rs

6 lines
No EOL
123 B
Rust

#[derive(Default, Copy, Clone)]
pub struct Vertex {
pub position: [f32; 2],
}
vulkano::impl_vertex!(Vertex, position);