vulkano/examples
Rua 847c81bb88
Better feature and device selection in examples (#1614)
* Don't enable any features in examples unless the example requires it

* More elaborate device selection code in the triangle example

* Better device selection for all other examples
2021-06-28 13:24:44 +07:00
..
src Better feature and device selection in examples (#1614) 2021-06-28 13:24:44 +07:00
Cargo.toml Update winit to 0.25 (#1586) 2021-05-23 23:37:01 +07:00
readme.md Copy examples from example repo (#1023) 2018-08-30 11:37:51 +10:00
run_all.sh Add script to run all examples (#1519) 2021-03-29 22:22:33 +07: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.