vulkano/examples
Joseph Micheli e8cf282e51
Documentation todos (#1920)
* Added ImageUsage::transient_input_attachment()

* Address TODOs in examples

* Added actual example to command_buffer module documentation.

* Fixed error in command_buffer example

* Check  max_framebuffer_height/width/layers in AttachmentImage constructors.

* Add detailed explanation for shader! macro to triangle examples
2022-07-13 12:26:47 +02:00
..
src Documentation todos (#1920) 2022-07-13 12:26:47 +02:00
Cargo.toml Vulkano util proposal (#1918) 2022-06-24 17:27:33 +02:00
readme.md Update examples readme 2022-02-23 02:17:35 -06:00
run_all.sh Add script to run all examples (#1519) 2021-03-29 22:22:33 +07:00

Examples

These examples track the current state of master. For version specific examples change the tag to the release you are looking for.

Selecting the version tag:

1. Find the branch/tag selection box and click it. change_tag_1
2. Select click on the tags tab. change_tag_2
3. Click on the desired version. change_tag_3
4. After selecting it should look like this. change_tag_4

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.