#vulkan #toolkit #experimental

yanked vtk

Experimental Vulkan Toolkit

0.1.1 Nov 19, 2023
0.1.0 Nov 19, 2023

#247 in #vulkan

MIT license

245KB
4.5K SLoC

C 3K SLoC // 0.1% comments Objective-C 1K SLoC // 0.1% comments Rust 239 SLoC // 0.1% comments GLSL 189 SLoC // 0.2% comments Batch 70 SLoC Java 19 SLoC C++ 5 SLoC // 0.3% comments

Contains (JAR file, 61KB) gradle-wrapper.jar

vtk - Vulkan Toolkit

A toy library to use Vulkan in Rust.

Using sanitizer

To debug memory issues in the C code - run (see The Rust Unstable Book: sanitizer):

RUSTFLAGS=-Zsanitizer=address cargo +nightly run -Zbuild-std --target aarch64-apple-darwin

Vulkan layer discovery logging

See https://vulkan.org/user/pages/09.events/vulkanised-2023/vulkanised_2023_enhanced_debugging_with_the_vulkan_loader_.pdf - VK_LOADER_DEBUG=all.

Dependencies

~0–3.5MB
~59K SLoC