Package org.lwjgl.openxr
Class VARJOEnvironmentDepthEstimation
- java.lang.Object
-
- org.lwjgl.openxr.VARJOEnvironmentDepthEstimation
-
public class VARJOEnvironmentDepthEstimation extends java.lang.ObjectThe VARJO_environment_depth_estimation extension.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringXR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAMEThe extension name.static intXR_VARJO_environment_depth_estimation_SPEC_VERSIONThe extension specification version.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intxrSetEnvironmentDepthEstimationVARJO(XrSession session, boolean enabled)Enable or disable environment depth estimation functionality.
-
-
-
Field Detail
-
XR_VARJO_environment_depth_estimation_SPEC_VERSION
public static final int XR_VARJO_environment_depth_estimation_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
XR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAME
public static final java.lang.String XR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
-
Method Detail
-
xrSetEnvironmentDepthEstimationVARJO
public static int xrSetEnvironmentDepthEstimationVARJO(XrSession session, boolean enabled)
Enable or disable environment depth estimation functionality.C Specification
The
SetEnvironmentDepthEstimationVARJOfunction is defined as:XrResult xrSetEnvironmentDepthEstimationVARJO( XrSession session, XrBool32 enabled);Valid Usage (Implicit)
- The
XR_VARJO_environment_depth_estimationextension must be enabled prior to callingSetEnvironmentDepthEstimationVARJO sessionmust be a validXrSessionhandle
Return Codes
- On success, this command returns
- On failure, this command returns
- Parameters:
session- anXrSessionhandle previously created withCreateSession.enabled- a boolean that specifies whether depth estimation functionality should be activated. Compositor will disable depth estimation functionality if environment blend mode is notENVIRONMENT_BLEND_MODE_ALPHA_BLENDand will enable the functionality when environment blend mode is set toENVIRONMENT_BLEND_MODE_ALPHA_BLEND.
- The
-
-