vulkano/examples
marc0246 1e9128795f
Workspace dependencies (#2381)
* Use workspace dependencies

* Update CI workflow to account for the two workspaces

* Make the tables in the root workspace a bit nicer to look at

* Use workspace package version

* Remove workspace package version

* Make winit a workspace dependency as well
2023-10-29 22:42:00 -05:00
..
async-update Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
basic-compute-shader Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
buffer-allocator Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
clear-attachments Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
debug Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
deferred Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
dynamic-buffers Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
dynamic-local-size Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
gl-interop Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
image Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
image-self-copy-blit Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
immutable-sampler Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
indirect Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
instancing Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
interactive-fractal Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
msaa-renderpass Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
multi-window Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
multi-window-game-of-life Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
multiview Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
occlusion-query Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
pipeline-caching Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
push-constants Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
push-descriptors Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
runtime-array Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
runtime-shader Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
self-copy-buffer Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
shader-include Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
shader-types-derive Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
shader-types-sharing Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
simple-particles Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
specialization-constants Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
teapot Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
tessellation Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
texture-array Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
triangle Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
triangle-v1_3 Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
Cargo.toml Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
README.md Improve the examples' directory structure (#2375) 2023-10-29 18:46:14 +01:00
run_all.sh Improve the examples' directory structure (#2375) 2023-10-29 18:46:14 +01:00

Examples

The examples shown here will not necessarily work for the latest stable release of Vulkano. By default, Github shows the most recent unstable revision, rather than the last stable release. You can switch Github to show the examples for stable releases as follows.

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.