Skip to content

Zwergpro/vulkanlearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulkanlearn

A small learning project using Zig and Vulkan (with GLFW) to explore the basics of creating a Vulkan instance, selecting devices/queues, and opening a window.

Prerequisites

  • Zig 0.15.1 or newer
  • Vulkan SDK installed and available on your system
    • macOS uses MoltenVK (included in the Vulkan SDK)

Build

zig build

Run

zig build run

Setting up the Vulkan SDK

macOS

Docs

export VULKAN_SDK="$HOME/VulkanSDK/1.3.x.x/macOS"
export PATH="$PATH:$VULKAN_SDK/bin"
export DYLD_LIBRARY_PATH="$VULKAN_SDK/lib:${DYLD_LIBRARY_PATH:-}"

Notes

  • This is a personal learning project; things may change frequently.

About

A small learning project using Zig and Vulkan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages