4 releases (breaking)
| 0.4.0+sdk-1.4.341.0 | Mar 13, 2026 |
|---|---|
| 0.3.0+sdk-1.3.268.0 | Dec 20, 2023 |
| 0.2.0+1.5.4 | Aug 16, 2021 |
| 0.1.0+1.5.4 | Aug 16, 2021 |
| 0.1.0 |
|
#18 in Graphics APIs
1,571,532 downloads per month
Used in 2,938 crates
(8 directly)
255KB
5.5K
SLoC
spirv-headers of the rspirv project
The headers crate for the rspirv project which provides Rust definitions of SPIR-V structs, enums, and constants.
Usage
This project uses associated constants, which became available in the stable channel since 1.20. So to compile with a compiler from the stable channel, please make sure that the version is >= 1.20.
First add to your Cargo.toml:
[dependencies]
spirv = "0.4.0"
Examples
Please see the documentation and project's README for examples.
Dependencies
~235KB