Function Prototype
vkGetDisplayPlaneCapabilities2KHR
Query capabilities of a mode and plane combination
To query the capabilities of a given mode and plane combination, call:
VkResult vkGetDisplayPlaneCapabilities2KHR(
VkPhysicalDevice physicalDevice,
const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo,
VkDisplayPlaneCapabilities2KHR* pCapabilities);
physicalDevice
is the physical device associated withpDisplayPlaneInfo
.pDisplayPlaneInfo
is a pointer to a VkDisplayPlaneInfo2KHR structure describing the plane and mode.pCapabilities
is a pointer to a VkDisplayPlaneCapabilities2KHR structure in which the capabilities are returned.
vkGetDisplayPlaneCapabilities2KHR
behaves similarly to
vkGetDisplayPlaneCapabilitiesKHR, with the ability to specify extended
inputs via chained input structures, and to return extended information via
chained output structures.
Valid Usage (Implicit)
VUID-vkGetDisplayPlaneCapabilities2KHR-physicalDevice-parameter
physicalDevice
must be a valid VkPhysicalDevice handle
VUID-vkGetDisplayPlaneCapabilities2KHR-pDisplayPlaneInfo-parameter
pDisplayPlaneInfo
must be a valid pointer to a valid VkDisplayPlaneInfo2KHR structure
VUID-vkGetDisplayPlaneCapabilities2KHR-pCapabilities-parameter
pCapabilities
must be a valid pointer to a VkDisplayPlaneCapabilities2KHR structure