ivy-vulkan 0.10.3

Low level vulkan abstractions for the Ivy game engine.
1
2
3
4
5
6
7
8
9
use ash::{extensions::khr::Surface, vk::SurfaceKHR, Entry, Instance};

pub fn create_loader(entry: &Entry, instance: &Instance) -> Surface {
    Surface::new(entry, instance)
}

pub fn destroy(surface_loader: &Surface, surface: SurfaceKHR) {
    unsafe { surface_loader.destroy_surface(surface, None) };
}