vulkan.cr

Vulkan bindings to Crystal

vulkan.cr

Vulkan bindings to Crystal.

Current Vulkan version: 1.1.101.0

Installation

  1. Add the dependency to your shard.yml:

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

  3. 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

  1. Fork it (https://github.com/malte-v/vulkan.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

See also

  • vez.cr - V-EZ bindings to Crystal
  • vma.cr - VulkanMemoryAllocator bindings to Crystal
Repository

vulkan.cr

Owner
Statistic
  • 7
  • 1
  • 1
  • 2
  • 0
  • about 3 years ago
  • March 5, 2019
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 23:37:51 GMT

Languages