vulkano/examples
Rua 885fbc6a4c
Add Send + Sync requirements to various traits (#1720)
* Remove Send + Sync and BufferAccess traits where they are redundant

* Require Send + Sync for ImageViewAbstract

* Require Send + Sync for ImageAccess, AttachmentsList and MemoryPoolAlloc

* Require Send + Sync for DescriptorSet and DescriptorPoolAlloc

* Require Send + Sync for FramebufferAbstract

* Minor rearranging

* Require Send + Sync for PrimaryCommandBuffer, SecondaryCommandBuffer and CommandPoolAlloc

* Require Send + Sync for Command (private trait)

* Cargo fmt
2021-09-29 12:00:56 -05:00
..
src Add Send + Sync requirements to various traits (#1720) 2021-09-29 12:00:56 -05:00
Cargo.toml Add an interactive fractal example (#1707) 2021-09-13 22:14:54 +07:00
readme.md Copy examples from example repo (#1023) 2018-08-30 11:37:51 +10:00
run_all.sh Add script to run all examples (#1519) 2021-03-29 22:22:33 +07:00

Examples

These examples use unreleased functionality of vulkano. For a snapshot of the examples at the latest vulkano release take a look at the examples repository

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.