vk-graph-window 0.1.4

winit window and swapchain integration for vk-graph
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use vk_graph_window::{Window, WindowError};

/// This example requires a color graphics adapter.
fn main() -> Result<(), WindowError> {
    pretty_env_logger::init();

    Window::new()?.run(|frame| {
        frame
            .graph
            .clear_color_image(frame.swapchain_image, [100u8, 149, 237, 255]);
    })
}