vulkano/examples
2024-03-04 22:58:27 +01:00
..
async-update Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
basic-compute-shader Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
buffer-allocator Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
clear-attachments Merge PrimaryAutoCommandBuffer and SecondaryAutoCommandBuffer into CommandBuffer (#2425) 2023-12-20 13:04:01 +01:00
debug Remove license notices from source files (#2401) 2023-11-08 13:49:49 +01:00
deferred Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
dynamic-buffers Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
dynamic-local-size Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
gl-interop Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
image Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
image-self-copy-blit Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
immutable-sampler Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
indirect Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
instancing Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
interactive-fractal Replace cgmath with glam in the examples (#2475) 2024-02-21 09:30:15 +01:00
mesh-shader Rename Features, Properties to DeviceFeatures, DeviceProperties (#2481) 2024-03-04 17:24:29 +01:00
msaa-renderpass Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
multi-window Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
multi-window-game-of-life Replace cgmath with glam in the examples (#2475) 2024-02-21 09:30:15 +01:00
multiview Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
occlusion-query Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
offscreen Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01: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 Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
runtime-array Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
runtime-shader Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
self-copy-buffer Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
shader-include Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
shader-types-derive Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
shader-types-sharing Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
simple-particles Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
specialization-constants Fix warnings for Rust 1.75 (#2436) 2023-12-28 20:32:13 +01:00
teapot Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
tessellation Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
texture-array Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
triangle Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
triangle-util Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +01:00
triangle-v1_3 Rewrite VertexDefinition (#2487) 2024-03-04 22:58:27 +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.