Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class METAVulkanSwapchainCreateInfo

extends Object
Class Inheritance

The XR_META_vulkan_swapchain_create_info extension.

Using this extension, a Vulkan-based application can pass through additional VkImageCreateFlags or VkImageUsageFlags by chaining an XrVulkanSwapchainCreateInfoMETA structure to the XrSwapchainCreateInfo when calling CreateSwapchain.

The application is still encouraged to use the common bits like SWAPCHAIN_USAGE_TRANSFER_SRC_BIT defined in XrSwapchainUsageFlags. However, the application may present both SWAPCHAIN_USAGE_TRANSFER_SRC_BIT in XrSwapchainUsageFlags and VK_IMAGE_USAGE_TRANSFER_SRC_BIT in VkImageUsageFlags at the same time.

The application must enable the corresponding Vulkan extensions before requesting additional Vulkan flags. For example, VK_EXT_fragment_density_map device extension must be enabled if an application requests VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT bit. Otherwise, it may cause undefined behavior, including an application crash.

Runtimes that implement this extension must support the XR_KHR_vulkan_enable or the XR_KHR_vulkan_enable2 extension.

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_META_vulkan_swapchain_create_info_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_META_VULKAN_SWAPCHAIN_CREATE_INFO_EXTENSION_NAMEback to summary
public static final String XR_META_VULKAN_SWAPCHAIN_CREATE_INFO_EXTENSION_NAME

The extension name.

XR_META_vulkan_swapchain_create_info_SPEC_VERSIONback to summary
public static final int XR_META_vulkan_swapchain_create_info_SPEC_VERSION

The extension specification version.

XR_TYPE_VULKAN_SWAPCHAIN_CREATE_INFO_METAback to summary
public static final int XR_TYPE_VULKAN_SWAPCHAIN_CREATE_INFO_META

Extends XrStructureType.

Constructor Detail

METAVulkanSwapchainCreateInfoback to summary
private METAVulkanSwapchainCreateInfo()