Function Prototype
vkGetPhysicalDeviceDisplayPlaneProperties2KHR
Query information about the available display planes.
To query the properties of a device’s display planes, call:
VkResult vkGetPhysicalDeviceDisplayPlaneProperties2KHR(
VkPhysicalDevice physicalDevice,
uint32_t* pPropertyCount,
VkDisplayPlaneProperties2KHR* pProperties);
pub fn get_physical_device_display_plane_properties2_khr(
physical_device: vk::PhysicalDevice,
p_property_count: *mut u32,
p_properties: *mut vk::DisplayPlaneProperties2KHR,
) -> vk::Result;
physicalDeviceis a physical device.pPropertyCountis a pointer to an integer related to the number of display planes available or queried, as described below.pPropertiesis eitherNULLor a pointer to an array ofVkDisplayPlaneProperties2KHRstructures.
vkGetPhysicalDeviceDisplayPlaneProperties2KHR behaves similarly to
vkGetPhysicalDeviceDisplayPlanePropertiesKHR, with the ability to
return extended information via chained output structures.
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceDisplayPlaneProperties2KHR-physicalDevice-parameter
physicalDevice must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceDisplayPlaneProperties2KHR-pPropertyCount-parameter
pPropertyCount must be a valid pointer to a uint32_t value
VUID-vkGetPhysicalDeviceDisplayPlaneProperties2KHR-pProperties-parameter
If the value referenced by pPropertyCount is not 0, and pProperties is not NULL, pProperties must be a valid pointer to an array of pPropertyCount VkDisplayPlaneProperties2KHR structures
Type
Function Prototype
Return Values
VK_SUCCESS
VK_INCOMPLETE
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_UNKNOWN
VK_ERROR_VALIDATION_FAILED