#[repr(C)]pub struct MemoryAllocateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub allocation_size: u64,
pub memory_type_index: u32,
}Expand description
VkMemoryAllocateInfo
Provided by VK_BASE_VERSION_1_0.
§Extended By
DedicatedAllocationMemoryAllocateInfoNVExportMemoryAllocateInfoExportMemoryAllocateInfoNVExportMemorySciBufInfoNVExportMemoryWin32HandleInfoKHRExportMemoryWin32HandleInfoNVExportMetalObjectCreateInfoEXTImportAndroidHardwareBufferInfoANDROIDImportMemoryBufferCollectionFUCHSIAImportMemoryFdInfoKHRImportMemoryHostPointerInfoEXTImportMemoryMetalHandleInfoEXTImportMemorySciBufInfoNVImportMemoryWin32HandleInfoKHRImportMemoryWin32HandleInfoNVImportMemoryZirconHandleInfoFUCHSIAImportMetalBufferInfoEXTImportNativeBufferInfoOHOSImportScreenBufferInfoQNXMemoryAllocateFlagsInfoMemoryDedicatedAllocateInfoMemoryDedicatedAllocateInfoTensorARMMemoryOpaqueCaptureAddressAllocateInfoMemoryPriorityAllocateInfoEXT
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO.
p_next: *const c_voidOptional, may be null.
allocation_size: u64§memory_type_index: u32Implementations§
Source§impl MemoryAllocateInfo
impl MemoryAllocateInfo
Sourcepub fn builder<'a>() -> MemoryAllocateInfoBuilder<'a>
pub fn builder<'a>() -> MemoryAllocateInfoBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for MemoryAllocateInfo
impl Clone for MemoryAllocateInfo
Source§fn clone(&self) -> MemoryAllocateInfo
fn clone(&self) -> MemoryAllocateInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryAllocateInfo
impl Debug for MemoryAllocateInfo
Source§impl Default for MemoryAllocateInfo
impl Default for MemoryAllocateInfo
impl Copy for MemoryAllocateInfo
Auto Trait Implementations§
impl Freeze for MemoryAllocateInfo
impl RefUnwindSafe for MemoryAllocateInfo
impl !Send for MemoryAllocateInfo
impl !Sync for MemoryAllocateInfo
impl Unpin for MemoryAllocateInfo
impl UnsafeUnpin for MemoryAllocateInfo
impl UnwindSafe for MemoryAllocateInfo
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