Struct vma::AllocatorCreateInfo
source · pub struct AllocatorCreateInfo<'a> { /* private fields */ }
Implementations§
source§impl<'a> AllocatorCreateInfo<'a>
impl<'a> AllocatorCreateInfo<'a>
pub fn new( instance: &'a Instance, device: &'a Device, physical_device: PhysicalDevice ) -> AllocatorCreateInfo<'a>
pub fn preferred_large_heap_block_size(self, size: u64) -> Self
pub fn flags(self, flags: AllocatorCreateFlags) -> Self
pub fn heap_size_limit(self, device_sizes: &'a [DeviceSize]) -> Self
pub fn allocation_callback(self, allocation: &'a AllocationCallbacks) -> Self
pub fn vulkan_api_version(self, version: u32) -> Self
pub fn external_memory_handles( self, external_memory_handles: &'a [ExternalMemoryHandleTypeFlagsKHR] ) -> Self
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AllocatorCreateInfo<'a>
impl<'a> !Send for AllocatorCreateInfo<'a>
impl<'a> !Sync for AllocatorCreateInfo<'a>
impl<'a> Unpin for AllocatorCreateInfo<'a>
impl<'a> UnwindSafe for AllocatorCreateInfo<'a>
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