Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class METAFoveationEyeTracked

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

The XR_META_foveation_eye_tracked extension.

Eye tracked foveated rendering renders lower pixel density in the periphery of the user’s gaze, taking advantage of low peripheral acuity.

This extension allows:

In order to enable the functionality of this extension, the application must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extensions section.

Field Summary

Modifier and TypeField and Description
public static final int
XR_FOVEATION_CENTER_SIZE_META

XR_FOVEATION_CENTER_SIZE_META

public static final int
XR_FOVEATION_EYE_TRACKED_STATE_VALID_BIT_META

XrFoveationEyeTrackedStateFlagBitsMETA - XrFoveationEyeTrackedStateFlagBitsMETA Flag Descriptions

public static final String
public static final int
XR_META_foveation_eye_tracked_SPEC_VERSION

The extension specification version.

public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrGetFoveationEyeTrackedStateMETA(XrSession session, long foveationState)

Unsafe version of: GetFoveationEyeTrackedStateMETA

public static int
xrGetFoveationEyeTrackedStateMETA(XrSession
the XrSession in which the eye tracked foveation profile is applied.
session
,
XrFoveationEyeTrackedStateMETA
a pointer to an XrFoveationEyeTrackedStateMETA structure returning the current eye tracked foveation state.
foveationState
)

Get the current eye tracked foveation state.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_FOVEATION_CENTER_SIZE_METAback to summary
public static final int XR_FOVEATION_CENTER_SIZE_META

XR_FOVEATION_CENTER_SIZE_META

XR_FOVEATION_EYE_TRACKED_STATE_VALID_BIT_METAback to summary
public static final int XR_FOVEATION_EYE_TRACKED_STATE_VALID_BIT_META

XrFoveationEyeTrackedStateFlagBitsMETA - XrFoveationEyeTrackedStateFlagBitsMETA

Flag Descriptions
XR_META_FOVEATION_EYE_TRACKED_EXTENSION_NAMEback to summary
public static final String XR_META_FOVEATION_EYE_TRACKED_EXTENSION_NAME

The extension name.

XR_META_foveation_eye_tracked_SPEC_VERSIONback to summary
public static final int XR_META_foveation_eye_tracked_SPEC_VERSION

The extension specification version.

XR_TYPE_FOVEATION_EYE_TRACKED_PROFILE_CREATE_INFO_METAback to summary
public static final int XR_TYPE_FOVEATION_EYE_TRACKED_PROFILE_CREATE_INFO_META

Extends XrStructureType.

Enum values:
XR_TYPE_FOVEATION_EYE_TRACKED_STATE_METAback to summary
public static final int XR_TYPE_FOVEATION_EYE_TRACKED_STATE_META

Extends XrStructureType.

Enum values:
XR_TYPE_SYSTEM_FOVEATION_EYE_TRACKED_PROPERTIES_METAback to summary
public static final int XR_TYPE_SYSTEM_FOVEATION_EYE_TRACKED_PROPERTIES_META

Extends XrStructureType.

Enum values:

Constructor Detail

METAFoveationEyeTrackedback to summary
protected METAFoveationEyeTracked()

Method Detail

nxrGetFoveationEyeTrackedStateMETAback to summary
public static int nxrGetFoveationEyeTrackedStateMETA(XrSession session, long foveationState)

Unsafe version of: GetFoveationEyeTrackedStateMETA

xrGetFoveationEyeTrackedStateMETAback to summary
public static int xrGetFoveationEyeTrackedStateMETA(XrSession session, XrFoveationEyeTrackedStateMETA foveationState)

Get the current eye tracked foveation state.

C Specification

The GetFoveationEyeTrackedStateMETA function is defined as:


XrResult xrGetFoveationEyeTrackedStateMETA(
    XrSession                                   session,
    XrFoveationEyeTrackedStateMETA*             foveationState);
Description

The GetFoveationEyeTrackedStateMETA function returns the current eye tracked foveation state including the center of the foveal region, validity of the foveation data, etc.

Note that UpdateSwapchainFB should be called right before the GetFoveationEyeTrackedStateMETA function in order to (1) request a foveation pattern update by the runtime (2) optionally instruct the runtime to adjust the eye tracking camera capture start time in order to optimize for pipeline latency.

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrFoveationEyeTrackedStateMETA

Parameters
session:XrSession

the XrSession in which the eye tracked foveation profile is applied.

foveationState:XrFoveationEyeTrackedStateMETA

a pointer to an XrFoveationEyeTrackedStateMETA structure returning the current eye tracked foveation state.

Annotations
@NativeType:XrResult