let-engine 0.1.0-alpha

A game engine to learn vulkan made by Let. Not done yet.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::Vulkan;
use egui_winit_vulkano::{Gui, GuiConfig};
use winit::event_loop::EventLoop;

pub(crate) fn init(event_loop: &EventLoop<()>, vulkan: &Vulkan) -> Gui {
    Gui::new_with_subpass(
        event_loop,
        vulkan.surface.clone(),
        vulkan.queue.clone(),
        vulkan.subpass.clone(),
        vulkano::format::Format::R8G8B8A8_UNORM,
        GuiConfig::default(),
    )
}