Top Description Fields Constructors Methods
org.lwjgl.openxr

public final Class VARJOCompositionLayerDepthTest

extends Object
Class Inheritance

The XR_VARJO_composition_layer_depth_test extension.

This extension enables depth-based layer composition inside the compositor.

Core OpenXR specifies that layer compositing must happen in the layer submission order (as described in Compositing). However, an application may want to composite the final image against the other layers based on depth information for proper occlusion. Layers can now provide depth information that will be used to calculate occlusion between those layers, as well as with the environment depth estimator (XR_VARJO_environment_depth_estimation) when enabled.

This extension defines a new type, XrCompositionLayerDepthTestVARJO, which can be chained to XrCompositionLayerProjection in order to activate this functionality. An application must also specify a range where depth testing will happen, potentially covering only a subset of the full depth range.

Field Summary

Modifier and TypeField and Description
public static final int
public static final String
public static final int
XR_VARJO_composition_layer_depth_test_SPEC_VERSION

The extension specification version.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJOback to summary
public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO

Extends XrStructureType.

XR_VARJO_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAMEback to summary
public static final String XR_VARJO_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME

The extension name.

XR_VARJO_composition_layer_depth_test_SPEC_VERSIONback to summary
public static final int XR_VARJO_composition_layer_depth_test_SPEC_VERSION

The extension specification version.

Constructor Detail

VARJOCompositionLayerDepthTestback to summary
private VARJOCompositionLayerDepthTest()