vulkano/examples
Rua fa15e53820
Validate the fragment output against color blend state (#2420)
* Validate the fragment output against color blend state

* Remove old methods from render/subpass that are no longer needed

* Better fix

* Update vulkano/src/macros.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

* Update vulkano/src/pipeline/graphics/mod.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-12-07 18:13:08 +01:00
..
async-update Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
basic-compute-shader Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
buffer-allocator Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
clear-attachments Command buffer allocator API 2.0 (#2403) 2023-11-14 17:57:43 +01:00
debug Remove license notices from source files (#2401) 2023-11-08 13:49:49 +01:00
deferred Validate the fragment output against color blend state (#2420) 2023-12-07 18:13:08 +01:00
dynamic-buffers Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
dynamic-local-size Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
gl-interop Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
image Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
image-self-copy-blit Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
immutable-sampler Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
indirect Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
instancing Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
interactive-fractal Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
msaa-renderpass Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
multi-window Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
multi-window-game-of-life Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
multiview Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
occlusion-query Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
pipeline-caching Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
push-constants Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
push-descriptors Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
runtime-array Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
runtime-shader Command buffer allocator API 2.0 (#2403) 2023-11-14 17:57:43 +01:00
self-copy-buffer Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
shader-include Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +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 Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
simple-particles Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
specialization-constants Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
teapot Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
tessellation Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
texture-array Remove the command buffer traits (#2419) 2023-12-06 17:23:24 +01:00
triangle Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +01:00
triangle-v1_3 Add vulkano macros feature to examples that needs it (#2408) 2023-11-16 17:07:28 +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.