vulkano/examples
2024-11-04 11:49:41 +01:00
..
async-update Improve DeviceLayout convenience (#2599) 2024-11-04 11:49:41 +01:00
basic-compute-shader Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
bloom Improve DeviceLayout convenience (#2599) 2024-11-04 11:49:41 +01:00
buffer-allocator Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
clear-attachments Revert #2421, rename Raw[Recording]CommandBufer again and move them (#2582) 2024-10-19 14:13:15 +02:00
debug Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
deferred Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
dynamic-buffers Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
dynamic-local-size Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
gl-interop Revert making Raw{Buffer,Image}::bind_memory unsafe (#2595) 2024-10-30 16:22:55 +01:00
image Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
image-self-copy-blit Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
immutable-sampler Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
indirect Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
instancing Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
interactive-fractal Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
mesh-shader Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
msaa-renderpass Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
multi-window Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
multi-window-game-of-life Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
multiview Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
occlusion-query Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
offscreen Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
pipeline-caching Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
push-constants Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
push-descriptors Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
runtime-array Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
runtime-shader Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
self-copy-buffer Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
shader-include Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
shader-types-derive Add PhysicalDevice::presentation_support (#2562) 2024-09-11 17:02:27 +02:00
shader-types-sharing Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
simple-particles Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
specialization-constants Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
teapot Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
tessellation Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
texture-array Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
triangle Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
triangle-util Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +02:00
triangle-v1_3 Minimise unsafe block size, in examples (#2591) 2024-10-23 12:07:00 +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.