Crates.io | cen |
lib.rs | cen |
version | 0.0.3 |
source | src |
created_at | 2024-10-11 09:07:52.437237 |
updated_at | 2024-10-19 11:38:07.46724 |
description | Vulkan window backend |
homepage | |
repository | https://github.com/angelocarly/cen |
max_upload_size | |
id | 1405097 |
size | 140,971 |
A lightweight vulkan window backend using ash.
Cen aims to provide abstractions around Vulkan handles and window management. Current features include:
Make sure you have the Vulkan SDK installed.
Then build and run cen
examples:
git clone https://github.com/angelocarly/cen.git
cd cen
cargo run --example basic
Renderdoc!
Mac only has XCode's Metal debugger. In order to use it you need to provide the following environment variables:
VULKAN_SDK=$HOME/VulkanSDK/<version>/macOS
DYLD_FALLBACK_LIBRARY_PATH=$VULKAN_SDK/lib
VK_ICD_FILENAMES=$VULKAN_SDK/share/vulkan/icd.d/MoltenVK_icd.json
VK_LAYER_PATH=$VULKAN_SDK/share/vulkan/explicit_layer.d
Then you should be able to launch your cen application and capture a frame.
This video does a nice job explaining the process.