Class KHRGetDisplayProperties2
VK_KHR_display equivalent of the VK_KHR_get_physical_device_properties2 extension.
- Name String
VK_KHR_get_display_properties2- Extension Type
- Instance extension
- Registered Extension Number
- 122
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_display- Contact
- James Jones cubanismo
Other Extension Metadata
- Last Modified Date
- 2017-02-21
- IP Status
- No known IP claims.
- Contributors
- Ian Elliott, Google
- James Jones, NVIDIA
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnvkGetDisplayModeProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long display, long pPropertyCount, long pProperties) Unsafe version of:GetDisplayModeProperties2KHRstatic intnvkGetDisplayPlaneCapabilities2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pDisplayPlaneInfo, long pCapabilities) Unsafe version of:GetDisplayPlaneCapabilities2KHRstatic intnvkGetPhysicalDeviceDisplayPlaneProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceDisplayPlaneProperties2KHRstatic intnvkGetPhysicalDeviceDisplayProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceDisplayProperties2KHRstatic intvkGetDisplayModeProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long display, int[] pPropertyCount, @Nullable VkDisplayModeProperties2KHR.Buffer pProperties) Array version of:GetDisplayModeProperties2KHRstatic intvkGetDisplayModeProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long display, IntBuffer pPropertyCount, @Nullable VkDisplayModeProperties2KHR.Buffer pProperties) Query information about the available display modes.static intvkGetDisplayPlaneCapabilities2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkDisplayPlaneInfo2KHR pDisplayPlaneInfo, VkDisplayPlaneCapabilities2KHR pCapabilities) Query capabilities of a mode and plane combination.static intvkGetPhysicalDeviceDisplayPlaneProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkDisplayPlaneProperties2KHR.Buffer pProperties) Array version of:GetPhysicalDeviceDisplayPlaneProperties2KHRstatic intvkGetPhysicalDeviceDisplayPlaneProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkDisplayPlaneProperties2KHR.Buffer pProperties) Query information about the available display planes.static intvkGetPhysicalDeviceDisplayProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkDisplayProperties2KHR.Buffer pProperties) Array version of:GetPhysicalDeviceDisplayProperties2KHRstatic intvkGetPhysicalDeviceDisplayProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkDisplayProperties2KHR.Buffer pProperties) Query information about the available displays.
-
Field Details
-
VK_KHR_GET_DISPLAY_PROPERTIES_2_SPEC_VERSION
public static final int VK_KHR_GET_DISPLAY_PROPERTIES_2_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_GET_DISPLAY_PROPERTIES_2_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR
public static final int VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR
public static final int VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR
public static final int VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHRExtendsVkStructureType.Enum values:
- See Also:
-
-
Method Details
-
nvkGetPhysicalDeviceDisplayProperties2KHR
public static int nvkGetPhysicalDeviceDisplayProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceDisplayProperties2KHR- Parameters:
pPropertyCount- a pointer to an integer related to the number of display devices available or queried, as described below.
-
vkGetPhysicalDeviceDisplayProperties2KHR
public static int vkGetPhysicalDeviceDisplayProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkDisplayProperties2KHR.Buffer pProperties) Query information about the available displays.C Specification
To query information about the available displays, call:
VkResult vkGetPhysicalDeviceDisplayProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayProperties2KHR* pProperties);Description
vkGetPhysicalDeviceDisplayProperties2KHRbehaves similarly toGetPhysicalDeviceDisplayPropertiesKHR, with the ability to return extended information via chained output structures.Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepPropertyCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pPropertyCountis not 0, andpPropertiesis notNULL,pPropertiesmust be a valid pointer to an array ofpPropertyCountVkDisplayProperties2KHRstructures
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- a physical device.pPropertyCount- a pointer to an integer related to the number of display devices available or queried, as described below.pProperties- eitherNULLor a pointer to an array ofVkDisplayProperties2KHRstructures.
-
nvkGetPhysicalDeviceDisplayPlaneProperties2KHR
public static int nvkGetPhysicalDeviceDisplayPlaneProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pPropertyCount, long pProperties) Unsafe version of:GetPhysicalDeviceDisplayPlaneProperties2KHR- Parameters:
pPropertyCount- a pointer to an integer related to the number of display planes available or queried, as described below.
-
vkGetPhysicalDeviceDisplayPlaneProperties2KHR
public static int vkGetPhysicalDeviceDisplayPlaneProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, IntBuffer pPropertyCount, @Nullable VkDisplayPlaneProperties2KHR.Buffer pProperties) Query information about the available display planes.C Specification
To query the properties of a device’s display planes, call:
VkResult vkGetPhysicalDeviceDisplayPlaneProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlaneProperties2KHR* pProperties);Description
vkGetPhysicalDeviceDisplayPlaneProperties2KHRbehaves similarly toGetPhysicalDeviceDisplayPlanePropertiesKHR, with the ability to return extended information via chained output structures.Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepPropertyCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pPropertyCountis not 0, andpPropertiesis notNULL,pPropertiesmust be a valid pointer to an array ofpPropertyCountVkDisplayPlaneProperties2KHRstructures
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- a physical device.pPropertyCount- a pointer to an integer related to the number of display planes available or queried, as described below.pProperties- eitherNULLor a pointer to an array ofVkDisplayPlaneProperties2KHRstructures.
-
nvkGetDisplayModeProperties2KHR
public static int nvkGetDisplayModeProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long display, long pPropertyCount, long pProperties) Unsafe version of:GetDisplayModeProperties2KHR- Parameters:
pPropertyCount- a pointer to an integer related to the number of display modes available or queried, as described below.
-
vkGetDisplayModeProperties2KHR
public static int vkGetDisplayModeProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long display, IntBuffer pPropertyCount, @Nullable VkDisplayModeProperties2KHR.Buffer pProperties) Query information about the available display modes.C Specification
To query the properties of a device’s built-in display modes, call:
VkResult vkGetDisplayModeProperties2KHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModeProperties2KHR* pProperties);Description
vkGetDisplayModeProperties2KHRbehaves similarly toGetDisplayModePropertiesKHR, with the ability to return extended information via chained output structures.Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandledisplaymust be a validVkDisplayKHRhandlepPropertyCountmust be a valid pointer to auint32_tvalue- If the value referenced by
pPropertyCountis not 0, andpPropertiesis notNULL,pPropertiesmust be a valid pointer to an array ofpPropertyCountVkDisplayModeProperties2KHRstructures displaymust have been created, allocated, or retrieved fromphysicalDevice
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- the physical device associated withdisplay.display- the display to query.pPropertyCount- a pointer to an integer related to the number of display modes available or queried, as described below.pProperties- eitherNULLor a pointer to an array ofVkDisplayModeProperties2KHRstructures.
-
nvkGetDisplayPlaneCapabilities2KHR
public static int nvkGetDisplayPlaneCapabilities2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pDisplayPlaneInfo, long pCapabilities) Unsafe version of:GetDisplayPlaneCapabilities2KHR -
vkGetDisplayPlaneCapabilities2KHR
public static int vkGetDisplayPlaneCapabilities2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkDisplayPlaneInfo2KHR pDisplayPlaneInfo, VkDisplayPlaneCapabilities2KHR pCapabilities) Query capabilities of a mode and plane combination.C Specification
To query the capabilities of a given mode and plane combination, call:
VkResult vkGetDisplayPlaneCapabilities2KHR( VkPhysicalDevice physicalDevice, const VkDisplayPlaneInfo2KHR* pDisplayPlaneInfo, VkDisplayPlaneCapabilities2KHR* pCapabilities);Description
vkGetDisplayPlaneCapabilities2KHRbehaves similarly toGetDisplayPlaneCapabilitiesKHR, with the ability to specify extended inputs via chained input structures, and to return extended information via chained output structures.Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepDisplayPlaneInfomust be a valid pointer to a validVkDisplayPlaneInfo2KHRstructurepCapabilitiesmust be a valid pointer to aVkDisplayPlaneCapabilities2KHRstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
physicalDevice- the physical device associated withpDisplayPlaneInfo.pDisplayPlaneInfo- a pointer to aVkDisplayPlaneInfo2KHRstructure describing the plane and mode.pCapabilities- a pointer to aVkDisplayPlaneCapabilities2KHRstructure in which the capabilities are returned.
-
vkGetPhysicalDeviceDisplayProperties2KHR
public static int vkGetPhysicalDeviceDisplayProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkDisplayProperties2KHR.Buffer pProperties) Array version of:GetPhysicalDeviceDisplayProperties2KHR -
vkGetPhysicalDeviceDisplayPlaneProperties2KHR
public static int vkGetPhysicalDeviceDisplayPlaneProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, int[] pPropertyCount, @Nullable VkDisplayPlaneProperties2KHR.Buffer pProperties) Array version of:GetPhysicalDeviceDisplayPlaneProperties2KHR -
vkGetDisplayModeProperties2KHR
public static int vkGetDisplayModeProperties2KHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long display, int[] pPropertyCount, @Nullable VkDisplayModeProperties2KHR.Buffer pProperties) Array version of:GetDisplayModeProperties2KHR
-