use bevy::prelude::*; struct VertexOutput { [[builtin(position)]] position: Vec4, [[location(0)]] color: Vec3, } #[stage(vertex)] fn main([[location(0)]] position: Vec2, [[location(1)]] color: Vec3) -> VertexOutput { return VertexOutput { position: Vec4::new(position.x, position.y, 1.0, 1.0), color, }; }