This project demonstrates how to setup a rust project that uses OpenGL via gl-rs and glutin to render a spinning triangle with an egui UI overlay.
If you're looking for a Vulkan example, check out the vulkan-example repo
If you're looking for a Wgpu example, check out the wgpu-example repo
cargo run -r
# Or if you have `just` installed
just runf