Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class METAPassthroughPreferences

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

The XR_META_passthrough_preferences extension.

This extension provides applications with access to system preferences concerning passthrough. For more information on how applications can control the display of passthrough, see XR_FB_passthrough.

Field Summary

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

The extension specification version.

public static final int
XR_PASSTHROUGH_PREFERENCE_DEFAULT_TO_ACTIVE_BIT_META

XrPassthroughPreferenceFlagBitsMETA - XrPassthroughPreferenceFlagBitsMETA Flag Descriptions

public static final int
XR_TYPE_PASSTHROUGH_PREFERENCES_META

Extends XrStructureType.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrGetPassthroughPreferencesMETA(XrSession session, long preferences)

Unsafe version of: GetPassthroughPreferencesMETA

public static int
xrGetPassthroughPreferencesMETA(XrSession
the XrSession.
session
,
XrPassthroughPreferencesMETA
points to an instance of XrPassthroughPreferencesMETA structure, that will be filled with returned information
preferences
)

Get passthrough preferences.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_META_PASSTHROUGH_PREFERENCES_EXTENSION_NAMEback to summary
public static final String XR_META_PASSTHROUGH_PREFERENCES_EXTENSION_NAME

The extension name.

XR_META_passthrough_preferences_SPEC_VERSIONback to summary
public static final int XR_META_passthrough_preferences_SPEC_VERSION

The extension specification version.

XR_PASSTHROUGH_PREFERENCE_DEFAULT_TO_ACTIVE_BIT_METAback to summary
public static final int XR_PASSTHROUGH_PREFERENCE_DEFAULT_TO_ACTIVE_BIT_META

XrPassthroughPreferenceFlagBitsMETA - XrPassthroughPreferenceFlagBitsMETA

Flag Descriptions
XR_TYPE_PASSTHROUGH_PREFERENCES_METAback to summary
public static final int XR_TYPE_PASSTHROUGH_PREFERENCES_META

Extends XrStructureType.

Constructor Detail

METAPassthroughPreferencesback to summary
protected METAPassthroughPreferences()

Method Detail

nxrGetPassthroughPreferencesMETAback to summary
public static int nxrGetPassthroughPreferencesMETA(XrSession session, long preferences)

Unsafe version of: GetPassthroughPreferencesMETA

xrGetPassthroughPreferencesMETAback to summary
public static int xrGetPassthroughPreferencesMETA(XrSession session, XrPassthroughPreferencesMETA preferences)

Get passthrough preferences.

C Specification

The GetPassthroughPreferencesMETA function is defined as:


XrResult xrGetPassthroughPreferencesMETA(
    XrSession                                   session,
    XrPassthroughPreferencesMETA*               preferences);
Description

An application can call GetPassthroughPreferencesMETA to retrieve passthrough-related preferences from the system.

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

XrPassthroughPreferencesMETA

Parameters
session:XrSession

the XrSession.

preferences:XrPassthroughPreferencesMETA

points to an instance of XrPassthroughPreferencesMETA structure, that will be filled with returned information

Annotations
@NativeType:XrResult