A collection of open source samples for Vulkan® written using the help of kgl. Inspired by examples from Sascha Willems and vulkan-tutorial.
sudo apt install glfw3- Vulkan SDK.
brew install glfw --HEADbrew cask install apenngrace/vulkan/vulkan-sdkor Vulkan SDK.export VULKAN_SDK=vulkansdk/macOS. Replace the "vulkansdk" above with the actual path to your SDK. Make sure you include the /macOS part.export DYLD_LIBRARY_PATH="$VULKAN_SDK/lib:$DYLD_LIBRARY_PATH"export VK_ICD_FILENAMES="$VULKAN_SDK/etc/vulkan/icd.d/MoltenVK_icd.json"export VK_LAYER_PATH="$VULKAN_SDK/etc/vulkan/explicit_layer.d"export PATH="$VULKAN_SDK/bin:$PATH"
Simple render of a colourful triangle. This is as simple as vulkan gets.
Simple render of a rectangle using a vertex buffer and an index buffer, each updated with a staging buffer.