vulkano/examples
marc0246 4a77d39b85
Update dependencies (#2385)
* Update winit

* Update raw-window-handle

* Update syn

* Remove vulkano-win from the workspace
2023-10-31 18:47:17 +01:00
..
async-update Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
basic-compute-shader Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
buffer-allocator Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
clear-attachments Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
debug Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
deferred Update dependencies (#2385) 2023-10-31 18:47:17 +01: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 Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
image Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
image-self-copy-blit Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
immutable-sampler Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
indirect Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
instancing Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
interactive-fractal Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
msaa-renderpass Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
multi-window Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
multi-window-game-of-life Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
multiview Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
occlusion-query Update dependencies (#2385) 2023-10-31 18:47:17 +01: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 Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
runtime-array Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
runtime-shader Update dependencies (#2385) 2023-10-31 18:47:17 +01: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 Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
specialization-constants Workspace dependencies (#2381) 2023-10-29 22:42:00 -05:00
teapot Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
tessellation Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
texture-array Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
triangle Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
triangle-v1_3 Update dependencies (#2385) 2023-10-31 18:47:17 +01:00
Cargo.toml Update dependencies (#2385) 2023-10-31 18:47:17 +01: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.