Class KHRCompositionLayerEquirect

java.lang.Object
org.lwjgl.openxr.KHRCompositionLayerEquirect

public final class KHRCompositionLayerEquirect extends Object
The XR_KHR_composition_layer_equirect extension.

This extension adds an additional layer type where the XR runtime must map an equirectangular coded image stemming from a swapchain onto the inside of a sphere.

The equirect layer type provides most of the same benefits as a cubemap, but from an equirect 2D image source. This image source is appealing mostly because equirect environment maps are very common, and the highest quality you can get from them is by sampling them directly in the compositor.

This is not a projection type of layer but rather an object-in-world type of layer, similar to XrCompositionLayerQuad. Only the interior of the sphere surface must be visible; the exterior of the sphere is not visible and must not be drawn by the runtime.

  • Field Details

    • XR_KHR_composition_layer_equirect_SPEC_VERSION

      public static final int XR_KHR_composition_layer_equirect_SPEC_VERSION
      The extension specification version.
      See Also:
    • XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME

      public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME
      The extension name.
      See Also:
    • XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR

      public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR
      Extends XrStructureType.
      See Also: