C Specification
To set the power state of a display, call:
// Provided by VK_EXT_display_control
VkResult vkDisplayPowerControlEXT(
VkDevice device,
VkDisplayKHR display,
const VkDisplayPowerInfoEXT* pDisplayPowerInfo);
Parameters
-
deviceis a logical device associated withdisplay. -
displayis the display whose power state is modified. -
pDisplayPowerInfois a pointer to a VkDisplayPowerInfoEXT structure specifying the new power state ofdisplay.
Document Notes
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.