| Crates.io | cen |
| lib.rs | cen |
| version | 0.0.10 |
| created_at | 2024-10-11 09:07:52.437237+00 |
| updated_at | 2025-10-25 20:47:12.105628+00 |
| description | Vulkan window backend |
| homepage | |
| repository | https://github.com/n-e-l/cen |
| max_upload_size | |
| id | 1405097 |
| size | 247,922 |
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.