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.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME
The extension name. |
| public static final int | XR_KHR_composition_layer_equirect_SPEC_VERSION
The extension specification version. |
| public static final int | XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME The extension name. | |
| XR_KHR_composition_layer_equirect_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_KHR_composition_layer_equirect_SPEC_VERSION The extension specification version. | |
| XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR | back to summary |
|---|---|
| public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR Extends | |
| KHRCompositionLayerEquirect | back to summary |
|---|---|
| private KHRCompositionLayerEquirect() | |