Vulkano backend for egui
This is a drawing backend to use egui with Vulkano. It can be used with egui-winit for input handling.
Usage
let mut egui_painter = new
.unwrap;
// ...
// Get the shapes from egui
let egui_output = egui_ctx.end_frame;
let result = egui_painter.update_textures.unwrap;
// If using egui-winit:
egui_winit.handle_platform_output;
// Do your own rendering ...
// Automatically start the next render subpass and draw the gui
egui_painter
.draw
.unwrap;
Check the included working example for more info.
Pull requests are welcome!
Credits
With inspiration from egui_winit_ash_vk_mem, egui_sdl2_gl and egui_glium.