rust_vulkan_test/src/game/mod.rs
Florian RICHER e2616a0ef5
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 21m47s
Add vulkan creation from resources
2025-04-13 18:45:33 +02:00

16 lines
341 B
Rust

use crate::core::{
app::App,
vulkan::Vulkan,
window::{Window, config::WindowConfig},
};
pub fn init(app: &mut App) {
let window_config = WindowConfig {
title: "Rust ASH Test".to_string(),
width: 800,
height: 600,
};
Window::new(app, window_config).unwrap();
Vulkan::new(app).unwrap();
}