wgpu-crystal
Bindings to gfx-rs/wgpu-native for the Crystal programming language.
Installation
-
Add the dependency to your
shard.yml
:dependencies: wgpu: github: chances/wgpu-crystal
-
Run
shards install
Usage
require "wgpu"
# TODO: Write usage instructions here
See the wgpu-native Usage instructions.
Development
TODO Write development instructions here
Running examples
Headless
make example-headless
Headless Triangle
make example-triangle
Windowed Triangle
TODO Add a windowed example
Ensure glfw3 is installed.
make example-glfw-triangle
Contributing
- Fork it (https://github.com/chances/wgpu-crystal/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
- Chance Snow - creator and maintainer