Skip to content

A foundational project for rendering with ash/vulkan, eventually meant to be a good starting place for an abstracted rendering engine

Notifications You must be signed in to change notification settings

wizebin/ash-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ash-Base

This project is based on and further refined from several ash and general vulkan examples:

demo gif

Warning

This project is very young, my understanding of vulkan and general gpu interaction is still growing, this project is quite inefficient so use it at your own risk.

Debugging in VSCode

On MacOS, you may find that debugging fails because the rpath is missing libvulkan.1.dylib. You can fix this by creating a symlink to the Vulkan SDK directory library, change the version to the version you have installed.

ln -s ~/VulkanSDK/1.3.275.0/macOS/lib/libvulkan.1.3.275.dylib target/debug/libvulkan.1.dylib

Running

run with the typical cargo run command

cargo run

Live Reloading

You can run this command for a "live reload" style

Install cargo-watch with cargo install cargo-watch

RUST_BACKTRACE=1 ALWAYS_ON_TOP=1 VULKAN_DEBUG=1 cargo-watch -x run

Flamegraph

sudo -E zsh -ic "cargo flamegraph --freq 1994"

About

A foundational project for rendering with ash/vulkan, eventually meant to be a good starting place for an abstracted rendering engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published