Skip to content

A minimal example of using Rust, Vulkan, and egui without using eframe 🦀

Notifications You must be signed in to change notification settings

matthewjberger/vulkan-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A minimal example of using Rust, Vulkan, and egui without using eframe 🦀

Topics

Resources

Stars

Watchers

Forks

Sponsor this project