vulkanic

Crates.iovulkanic
lib.rsvulkanic
version0.1.3
sourcesrc
created_at2021-04-20 14:40:43.418669
updated_at2021-05-04 19:16:51.670051
descriptionUltra-thin Vulkan API wrapper sitting on top of vk-sys
homepagehttps://github.com/DaAitch/vulkanic-rs
repositoryhttps://github.com/DaAitch/vulkanic-rs
max_upload_size
id387093
size43,972
Philipp Renoth (DaAitch)

documentation

https://docs.rs/vulkanic

README

vulkanic

Ultra-thin Vulkan API wrapper sitting on top of vk-sys.

Checkout Examples.

Why another Vulkan wrapper?

Vulkan API is a very performant, low-level graphics and computation API. Drawbacks are the complex usage and e.g. a simple "hello world"-triangle with Vulkan has about 1000 lines of code using the the plain vk-sys bindings and that's a lot.

Many resources out there about Vulkan are (still) in C++. It's way easier to adapt C++ examples without any library indirection, so using Vulkan through vulkanic crate will allow you to understand the API reading the official specs.

Other Vulkan wrappers / libraries

  • ash: A very lightweight wrapper around Vulkan.
  • vulkano: A Rust wrapper around the Vulkan graphics API.

vulkanic features

  • adapter for vk-sys ✅
    • vk::EntryPoints
    • vk::InstancePointers
    • vk::DevicePointers
  • fewer unsafes ✅
  • zero-cost adapter ✅
  • no Vulkan allocation-callback utilization ❌
  • no window creation ❌
  • no validatation ❌
  • no builder patterns ❌
  • no Vulkan abstraction ❌
  • no shader compilation ❌
Commit count: 7

cargo fmt