mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-21 22:34:43 +00:00
def21843fc
* Move resource tracking/locking back from Queue to futures * Add partially validated `submit` command * Add partially validated `present` command * More safety docs * Small doc change * Add SemaphorePresentInfo * Put safety docs in the semaphore/fence modules instead * More fence and semaphore docs * Re-add missing imports * Remove state tracking from Fence * Remove state tracking from Semaphore |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
readme.md | ||
run_all.sh |
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. | |
2. Select click on the tags tab. | |
3. Click on the desired version. | |
4. After selecting it should look like this. |
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.