Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 995 Bytes

File metadata and controls

28 lines (17 loc) · 995 Bytes

Rust / Vulkan / Winit / Egui Example

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

vulkan

Quickstart

Run using the precompiled shaders with:

cargo run -r

If 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