vk14
Vulkan 1.4 wrapper for Nim.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Passing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install vk14
choosenim install vk14
git clone https://github.com/treeform/vk14
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| vk14 | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/treeform/vk14 |
|---|---|
| Homepage | https://github.com/treeform/vk14 |
| Documentation | View Documentation |
| Registry Source | nimble_official |
README

vk14 - Vulkan 1.4 wrapper for Nim.
nimby install vk14
About
Auto-generated Vulkan 1.4 bindings for Nim. Downloads the official Khronos
vk.xml registry and generates typed Nim bindings with a modular file layout.
Includes a high-level context helper and six working examples.
The core library does not require windy. The package surface under src/
is window-library agnostic. The examples in examples/ still use windy for
window creation and input handling.
AI disclaimer: Much of this library was AI generated.
Examples
| Example | What it tests |
|---|---|
basic_screen |
Device init, swap chain, clear color, present |
basic_triangle |
Vertex buffers, shader modules, graphics pipeline, draw calls |
basic_quad |
Texture loading, descriptor sets, sampler, image upload |
basic_cube |
3D transforms, depth buffer, MSAA, push constants, mip-mapped textures |
sprite_sheet |
Sprite batching, dynamic vertex buffers, texture atlas |
viewer_obj |
OBJ model loading, smooth normals, orbit camera, lighting shaders |
basic_screen
basic_triangle
basic_quad
basic_cube
sprite_sheet
viewer_obj
Regenerating bindings
nim r -d:ssl tools/download_xml.nim
nim r tools/generate_api.nim




