/racket-vulkan

Racket integration with all things Vulkan :boom:

Primary LanguageRacketMIT LicenseMIT

License: MIT Scribble

Racket + Vulkan® = awesome

Vulkan® API integration and utilities for Racket.

Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.

What you get

  • Faithful replication of the raw Vulkan API
  • Opt-in safety and conveniences
  • Powerful code generators that target any vk.xml
  • Vulkan 1.2 support, and the means to adapt to future specs
  • All platform bindings exposed

Quick start

$ raco pkg install vulkan
$ ravk generate unsafe > unsafe.rkt

This generates Racket bindings using the local vk.xml mirror that comes with the package. From here, you can (require "unsafe.rkt") and use Vulkan from the dependent module according to the manual.