Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class KHRCompositionLayerEquirect2

extends Object
Class Inheritance

The XR_KHR_composition_layer_equirect2 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.

This extension uses a different parameterization more in keeping with the formulation of KHR_composition_layer_cylinder but is functionally equivalent to KHR_composition_layer_equirect.

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_KHR_composition_layer_equirect2_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_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAMEback to summary
public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME

The extension name.

XR_KHR_composition_layer_equirect2_SPEC_VERSIONback to summary
public static final int XR_KHR_composition_layer_equirect2_SPEC_VERSION

The extension specification version.

XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHRback to summary
public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR

Extends XrStructureType.

Constructor Detail

KHRCompositionLayerEquirect2back to summary
private KHRCompositionLayerEquirect2()