Class EXTDirectModeDisplay


  • public class EXTDirectModeDisplay
    extends java.lang.Object
    This is extension, along with related platform exentions, allows applications to take exclusive control of displays associated with a native windowing system. This is especially useful for virtual reality applications that wish to hide HMDs (head mounted displays) from the native platform's display management system, desktop, and/or other applications.
    Name String
    VK_EXT_direct_mode_display
    Extension Type
    Instance extension
    Registered Extension Number
    89
    Revision
    1
    Extension and Version Dependencies
    Contact
    Last Modified Date
    2016-12-13
    IP Status
    No known IP claims.
    Contributors
    • Pierre Boudier, NVIDIA
    • James Jones, NVIDIA
    • Damien Leone, NVIDIA
    • Pierre-Loup Griffais, Valve
    • Liam Middlebrook, NVIDIA
    • Field Detail

      • VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION

        public static final int VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION
        The extension specification version.
        See Also:
        Constant Field Values
      • VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME

        public static final java.lang.String VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME
        The extension name.
        See Also:
        Constant Field Values
    • Method Detail

      • vkReleaseDisplayEXT

        public static int vkReleaseDisplayEXT​(VkPhysicalDevice physicalDevice,
                                              long display)
        Release access to an acquired VkDisplayKHR.
        C Specification

        To release a previously acquired display, call:

        
         VkResult vkReleaseDisplayEXT(
             VkPhysicalDevice                            physicalDevice,
             VkDisplayKHR                                display);
        Valid Usage (Implicit)
        • physicalDevice must be a valid VkPhysicalDevice handle
        • display must be a valid VkDisplayKHR handle
        Return Codes
        On success, this command returns
        Parameters:
        physicalDevice - The physical device the display is on.
        display - The display to release control of.