leocp1 / vulkano-sdl2

Link between vulkano and SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vulkano-SDL2

A safe link between vulkano and the sdl2 library which can create a window to render to.

Attempts to mostly match vulkano-win, but the surface is returned directly instead of as a field in a struct, since SDL2_vulkan requires a window to return required instance extensions. Please see tests/create_surface.rs as an example.

The sdl2-vulkan-sys directory binds the SDL2_vulkan.h functions.

About

Link between vulkano and SDL2

License:MIT License


Languages

Language:Rust 100.0%