pub struct PhysicalDeviceMemoryPropertiesBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn memory_type_count(
self,
memory_type_count: u32
) -> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn memory_types(
self,
memory_types: [MemoryType; 32]
) -> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn memory_heap_count(
self,
memory_heap_count: u32
) -> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn memory_heaps(
self,
memory_heaps: [MemoryHeap; 16]
) -> PhysicalDeviceMemoryPropertiesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceMemoryProperties
pub fn build(self) -> PhysicalDeviceMemoryProperties
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceMemoryPropertiesBuilder<'a>
§type Target = PhysicalDeviceMemoryProperties
type Target = PhysicalDeviceMemoryProperties
The resulting type after dereferencing.