Images are presented to individual planes on a display. Devices must support at least one plane on each display. Planes can be stacked and blended to composite multiple images on one display. Devices may support only a fixed stacking order and fixed mapping between planes and displays, or they may allow arbitrary application specified stacking orders and mappings between planes and displays. To query the properties of device display planes, call:
// Provided by VK_KHR_display VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties);
physicalDeviceis a physical device.
pPropertyCountis a pointer to an integer related to the number of display planes available or queried, as described below.
NULLor a pointer to an array of
NULL, then the number of display planes available
physicalDevice is returned in
pPropertyCount must point to a variable set by the user to
the number of elements in the
pProperties array, and on return the
variable is overwritten with the number of structures actually written to
If the value of
pPropertyCount is less than the number of display
physicalDevice, at most
will be written.
vkGetPhysicalDeviceDisplayPlanePropertiesKHR must not return
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.