Function Prototype
vkGetPhysicalDeviceMemoryProperties2
Reports memory information for the specified physical device
To query memory properties, call:
void vkGetPhysicalDeviceMemoryProperties2(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceMemoryProperties2* pMemoryProperties);
pub fn get_physical_device_memory_properties2(
physical_device: vk::PhysicalDevice,
p_memory_properties: *mut vk::PhysicalDeviceMemoryProperties2,
);
void vkGetPhysicalDeviceMemoryProperties2KHR(
VkPhysicalDevice physicalDevice,
VkPhysicalDeviceMemoryProperties2* pMemoryProperties);
pub fn get_physical_device_memory_properties2_khr(
physical_device: vk::PhysicalDevice,
p_memory_properties: *mut vk::PhysicalDeviceMemoryProperties2,
);
physicalDeviceis the handle to the device to query.pMemoryPropertiesis a pointer to a VkPhysicalDeviceMemoryProperties2 structure in which the properties are returned.
vkGetPhysicalDeviceMemoryProperties2 behaves similarly to
vkGetPhysicalDeviceMemoryProperties, with the ability to return
extended information in a pNext chain of output structures.
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceMemoryProperties2-physicalDevice-parameter
physicalDevice must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceMemoryProperties2-pMemoryProperties-parameter
pMemoryProperties must be a valid pointer to a VkPhysicalDeviceMemoryProperties2 structure
Parent
VK_VERSION_1_1Type
Function Prototype