spirv_headers 1.1.4

Rust definition of SPIR-V structs and enums
Documentation

spirv-headers of the rspirv project

Crate Documentation

The headers crate for the rspirv project which provides Rust definitions of SPIR-V structs, enums, and constants.

Usage

This project uses custom derive, which became available in the stable channel since 1.15. So to compile with a compiler from the stable channel, please make sure that the version is >= 1.15.

First add to your Cargo.toml:

[dependencies]
rspirv_headers = "1.1"

Then add to your crate root:

extern crate spirv_headers;

Examples

Please see the documentation and project'sx README for examples.