github.com/malte-v/vma.cr
master / published Apr 21, 2019 / repository
VulkanMemoryAllocator bindings to Crystal.
vma.cr
VulkanMemoryAllocator bindings to Crystal.
Current VulkanMemoryAllocator version: 2.2.0
Installation
-
Add the dependency to your
shard.yml:dependencies: vma: github: malte-v/vma.cr -
Run
shards install -
(Optional) Run
cc -c src/wrapper.cpp -o bin/vma.ofrom the root of this repo to compile VMA yourself. -
Make sure the Vulkan library is in your PATH.
Usage
require "vma"
All the functions, structs, enums etc. are located inside lib Vma.
Contributing
- Fork it (https://github.com/malte-v/vma.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
API
This version publishes no documented types.