demo_vk/graphics/vulkan/raii/
mod.rs

1//! RAII wrappers for Vulkan objects.
2//!
3//! # Safety
4//!
5//! Wrappers do not track dependencies. The application is responsible for
6//! dropping Vulkan objects in the correct order and synchronizing to prevent
7//! GPU inconsistencies.
8
9mod device;
10mod device_extensions;
11mod device_resources;
12mod instance;
13mod instance_extensions;
14
15pub use self::{
16    device::Device,
17    device_extensions::Swapchain,
18    device_resources::{
19        Buffer, CommandPool, DescriptorPool, DescriptorSetLayout, DeviceMemory,
20        Fence, Framebuffer, Image, ImageView, Pipeline, PipelineLayout,
21        RenderPass, Sampler, Semaphore, ShaderModule,
22    },
23    instance::Instance,
24    instance_extensions::{DebugUtils, Surface},
25};