Vulkan bindings to Crystal.
Current Vulkan version: 1.1.101.0
-
Add the dependency to your
shard.yml
:dependencies: vulkan: github: malte-v/vulkan.cr
-
Run
shards install
-
Make sure the Vulkan library is in your PATH.
require "vulkan"
All the functions, structs, enums etc. are located inside lib Vk
.
module Vx
contains wrapper functions for Vulkan extensions so you never have to call vkGetInstanceProcAddr again. Note that structs, enums etc. related to extensions are still in lib Vk
.
- Fork it (https://github.com/malte-v/vulkan.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- malte-v - creator and maintainer