Package org.lwjgl.vulkan
Class AMDDisplayNativeHdr
- java.lang.Object
-
- org.lwjgl.vulkan.AMDDisplayNativeHdr
-
public class AMDDisplayNativeHdr extends java.lang.ObjectThis extension introduces the following display native HDR features to Vulkan:- A new
VkColorSpaceKHRenum for setting the native display colorspace. For example, this color space would be set by the swapchain to use the native color space in Freesync2 displays. - Local dimming control
Examples
None.
- Name String
VK_AMD_display_native_hdr- Extension Type
- Device extension
- Registered Extension Number
- 214
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2 - Requires
VK_KHR_get_surface_capabilities2 - Requires
VK_KHR_swapchain
- Contact
- Matthaeus G. Chajdas anteru
- Last Modified Date
- 2018-12-18
- IP Status
- No known IP claims.
- Contributors
- Matthaeus G. Chajdas, AMD
- Aaron Hagan, AMD
- Aric Cyr, AMD
- Timothy Lottes, AMD
- Derrick Owens, AMD
- Daniel Rakos, AMD
- A new
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVK_AMD_DISPLAY_NATIVE_HDR_EXTENSION_NAMEThe extension name.static intVK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSIONThe extension specification version.static intVK_COLOR_SPACE_DISPLAY_NATIVE_AMDExtendsVkColorSpaceKHR.static intVK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD
VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMDExtendsVkStructureType.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidvkSetLocalDimmingAMD(VkDevice device, long swapChain, boolean localDimmingEnable)Set Local Dimming.
-
-
-
Field Detail
-
VK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSION
The extension specification version.
-
VK_AMD_DISPLAY_NATIVE_HDR_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD, VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD
ExtendsVkStructureType.Enum values:
-
VK_COLOR_SPACE_DISPLAY_NATIVE_AMD
ExtendsVkColorSpaceKHR.
-
-
Method Detail
-
vkSetLocalDimmingAMD
public static void vkSetLocalDimmingAMD(VkDevice device, long swapChain, boolean localDimmingEnable)
Set Local Dimming.C Specification
The local dimming HDR setting may also be changed over the life of a swapchain by calling:
void vkSetLocalDimmingAMD( VkDevice device, VkSwapchainKHR swapChain, VkBool32 localDimmingEnable);Valid Usage (Implicit)
devicemust be a validVkDevicehandleswapChainmust be a validVkSwapchainKHRhandle- Both of
device, andswapChainmust have been created, allocated, or retrieved from the sameVkInstance
Valid Usage
- It is only valid to call
SetLocalDimmingAMDifVkDisplayNativeHdrSurfaceCapabilitiesAMD::localDimmingSupportis supported.
- Parameters:
device- the device associated withswapChain.swapChain- handle to enable local dimming.localDimmingEnable- specifies whether local dimming is enabled for the swapchain.
-
-