Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class KHRVulkanSwapchainFormatList

extends Object
Class Inheritance

The XR_KHR_vulkan_swapchain_format_list extension.

Vulkan has the VK_KHR_image_format_list extension which allows applications to tell the vkCreateImage function which formats the application intends to use when VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT is specified. This OpenXR extension exposes that Vulkan extension to OpenXR applications. In the same way that a Vulkan-based application can pass a VkImageFormatListCreateInfo struct to the vkCreateImage function, an OpenXR application can pass an identically configured XrVulkanSwapchainFormatListCreateInfoKHR structure to CreateSwapchain.

Applications using this extension to specify more than one swapchain format must create OpenXR swapchains with the SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT bit set.

Runtimes implementing this extension must support the XR_KHR_vulkan_enable or the XR_KHR_vulkan_enable2 extension. When XR_KHR_vulkan_enable is used, the runtime must add VK_KHR_image_format_list to the list of extensions enabled in CreateVulkanDeviceKHR.

Field Summary

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

The extension specification version.

public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_KHR_VULKAN_SWAPCHAIN_FORMAT_LIST_EXTENSION_NAMEback to summary
public static final String XR_KHR_VULKAN_SWAPCHAIN_FORMAT_LIST_EXTENSION_NAME

The extension name.

XR_KHR_vulkan_swapchain_format_list_SPEC_VERSIONback to summary
public static final int XR_KHR_vulkan_swapchain_format_list_SPEC_VERSION

The extension specification version.

XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHRback to summary
public static final int XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHR

Extends XrStructureType.

Constructor Detail

KHRVulkanSwapchainFormatListback to summary
private KHRVulkanSwapchainFormatList()