Class METARecommendedLayerResolution

java.lang.Object
org.lwjgl.openxr.METARecommendedLayerResolution

public class METARecommendedLayerResolution extends Object
The XR_META_recommended_layer_resolution extension.

The extension allows an application to request a recommended swapchain resolution from the runtime, in order to either allocate a swapchain of a more appropriate size, or to render into a smaller image rect according to the recommendation. For layers with multiple views such as XrCompositionLayerProjection, the application may scale the individual views to match the scaled swapchain resolution.

The runtime may use any factors to drive the recommendation it wishes to return to the application. Those include static properties such as screen resolution and HMD type, but also dynamic ones such as layer positioning and system-wide GPU utilization.

Application may also use this extension to allocate the swapchain by passing in a layer with a swapchain handle NULL_HANDLE.