Class KHRCompositionLayerEquirect2
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
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsXrStructureType. -
Method Summary
-
Field Details
-
XR_KHR_composition_layer_equirect2_SPEC_VERSION
public static final int XR_KHR_composition_layer_equirect2_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME
The extension name.- See Also:
-
XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR
public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHRExtendsXrStructureType.- See Also:
-