public class AMDDisplayNativeHdr
extends java.lang.Object
VkColorSpaceKHR enum 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.None.
VK_AMD_display_native_hdrVK_KHR_get_physical_device_properties2VK_KHR_get_surface_capabilities2VK_KHR_swapchain| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VK_AMD_DISPLAY_NATIVE_HDR_EXTENSION_NAME
The extension name.
|
static int |
VK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSION
The extension specification version.
|
static int |
VK_COLOR_SPACE_DISPLAY_NATIVE_AMD
Extends
VkColorSpaceKHR. |
static int |
VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static void |
vkSetLocalDimmingAMD(org.lwjgl.vulkan.VkDevice device,
long swapChain,
boolean localDimmingEnable)
Set Local Dimming.
|
public static final int VK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSION
public static final java.lang.String VK_AMD_DISPLAY_NATIVE_HDR_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD
VkStructureType.
public static final int VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD
VkStructureType.
public static final int VK_COLOR_SPACE_DISPLAY_NATIVE_AMD
VkColorSpaceKHR.public static void vkSetLocalDimmingAMD(org.lwjgl.vulkan.VkDevice device,
long swapChain,
boolean localDimmingEnable)
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);
device must be a valid VkDevice handleswapChain must be a valid VkSwapchainKHR handledevice, and swapChain must have been created, allocated, or retrieved from the same VkInstanceSetLocalDimmingAMD if VkDisplayNativeHdrSurfaceCapabilitiesAMD::localDimmingSupport is supported.device - the device associated with swapChain.swapChain - handle to enable local dimming.localDimmingEnable - specifies whether local dimming is enabled for the swapchain.Copyright LWJGL. All Rights Reserved. License terms.