
org.lwjgl.openxr.EXTWin32AppcontainerCompatible Maven / Gradle / Ivy
Show all versions of lwjgl-openxr Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
/**
* The XR_EXT_win32_appcontainer_compatible extension.
*
* To minimize opportunities for malicious manipulation, a common practice on the Windows OS is to isolate the application process in an {url-appcontainer-isolation}[AppContainer execution environment]. In order for a runtime to work properly in such an application process, the runtime must properly {url-appcontainer-impl}[set ACL to device resources and cross process resources].
*
* An application running in an AppContainer process can request for a runtime to enable such AppContainer compatibility by adding {@link #XR_EXT_WIN32_APPCONTAINER_COMPATIBLE_EXTENSION_NAME EXT_WIN32_APPCONTAINER_COMPATIBLE_EXTENSION_NAME} to {@code enabledExtensionNames} of {@link XrInstanceCreateInfo} when calling {@link XR10#xrCreateInstance CreateInstance}. If the runtime is not capable of running properly within the AppContainer execution environment, it must return {@link XR10#XR_ERROR_EXTENSION_NOT_PRESENT ERROR_EXTENSION_NOT_PRESENT}.
*
* If the runtime supports this extension, it can further inspect the capability based on the connected device. If the XR system cannot support an AppContainer execution environment, the runtime must return {@link XR10#XR_ERROR_FORM_FACTOR_UNAVAILABLE ERROR_FORM_FACTOR_UNAVAILABLE} when the application calls {@link XR10#xrGetSystem GetSystem}.
*
* If the call to {@link XR10#xrGetSystem GetSystem} successfully returned with a valid {@code XrSystemId}, the application can rely on the runtime working properly in the AppContainer execution environment.
*/
public final class EXTWin32AppcontainerCompatible {
/** The extension specification version. */
public static final int XR_EXT_win32_appcontainer_compatible_SPEC_VERSION = 1;
/** The extension name. */
public static final String XR_EXT_WIN32_APPCONTAINER_COMPATIBLE_EXTENSION_NAME = "XR_EXT_win32_appcontainer_compatible";
private EXTWin32AppcontainerCompatible() {}
}