Class VkDisplayModeParametersKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkDisplayModeParametersKHR
    extends Struct
    implements NativeResource
    Structure describing display parameters associated with a display mode.
    Description
    Note

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

    Valid Usage
    • The width member of visibleRegion must be greater than 0
    • The height member of visibleRegion must be greater than 0
    • refreshRate must be greater than 0
    See Also

    VkDisplayModeCreateInfoKHR, VkDisplayModePropertiesKHR, VkExtent2D

    Member documentation

    • visibleRegion – the 2D extents of the visible region.
    • refreshRate – a uint32_t that is the number of times the display is refreshed each second multiplied by 1000.

    Layout

    
     struct VkDisplayModeParametersKHR {
         VkExtent2D visibleRegion;
         uint32_t refreshRate;
     }