rFactor2_vk_hud/src/overlay/rendering.rs

19 lines
308 B
Rust
Raw Normal View History

2023-01-12 09:10:09 +00:00
use anyhow::Result;
use vulkan_rs::prelude::*;
use std::sync::Arc;
pub struct Rendering {
swapchain: Arc<Swapchain>,
}
impl Rendering {
pub fn new(swapchain: Arc<Swapchain>) -> Self {
Self { swapchain }
}
pub fn render(&mut self) -> Result<VkSubmitInfo> {
todo!()
}
}