vulkano/examples
marc0246 f6bc05df94
Update dependencies (#2571)
* Update dependencies

* fmt
2024-10-10 12:16:14 +02:00
..
async-update Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
basic-compute-shader Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
bloom Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
buffer-allocator Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
clear-attachments Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
debug Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
deferred Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
dynamic-buffers Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
dynamic-local-size Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
gl-interop Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
image Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
image-self-copy-blit Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
immutable-sampler Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
indirect Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
instancing Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
interactive-fractal Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
mesh-shader Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
msaa-renderpass Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
multi-window Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
multi-window-game-of-life Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
multiview Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
occlusion-query Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
offscreen Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
pipeline-caching Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
push-constants Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
push-descriptors Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
runtime-array Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
runtime-shader Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
self-copy-buffer Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-include Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-types-derive Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-types-sharing Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
simple-particles Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
specialization-constants Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
teapot Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
tessellation Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
texture-array Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
triangle Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
triangle-util Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
triangle-v1_3 Update dependencies (#2571) 2024-10-10 12:16:14 +02:00
README.md Fix typos and introduce a workflow (#2537) 2024-06-30 13:19:35 +02: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.