vulkano/examples
grego 252329cbf3
vulkano-util: do not pull the default winit features (#2533)
This allows a downstream user to set which winit features to use, possibly
sparing a lot of dependencies from being pulled and compiled.

Co-authored-by: Rua <ruawhitepaw@gmail.com>
2024-06-30 15:23:19 +02:00
..
async-update vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
basic-compute-shader Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
buffer-allocator vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
clear-attachments vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
debug Code cleanup (#2497) 2024-03-13 17:37:28 +01:00
deferred vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
dynamic-buffers Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
dynamic-local-size Fix typos and introduce a workflow (#2537) 2024-06-30 13:19:35 +02:00
gl-interop vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
image vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
image-self-copy-blit vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
immutable-sampler vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
indirect vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
instancing vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
interactive-fractal vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
mesh-shader vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
msaa-renderpass Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
multi-window vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
multi-window-game-of-life vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
multiview Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
occlusion-query vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
offscreen vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
pipeline-caching Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
push-constants Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
push-descriptors vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
runtime-array vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
runtime-shader vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
self-copy-buffer Fix typos and introduce a workflow (#2537) 2024-06-30 13:19:35 +02:00
shader-include Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
shader-types-derive vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
shader-types-sharing Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
simple-particles vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
specialization-constants Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
teapot vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
tessellation vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
texture-array vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
triangle vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
triangle-util vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +02:00
triangle-v1_3 vulkano-util: do not pull the default winit features (#2533) 2024-06-30 15:23:19 +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.