Function Prototype

vkDisplayPowerControlEXT

Set the power state of a display

To set the power state of a display, call:

VkResult vkDisplayPowerControlEXT(
    VkDevice device,
    VkDisplayKHR display,
    const VkDisplayPowerInfoEXT* pDisplayPowerInfo);
  • device is a logical device associated with display.
  • display is the display whose power state is modified.
  • pDisplayPowerInfo is a pointer to a VkDisplayPowerInfoEXT structure specifying the new power state of display.

Valid Usage (Implicit)

VUID-vkDisplayPowerControlEXT-pDisplayPowerInfo-parameter

pDisplayPowerInfo must be a valid pointer to a valid VkDisplayPowerInfoEXT structure

VUID-vkDisplayPowerControlEXT-commonparent

Both of device, and display must have been created, allocated, or retrieved from the same VkPhysicalDevice