/VulkanLearning

Vulkan Learning!

Primary LanguageCGNU General Public License v3.0GPL-3.0

VulkanLearning

GitHub Repo stars GitHub watchers

GitHub top language Lines of code GitHub repo size

GitHub issues GitHub pull requests GitHub

GitHub release (latest by date) GitHub all releases

The CMakeLists.txt is made for macOS on aarch64 with some environment variables, this is the section of my ~/.bash_profile for vulkan. This is very easily converted to Linux, and for Windows users a surf on the interwebs for vulkan CMakeLists.txt or vulkan Makefile should get you up and running easily.

# Vulkan environment variables
export VULKAN_ROOT_LOCATION="$HOME/"
export VULKAN_SDK_VERSION="1.3.204.1"
export VULKAN_SDK="$VULKAN_ROOT_LOCATION/VulkanSDK/$VULKAN_SDK_VERSION/macOS/"
export VK_ICD_FILENAMES="$VULKAN_SDK/etc/vulkan/icd.d/MoltenVK_icd.json"
export VK_LAYER_PATH="$VULKAN_SDK/etc/vulkan/explicit_layers.d"
export PATH="$VULKAN_SDK/bin:$PATH"