pub struct MemoryPool { /* private fields */ }Implementations§
Source§impl MemoryPool
impl MemoryPool
pub fn new( memory_allocator: Arc<MemoryAllocator>, properties: MemoryPoolPropeties, ) -> VkResult<Self>
pub unsafe fn new_from_create_info( memory_allocator: Arc<MemoryAllocator>, create_info: &PoolCreateInfo<'_>, ) -> VkResult<Self>
Sourcepub fn inner(&self) -> &AllocatorPool
pub fn inner(&self) -> &AllocatorPool
Access the bort_vma::AllocatorPool struct that self contains. Allows you to access pool-related
vma related functions.
pub fn properties(&self) -> MemoryPoolPropeties
Trait Implementations§
Source§impl AllocatorAccess for MemoryPool
impl AllocatorAccess for MemoryPool
Auto Trait Implementations§
impl Freeze for MemoryPool
impl RefUnwindSafe for MemoryPool
impl Send for MemoryPool
impl Sync for MemoryPool
impl Unpin for MemoryPool
impl UnwindSafe for MemoryPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more