This is an example of using rust, winit, vulkan, and egui together without using eframe.
This uses Vulkan 1.3 with dynamic rendering, including the features needed for gpu-driven rendering
If you're looking for a Wgpu example, check out the wgpu-example repo
If you're looking for an OpenGL example, check out the opengl-example repo
Run using the precompiled shaders with:
cargo run -rIf you'd like to edit the shaders, install the Vulkan SDK to get glslangValidator for compiling glsl to spir-v
Then install just to run the commands in the justfile. (or you can run them manually)
just run