RAII helpers for ash
ashpan
makes it easier to properly clean
up ash
resources when failures occur. It's
essentially a scopeguard
that has been
tailored to Vulkan.
```rust use ashpan::{DeviceExt, Guarded};
struct Resources { ... }
unsafe fn createresources(device: &ash::Device) -> VkResult
unsafe fn createrenderpass(device: &ash::Device) -> VkResult
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.