#[repr(C)]pub struct PhysicalDeviceMemoryProperties {
pub memory_type_count: u32,
pub memory_types: [MemoryType; 32],
pub memory_heap_count: u32,
pub memory_heaps: [MemoryHeap; 16],
}Expand description
Native structure VkPhysicalDeviceMemoryProperties.
Fields§
§memory_type_count: u32Native field memoryTypeCount.
memory_types: [MemoryType; 32]Native field memoryTypes.
memory_heap_count: u32Native field memoryHeapCount.
memory_heaps: [MemoryHeap; 16]Native field memoryHeaps.
Implementations§
Source§impl PhysicalDeviceMemoryProperties
impl PhysicalDeviceMemoryProperties
Sourcepub fn set_memory_type_count(self, value: u32) -> Self
pub fn set_memory_type_count(self, value: u32) -> Self
Set native count memoryTypeCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
Sourcepub fn set_memory_types(self, value: [MemoryType; 32]) -> Self
pub fn set_memory_types(self, value: [MemoryType; 32]) -> Self
Set native field memoryTypes without native effects.
Sourcepub fn set_memory_heap_count(self, value: u32) -> Self
pub fn set_memory_heap_count(self, value: u32) -> Self
Set native count memoryHeapCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
Sourcepub fn set_memory_heaps(self, value: [MemoryHeap; 16]) -> Self
pub fn set_memory_heaps(self, value: [MemoryHeap; 16]) -> Self
Set native field memoryHeaps without native effects.