vulkan_lib/vma-rs/src/allocator_pool.rs
2023-01-14 13:03:01 +01:00

15 lines
269 B
Rust

use crate::vma_bindings::*;
#[derive(Debug, Clone)]
pub struct AllocatorPool {
pool: VmaPool,
}
unsafe impl Send for AllocatorPool {}
unsafe impl Sync for AllocatorPool {}
impl AllocatorPool {
pub(crate) fn pool(&self) -> VmaPool {
self.pool
}
}