Skip to content

Basic boilerplate code to get a triangle on the screen using vulkan

Notifications You must be signed in to change notification settings

jamesmcgill/vulkan-hello-triangle

Repository files navigation

Vulkan hello, world triangle

Basic steps required to bootstrap a vulkan application.
Taken from https://vulkan-tutorial.com/

Should be platform independent as using glfw and cmake build system
Shader compilation done through cmake

Building on Windows 10 and Visual Studio 2019

Install dependencies

Install cmake
Install vcpkg (https://github.com/Microsoft/vcpkg)
Install the vulkan SDK (https://vulkan.lunarg.com/sdk/home)

vcpkg install glfw3:x64-windows  
vcpkg install vulkan:x64-windows  
Build

Run the provided build.bat from within the MSVC command prompt (vcvarsall.bat)

About

Basic boilerplate code to get a triangle on the screen using vulkan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published