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.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | XR_KHR_LOADER_INIT_EXTENSION_NAME
The extension name. |
| public static final int | XR_KHR_loader_init_SPEC_VERSION
The extension specification version. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | xrInitializeLoaderKHR(XrLoaderInitInfoBaseHeaderKHR
a pointer to an loaderInitInfo)XrLoaderInitInfoBaseHeaderKHR structure, which is a polymorphic type defined by other platform- or implementation-specific extensions.Initializes loader. |
| XR_KHR_LOADER_INIT_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_KHR_LOADER_INIT_EXTENSION_NAME The extension name. | |
| XR_KHR_loader_init_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_KHR_loader_init_SPEC_VERSION The extension specification version. | |
| KHRLoaderInit | back to summary |
|---|---|
| protected KHRLoaderInit() | |
| nxrInitializeLoaderKHR | back to summary |
|---|---|
| public static int nxrInitializeLoaderKHR(long loaderInitInfo) Unsafe version of: | |
| xrInitializeLoaderKHR | back to summary |
|---|---|
| public static int xrInitializeLoaderKHR(XrLoaderInitInfoBaseHeaderKHR loaderInitInfo) Initializes loader. C SpecificationTo initialize an OpenXR loader with platform or implementation-specific parameters, call:
Valid Usage (Implicit)
Return Codes
See Also
| |