Class XrSecondaryViewConfigurationLayerInfoMSFT

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

public class XrSecondaryViewConfigurationLayerInfoMSFT extends org.lwjgl.system.Struct<XrSecondaryViewConfigurationLayerInfoMSFT> implements org.lwjgl.system.NativeResource
Describe an array of composition layers to be submitted to given XrViewConfigurationType.
Description

This structure is similar to the XrFrameEndInfo structure, with an extra XrViewConfigurationType field to specify the view configuration for which the submitted layers will be rendered.

The application should render its content for both the primary and secondary view configurations using the same XrFrameState::predictedDisplayTime reported by WaitFrame. The runtime must treat both the primary views and secondary views as being submitted for the same XrViewLocateInfo::displayTime specified in the call to EndFrame.

For layers such as quad layers whose content is identical across view configurations, the application can submit the same XrCompositionLayerBaseHeader structures to multiple view configurations in the same EndFrame function call.

For each frame, the application should only render and submit layers for the secondary view configurations that were active that frame, as indicated in the XrSecondaryViewConfigurationFrameStateMSFT filled in for that frame’s WaitFrame call. The runtime must ignore composition layers submitted for an inactive view configuration.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader, XrSecondaryViewConfigurationFrameEndInfoMSFT, EndFrame

Layout


 struct XrSecondaryViewConfigurationLayerInfoMSFT {
     XrStructureType type();
     void const * next();
     XrViewConfigurationType viewConfigurationType();
     XrEnvironmentBlendMode environmentBlendMode();
     uint32_t layerCount();
     XrCompositionLayerBaseHeader const * const * layers();
 }