Structures

VkDisplayModeParametersKHR

Structure describing display parameters associated with a display mode

The VkDisplayModeParametersKHR structure is defined as:

typedef struct VkDisplayModeParametersKHR {
    VkExtent2D visibleRegion;
    uint32_t refreshRate;
} VkDisplayModeParametersKHR;
  • visibleRegion is the 2D extents of the visible region.
  • refreshRate is a uint32_t that is the number of times the display is refreshed each second multiplied by 1000.

For example, a 60Hz display mode would report a refreshRate of 60,000.

Valid Usage

VUID-VkDisplayModeParametersKHR-width-01990

The width member of visibleRegion must be greater than 0

VUID-VkDisplayModeParametersKHR-height-01991

The height member of visibleRegion must be greater than 0

VUID-VkDisplayModeParametersKHR-refreshRate-01992

refreshRate must be greater than 0