Class XrSecondaryViewConfigurationSwapchainCreateInfoMSFT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSecondaryViewConfigurationSwapchainCreateInfoMSFT>
org.lwjgl.openxr.XrSecondaryViewConfigurationSwapchainCreateInfoMSFT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrSecondaryViewConfigurationSwapchainCreateInfoMSFT extends org.lwjgl.system.Struct<XrSecondaryViewConfigurationSwapchainCreateInfoMSFT> implements org.lwjgl.system.NativeResource
Hint to runtime that the created swapchain image will be used for given secondary view configuration.
Description

If this structure is not present in the XrSwapchainCreateInfo next chain when calling CreateSwapchain, the runtime should optimize the created swapchain for the primary view configuration of the session.

If the application submits a swapchain image created with one view configuration type to a composition layer for another view configuration, the runtime may need to copy the resource across view configurations. However, the runtime must correctly compose the image regardless which view configuration type was hinted when swapchain image was created.

Valid Usage (Implicit)
See Also

XrSwapchainCreateInfo

Layout


 struct XrSecondaryViewConfigurationSwapchainCreateInfoMSFT {
     XrStructureType type();
     void const * next();
     XrViewConfigurationType viewConfigurationType();
 }