Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class KHRLoaderInit

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

The XR_KHR_loader_init extension.

On some platforms, before loading can occur the loader must be initialized with platform-specific parameters. Unlike other extensions, the presence of this extension is signaled by a successful call to GetInstanceProcAddr to retrieve the function pointer for InitializeLoaderKHR using a null instance handle. If this extension is supported, its use may be required on some platforms and the use of the InitializeLoaderKHR function must precede other OpenXR calls except GetInstanceProcAddr. This function exists as part of the loader library that the application is using.

Field Summary

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

The extension specification version.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrInitializeLoaderKHR(long loaderInitInfo)

Unsafe version of: InitializeLoaderKHR

public static int
xrInitializeLoaderKHR(XrLoaderInitInfoBaseHeaderKHR
a pointer to an XrLoaderInitInfoBaseHeaderKHR structure, which is a polymorphic type defined by other platform- or implementation-specific extensions.
loaderInitInfo
)

Initializes loader.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_KHR_LOADER_INIT_EXTENSION_NAMEback to summary
public static final String XR_KHR_LOADER_INIT_EXTENSION_NAME

The extension name.

XR_KHR_loader_init_SPEC_VERSIONback to summary
public static final int XR_KHR_loader_init_SPEC_VERSION

The extension specification version.

Constructor Detail

KHRLoaderInitback to summary
protected KHRLoaderInit()

Method Detail

nxrInitializeLoaderKHRback to summary
public static int nxrInitializeLoaderKHR(long loaderInitInfo)

Unsafe version of: InitializeLoaderKHR

xrInitializeLoaderKHRback to summary
public static int xrInitializeLoaderKHR(XrLoaderInitInfoBaseHeaderKHR loaderInitInfo)

Initializes loader.

C Specification

To initialize an OpenXR loader with platform or implementation-specific parameters, call:


XrResult xrInitializeLoaderKHR(
    const XrLoaderInitInfoBaseHeaderKHR*        loaderInitInfo);
Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrLoaderInitInfoBaseHeaderKHR

Parameters
loaderInitInfo:XrLoaderInitInfoBaseHeaderKHR

a pointer to an XrLoaderInitInfoBaseHeaderKHR structure, which is a polymorphic type defined by other platform- or implementation-specific extensions.

Annotations
@NativeType:XrResult