vulkan_lib/vma-rs/src/allocator_pool.rs

16 lines
269 B
Rust
Raw Normal View History

2023-01-14 12:03:01 +00:00
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
}
}