vma

Version, currently master branch1 version
  • master branchlatestApr 21, 2019

github.com/malte-v/vma.cr

VulkanMemoryAllocator bindings to Crystal.

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  vma:
    github: malte-v/vma.cr
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.28.0
License
MIT
Author
Malte Voos

Dependencies

Runtime Dependencies

  • vulkan*github: malte-v/vulkan.cr

README

vma.cr

VulkanMemoryAllocator bindings to Crystal.

Current VulkanMemoryAllocator version: 2.2.0

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      vma:
        github: malte-v/vma.cr
  2. Run shards install

  3. (Optional) Run cc -c src/wrapper.cpp -o bin/vma.o from the root of this repo to compile VMA yourself.

  4. Make sure the Vulkan library is in your PATH.

Usage

require "vma"

All the functions, structs, enums etc. are located inside lib Vma.

Contributing

  1. Fork it (https://github.com/malte-v/vma.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors