Struct vk_mem_alloc::AllocatorCreateInfo
source · [−]#[repr(C)]pub struct AllocatorCreateInfo {
pub flags: AllocatorCreateFlags,
pub physical_device: PhysicalDevice,
pub device: Device,
pub preferred_large_heap_block_size: DeviceSize,
pub allocation_callbacks: *const AllocationCallbacks,
pub device_memory_callbacks: *const DeviceMemoryCallbacks,
pub heap_size_limit: *const DeviceSize,
pub vulkan_functions: *const VulkanFunctions,
pub instance: Instance,
pub vulkan_api_version: u32,
pub type_external_memory_handle_types: *const ExternalMemoryHandleTypeFlagsKHR,
}Fields
flags: AllocatorCreateFlagsphysical_device: PhysicalDevicedevice: Devicepreferred_large_heap_block_size: DeviceSizeallocation_callbacks: *const AllocationCallbacksdevice_memory_callbacks: *const DeviceMemoryCallbacksheap_size_limit: *const DeviceSizevulkan_functions: *const VulkanFunctionsinstance: Instancevulkan_api_version: u32type_external_memory_handle_types: *const ExternalMemoryHandleTypeFlagsKHRTrait Implementations
sourceimpl Clone for AllocatorCreateInfo
impl Clone for AllocatorCreateInfo
sourcefn clone(&self) -> AllocatorCreateInfo
fn clone(&self) -> AllocatorCreateInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for AllocatorCreateInfo
impl Default for AllocatorCreateInfo
impl Copy for AllocatorCreateInfo
Auto Trait Implementations
impl RefUnwindSafe for AllocatorCreateInfo
impl !Send for AllocatorCreateInfo
impl !Sync for AllocatorCreateInfo
impl Unpin for AllocatorCreateInfo
impl UnwindSafe for AllocatorCreateInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more