Crates.io | spirv-reflect |
lib.rs | spirv-reflect |
version | 0.2.3 |
source | src |
created_at | 2018-11-20 19:46:05.892056 |
updated_at | 2019-11-03 21:19:55.017944 |
description | Reflection API in rust for SPIR-V shader byte code, intended for Vulkan applications. |
homepage | https://github.com/gwihlidal/spirv-reflect-rs |
repository | https://github.com/gwihlidal/spirv-reflect-rs |
max_upload_size | |
id | 97813 |
size | 500,175 |
Reflection API in rust for SPIR-V shader byte code, intended for Vulkan applications.
This crate provides an FFI layer and idiomatic rust wrappers for the excellent SPIRV-Reflect C/C++ library.
Add this to your Cargo.toml
:
[dependencies]
spirv-reflect = "0.2.3"
and add this to your crate root:
extern crate spirv_reflect;
Currently there is only a single monolithic demo
example, which shows some usage. A CLI tool is planned that will be useful on its own, and as a clean example of usage patterns.
cargo run --release --example demo
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual 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.
Contribution to the spirv-reflect crate is organized under the terms of the Contributor Covenant, the maintainer of spirv-reflect, @gwihlidal, promises to intervene to uphold that code of conduct.