vulkano/examples
Lucas Kent 3fe7fc4495
Move shaders back that were supposed to be defined in the middle of main() { } (#1097)
They were initially moved because rust currently doesnt support
function-like proc macros in a function, but now they are wrapped in a
mod anyway.
2018-10-28 18:29:41 +11:00
..
src Move shaders back that were supposed to be defined in the middle of main() { } (#1097) 2018-10-28 18:29:41 +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.