Package org.lwjgl.vulkan
Class AMDDisplayNativeHdr
java.lang.Object
org.lwjgl.vulkan.AMDDisplayNativeHdr
This extension introduces the following display native HDR features to Vulkan:
- A new
VkColorSpaceKHRenum for setting the native display color space. 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
VK_KHR_get_physical_device_properties2or Version 1.1 andVK_KHR_get_surface_capabilities2andVK_KHR_swapchain- Contact
- Matthaeus G. Chajdas anteru
Other Extension Metadata
- 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkColorSpaceKHR.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvkSetLocalDimmingAMD(org.lwjgl.vulkan.VkDevice device, long swapChain, boolean localDimmingEnable) Set Local Dimming.
-
Field Details
-
VK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSION
public static final int VK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_AMD_DISPLAY_NATIVE_HDR_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD
public static final int VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMDExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD
public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMDExtendsVkStructureType.Enum values:
- See Also:
-
VK_COLOR_SPACE_DISPLAY_NATIVE_AMD
public static final int VK_COLOR_SPACE_DISPLAY_NATIVE_AMDExtendsVkColorSpaceKHR.- See Also:
-
-
Method Details
-
vkSetLocalDimmingAMD
public static void vkSetLocalDimmingAMD(org.lwjgl.vulkan.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 validVkSwapchainKHRhandleswapChainmust have been created, allocated, or retrieved fromdevice
Valid Usage
VkDisplayNativeHdrSurfaceCapabilitiesAMD::localDimmingSupportmust be supported
- Parameters:
device- the device associated withswapChain.swapChain- handle to enable local dimming.localDimmingEnable- specifies whether local dimming is enabled for the swapchain.
-