https://github.com/piras314/vulkanlearning
Vulkan Learning!
https://github.com/piras314/vulkanlearning
c cpp glsl vulkan vulkan-graphics
Last synced: about 2 months ago
JSON representation
Vulkan Learning!
- Host: GitHub
- URL: https://github.com/piras314/vulkanlearning
- Owner: Piras314
- License: gpl-3.0
- Created: 2022-04-23T12:28:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-24T20:26:41.000Z (about 4 years ago)
- Last Synced: 2025-03-03T08:45:01.270Z (over 1 year ago)
- Topics: c, cpp, glsl, vulkan, vulkan-graphics
- Language: C
- Homepage:
- Size: 1.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VulkanLearning










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"
```