mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-27 06:23:31 +00:00

* Update PR template * Rename queue to queue_family * Add examples readme * Use the same image output filename * Move existing examples with multiple files into their own folder * Improve error message when running runtime-shader in the wrong directory
20 lines
470 B
Markdown
20 lines
470 B
Markdown
# 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](https://github.com/vulkano-rs/vulkano-examples)
|
|
|
|
## Running the examples:
|
|
|
|
```sh
|
|
cargo run --bin <example>
|
|
```
|
|
|
|
## Example:
|
|
|
|
```sh
|
|
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.
|