All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.openxr.EXTWin32AppcontainerCompatible Maven / Gradle / Ivy

Go to download

A royalty-free, open standard that provides high-performance access to Augmented Reality (AR) and Virtual Reality (VR)—collectively known as XR—platforms and devices.

There is a newer version: 3.3.6
Show newest version
/*
 * 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() {} }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy