#rendering #shader #pipeline #hlsl #dxc

hassle-rs

This crate provides an FFI layer and idiomatic rust wrappers for the new DXC hlsl compiler

8 releases

✓ Uses Rust 2018 edition

0.1.7 Jan 4, 2019
0.1.6 Dec 15, 2018

#4 in #shader

Download history 82/week @ 2018-12-21 51/week @ 2018-12-28 13/week @ 2019-01-04

50 downloads per month

MIT license Custom license

27KB
620 lines

hassle-rs

Latest version Documentation MIT

This crate provides an FFI layer and idiomatic rust wrappers for the new DirectXShaderCompiler library.

Usage

Add this to your Cargo.toml:

[dependencies]
hassle-rs = "0.1.4"

and add this to your crate root:

extern crate hassle;

Then acquire dxcompiler.dll directly from AppVeyor or compile it from source according to the instructions in the DirectXShaderCompiler GitHub repository and make sure it's in the executable enviroment.

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, shall be licensed as above, without any additional terms or conditions.

Contributions are always welcome; please look at the issue tracker to see what known improvements are documented.

Dependencies

~701KB