Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class EXTDirectModeDisplay

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

This is extension, along with related platform extensions, 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.
VK_EXT_direct_mode_display
Name String
VK_EXT_direct_mode_display
Extension Type
Instance extension
Registered Extension Number
89
Revision
1
Extension and Version Dependencies
VK_KHR_display
Contact
Other Extension Metadata
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 Summary

Modifier and TypeField and Description
public static final String
public static final int
VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION

The extension specification version.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
vkReleaseDisplayEXT(VkPhysicalDevice
The physical device the display is on.
physicalDevice
,
long
The display to release control of.
display
)

Release access to an acquired VkDisplayKHR.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAMEback to summary
public static final String VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME

The extension name.

VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSIONback to summary
public static final int VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION

The extension specification version.

Constructor Detail

EXTDirectModeDisplayback to summary
protected EXTDirectModeDisplay()

Method Detail

vkReleaseDisplayEXTback to summary
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
  • display must have been created, allocated, or retrieved from physicalDevice
Return Codes
On success, this command returns
Parameters
physicalDevice:VkPhysicalDevice

The physical device the display is on.

display:long

The display to release control of.

Annotations
@NativeType:VkResult