=== Display Control

// refBegin vkDisplayPowerControlEXT Set the power state of a display

To set the power state of a display, call:

include::../../api/protos/vkDisplayPowerControlEXT.txt[]

  * pname:device is a logical device associated with pname:display.
  * pname:display is the display whose power state is modified.
  * pname:pDisplayPowerInfo is an instance of slink:VkDisplayPowerInfoEXT
    specifying the new power state of pname:display.

include::../../validity/protos/vkDisplayPowerControlEXT.txt[]

// refBegin VkDisplayPowerInfoEXT Describe the power state of a display

The sname:VkDisplayPowerInfoEXT structure is defined as:

include::../../api/structs/VkDisplayPowerInfoEXT.txt[]

  * pname:sType is the type of this structure.
  * pname:pNext is `NULL` or a pointer to an extension-specific structure.
  * pname:powerState is the new power state of the display.
    Possible values are:
+
--
// refBegin VkDisplayPowerStateEXT Possible power states for a VkDisplay
include::../../api/enums/VkDisplayPowerStateEXT.txt[]

  ** ename:VK_DISPLAY_POWER_STATE_OFF_EXT means the display is powered down.
  ** ename:VK_DISPLAY_POWER_STATE_SUSPEND_EXT means the display is in a low
     power mode, but may: be able to transition back to
     ename:VK_DISPLAY_POWER_STATE_ON_EXT more quickly than if it were in
     ename:VK_DISPLAY_POWER_STATE_OFF_EXT.
     This state may: be the same as ename:VK_DISPLAY_POWER_STATE_OFF_EXT.
  ** ename:VK_DISPLAY_POWER_STATE_ON_EXT is powered on.
--

include::../../validity/structs/VkDisplayPowerInfoEXT.txt[]
