| Crates.io | asche |
| lib.rs | asche |
| version | 2.0.0 |
| created_at | 2021-03-31 08:43:44.312627+00 |
| updated_at | 2021-07-28 11:13:01.826987+00 |
| description | Provides an abstraction layer above erupt to easier use Vulkan in Rust. |
| homepage | |
| repository | https://github.com/hasenbanck/asche |
| max_upload_size | |
| id | 376058 |
| size | 2,063,598 |
Provides an abstraction layer above erupt to easier use Vulkan in Rust. Mainly handles the Vulkan busywork (device initialization, memory handling etc.) and the lifetimes of objects.
No validation and a lot of pain. Lifetimes are not fully tracked, so you need to pay attention when to drop which resource to avoid UB (check the validation layer).
You most likely want to use wgpu-rs instead!
Vulkan 1.2+ driver.
tracing Adds logging using tracing.profiling Adds support for profiling.vk-buffer-device-address Uses the buffer device address Vulkan feature. Mainly useful when using
the raytracing extension.tracing and vk-buffer-device-address are enabled by default.
Examples are provided.
Most simple example that shows how to draw a triangle in Vulkan.

Shows how to use push constants, vertex and index buffers and also compressed textures.

Uses the VK_raytracing_KHR extension to fully ray trace a simple scene. Shows how to initialize
and use acceleration structures (triangle based), create and use the shader binding table (SBT), use
descriptor indexing with non uniform indexes and partial binds, write raytracing shader and do very
basic lightning.

Simple compute example.
Licensed under MIT or Apache-2.0 or ZLIB.