vulkan
Version, currently master branch1 version
- master branchlatestAug 17, 2021
github.com/malte-v/vulkan.cr
Vulkan bindings to Crystal
8 stars
2 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
vulkan:
github: malte-v/vulkan.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.28.0- License
- MIT
- Author
- Malte Voos
Dependencies
This version declares no dependencies.
README
vulkan.cr
Vulkan bindings to Crystal.
Current Vulkan version: 1.1.101.0
Installation
-
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.
Usage
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.
Contributing
- 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
Contributors
- malte-v - creator and maintainer
See also
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Aug 17, 2021
- Crystal
0.28.0- Indexed
- yes
Dependents
Repository
github.com/malte-v/vulkan.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1