vulkano/examples
Lucas Kent 494a0c30c8
vulkano-shaders - proc macros 2.0 (#1062)
* vulkano_shaders_derive exposes a proc_macro instead of a proc_macro_derive
* move vulkano_shader out of vulkano_shaders_derive and deprecate vulkano_shaders_derive
* Update documentation
* Move vulkano_shader! to root of mod, so it works with rust 1.30
2018-10-26 11:15:33 +11:00
..
src vulkano-shaders - proc macros 2.0 (#1062) 2018-10-26 11:15:33 +11:00
Cargo.toml vulkano-shaders - proc macros 2.0 (#1062) 2018-10-26 11:15:33 +11:00
readme.md Copy examples from example repo (#1023) 2018-08-30 11:37:51 +10:00

Examples

These examples use unreleased functionality of vulkano. For a snapshot of the examples at the latest vulkano release take a look at the examples repository

Running the examples:

cargo run --bin <example>

Example:

cargo run --bin triangle

If you want to compare performances with other libraries, you should pass the --release flag as well. Rust is pretty slow in debug mode.