diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ALMALENCEDigitalLensControl.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ALMALENCEDigitalLensControl.java index d5f3d6ab54..575d046fee 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ALMALENCEDigitalLensControl.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ALMALENCEDigitalLensControl.java @@ -4,12 +4,12 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_ALMALENCE_digital_lens_control extension. * @@ -35,18 +35,18 @@ * * *
This extension enables the handling of the Digital Lens for VR API Layer by calling {@link #xrSetDigitalLensControlALMALENCE SetDigitalLensControlALMALENCE}.
- */ -public class ALMALENCEDigitalLensControl { - - /** The extension specification version. */ - public static final int XR_ALMALENCE_digital_lens_control_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_ALMALENCE_DIGITAL_LENS_CONTROL_EXTENSION_NAME = "XR_ALMALENCE_digital_lens_control"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_DIGITAL_LENS_CONTROL_ALMALENCE = 1000196000; - + */ +public class ALMALENCEDigitalLensControl { + + /** The extension specification version. */ + public static final int XR_ALMALENCE_digital_lens_control_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_ALMALENCE_DIGITAL_LENS_CONTROL_EXTENSION_NAME = "XR_ALMALENCE_digital_lens_control"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_DIGITAL_LENS_CONTROL_ALMALENCE = 1000196000; + /** * XrDigitalLensControlFlagBitsALMALENCE - XrDigitalLensControlFlagBitsALMALENCE * @@ -55,24 +55,24 @@ public class ALMALENCEDigitalLensControl { *This extension defines the interaction profile for PICO Neo3 and PICO 4 Controllers.
- */ -public final class BDControllerInteraction { - - /** The extension specification version. */ - public static final int XR_BD_controller_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_BD_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_BD_controller_interaction"; + */ +public final class BDControllerInteraction { + + /** The extension specification version. */ + public static final int XR_BD_controller_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_BD_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_BD_controller_interaction"; - private BDControllerInteraction() {} + private BDControllerInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EPICViewConfigurationFov.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EPICViewConfigurationFov.java index 7869090bec..a7d5c7fff4 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EPICViewConfigurationFov.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EPICViewConfigurationFov.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EPIC_view_configuration_fov extension. * @@ -13,18 +13,18 @@ *The field-of-view given here should not be used for rendering, see {@link XR10#xrLocateViews LocateViews} to retrieve the field-of-view for rendering.
* *For views with {@code fovMutable} set to {@code XR_TRUE} the maximum field-of-view should specify the upper limit that runtime can support. If the view has {@code fovMutable} set to {@code XR_FALSE} the runtime must set {@code maxMutableFov} to be the same as {@code recommendedFov}.
- */ -public final class EPICViewConfigurationFov { - - /** The extension specification version. */ - public static final int XR_EPIC_view_configuration_fov_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_EPIC_VIEW_CONFIGURATION_FOV_EXTENSION_NAME = "XR_EPIC_view_configuration_fov"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC = 1000059000; + */ +public final class EPICViewConfigurationFov { + + /** The extension specification version. */ + public static final int XR_EPIC_view_configuration_fov_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_EPIC_VIEW_CONFIGURATION_FOV_EXTENSION_NAME = "XR_EPIC_view_configuration_fov"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC = 1000059000; - private EPICViewConfigurationFov() {} + private EPICViewConfigurationFov() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTActiveActionSetPriority.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTActiveActionSetPriority.java index 38dd7fbb5b..1a7505a8af 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTActiveActionSetPriority.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTActiveActionSetPriority.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_active_action_set_priority extension. * @@ -13,18 +13,18 @@ *Given that most runtimes do not actually require this number to be immutable this extension adds the ability to provide a different priority number for every {@link XrActiveActionSet} provided to {@link XR10#xrSyncActions SyncActions}.
* *When updating the action state with {@link XR10#xrSyncActions SyncActions}, the application can provide a pointer to an {@link XrActiveActionSetPrioritiesEXT} structure in the {@code next} chain of {@link XrActionsSyncInfo}. This structure contains an array of {@link XrActiveActionSetPriorityEXT} structures mapping active action sets to their priority numbers.
- */ -public final class EXTActiveActionSetPriority { - - /** The extension specification version. */ - public static final int XR_EXT_active_action_set_priority_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME = "XR_EXT_active_action_set_priority"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT = 1000373000; + */ +public final class EXTActiveActionSetPriority { + + /** The extension specification version. */ + public static final int XR_EXT_active_action_set_priority_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_ACTIVE_ACTION_SET_PRIORITY_EXTENSION_NAME = "XR_EXT_active_action_set_priority"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT = 1000373000; - private EXTActiveActionSetPriority() {} + private EXTActiveActionSetPriority() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTConformanceAutomation.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTConformanceAutomation.java index c919ceab85..53ee50de57 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTConformanceAutomation.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTConformanceAutomation.java @@ -4,17 +4,17 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; -import org.lwjgl.system.libffi.*; - -import static org.lwjgl.system.APIUtil.*; -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.libffi.LibFFI.*; -import static org.lwjgl.system.MemoryStack.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; +import org.lwjgl.system.libffi.*; + +import static org.lwjgl.system.APIUtil.*; +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.libffi.LibFFI.*; +import static org.lwjgl.system.MemoryStack.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_EXT_conformance_automation extension. * @@ -35,21 +35,21 @@ *This extension is not intended for use by non-conformance-test applications. A runtime may require a runtime-specified configuration such as a "developer mode" to be enabled before reporting support for this extension or providing a non-stub implementation of it.
* *Do not use this functionality in a non-conformance-test application!
- */ -public class EXTConformanceAutomation { - - /** The extension specification version. */ - public static final int XR_EXT_conformance_automation_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_EXT_CONFORMANCE_AUTOMATION_EXTENSION_NAME = "XR_EXT_conformance_automation"; + */ +public class EXTConformanceAutomation { + + /** The extension specification version. */ + public static final int XR_EXT_conformance_automation_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_EXT_CONFORMANCE_AUTOMATION_EXTENSION_NAME = "XR_EXT_conformance_automation"; protected EXTConformanceAutomation() { throw new UnsupportedOperationException(); - } - - // --- [ xrSetInputDeviceActiveEXT ] --- + } + // --- [ xrSetInputDeviceActiveEXT ] --- + /** * Sets the active state of the input device. * @@ -100,18 +100,18 @@ protected EXTConformanceAutomation() { * @param interactionProfile the path representing the interaction profile of the input device (e.g. pathname:/interaction_profiles/khr/simple_controller). * @param topLevelPath the path representing the input device (e.g. pathname:/user/hand/left). * @param isActive the requested activation state of the input device. - */ - @NativeType("XrResult") - public static int xrSetInputDeviceActiveEXT(XrSession session, @NativeType("XrPath") long interactionProfile, @NativeType("XrPath") long topLevelPath, @NativeType("XrBool32") boolean isActive) { - long __functionAddress = session.getCapabilities().xrSetInputDeviceActiveEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPJJI(session.address(), interactionProfile, topLevelPath, isActive ? 1 : 0, __functionAddress); - } - - // --- [ xrSetInputDeviceStateBoolEXT ] --- + */ + @NativeType("XrResult") + public static int xrSetInputDeviceActiveEXT(XrSession session, @NativeType("XrPath") long interactionProfile, @NativeType("XrPath") long topLevelPath, @NativeType("XrBool32") boolean isActive) { + long __functionAddress = session.getCapabilities().xrSetInputDeviceActiveEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPJJI(session.address(), interactionProfile, topLevelPath, isActive ? 1 : 0, __functionAddress); + } + // --- [ xrSetInputDeviceStateBoolEXT ] --- + /** * Sets the state of a boolean input source on the input device. * @@ -163,18 +163,18 @@ public static int xrSetInputDeviceActiveEXT(XrSession session, @NativeType("XrPa * @param topLevelPath the path representing the input device (e.g. pathname:/user/hand/left). * @param inputSourcePath the full path of the input component for which we wish to set the state for (e.g. pathname:/user/hand/left/input/select/click). * @param state the requested boolean state of the input device. - */ - @NativeType("XrResult") - public static int xrSetInputDeviceStateBoolEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, @NativeType("XrBool32") boolean state) { - long __functionAddress = session.getCapabilities().xrSetInputDeviceStateBoolEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPJJI(session.address(), topLevelPath, inputSourcePath, state ? 1 : 0, __functionAddress); - } - - // --- [ xrSetInputDeviceStateFloatEXT ] --- + */ + @NativeType("XrResult") + public static int xrSetInputDeviceStateBoolEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, @NativeType("XrBool32") boolean state) { + long __functionAddress = session.getCapabilities().xrSetInputDeviceStateBoolEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPJJI(session.address(), topLevelPath, inputSourcePath, state ? 1 : 0, __functionAddress); + } + // --- [ xrSetInputDeviceStateFloatEXT ] --- + /** * Sets the state of a float input source on the input device. * @@ -226,29 +226,29 @@ public static int xrSetInputDeviceStateBoolEXT(XrSession session, @NativeType("X * @param topLevelPath the path representing the input device (e.g. pathname:/user/hand/left). * @param inputSourcePath the full path of the input component for which we wish to set the state for (e.g. pathname:/user/hand/left/input/trigger/value). * @param state the requested float state of the input device. - */ - @NativeType("XrResult") - public static int xrSetInputDeviceStateFloatEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, float state) { - long __functionAddress = session.getCapabilities().xrSetInputDeviceStateFloatEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPJJI(session.address(), topLevelPath, inputSourcePath, state, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrSetInputDeviceStateFloatEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, float state) { + long __functionAddress = session.getCapabilities().xrSetInputDeviceStateFloatEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPJJI(session.address(), topLevelPath, inputSourcePath, state, __functionAddress); + } - // --- [ xrSetInputDeviceStateVector2fEXT ] --- + // --- [ xrSetInputDeviceStateVector2fEXT ] --- private static final FFICIF xrSetInputDeviceStateVector2fEXTCIF = apiCreateCIF( apiStdcall(), ffi_type_uint32, ffi_type_pointer, ffi_type_uint64, ffi_type_uint64, apiCreateStruct(ffi_type_float, ffi_type_float) - ); - - /** Unsafe version of: {@link #xrSetInputDeviceStateVector2fEXT SetInputDeviceStateVector2fEXT} */ - public static int nxrSetInputDeviceStateVector2fEXT(XrSession session, long topLevelPath, long inputSourcePath, long state) { - long __functionAddress = session.getCapabilities().xrSetInputDeviceStateVector2fEXT; - if (CHECKS) { - check(__functionAddress); - } + ); + + /** Unsafe version of: {@link #xrSetInputDeviceStateVector2fEXT SetInputDeviceStateVector2fEXT} */ + public static int nxrSetInputDeviceStateVector2fEXT(XrSession session, long topLevelPath, long inputSourcePath, long state) { + long __functionAddress = session.getCapabilities().xrSetInputDeviceStateVector2fEXT; + if (CHECKS) { + check(__functionAddress); + } MemoryStack stack = stackGet(); int stackPointer = stack.getPointer(); try { long __result = stack.nint(0); @@ -263,9 +263,9 @@ public static int nxrSetInputDeviceStateVector2fEXT(XrSession session, long topL return memGetInt(__result); } finally { stack.setPointer(stackPointer); - } - } - + } + } + /** * Sets the state of a 2D vector input source on the input device. * @@ -321,25 +321,25 @@ public static int nxrSetInputDeviceStateVector2fEXT(XrSession session, long topL * @param topLevelPath the path representing the input device (e.g. pathname:/user/hand/left). * @param inputSourcePath the full path of the input component for which we wish to set the state for (e.g. pathname:/user/hand/left/input/thumbstick). * @param state the requested two-dimensional state of the input device. - */ - @NativeType("XrResult") - public static int xrSetInputDeviceStateVector2fEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, XrVector2f state) { - return nxrSetInputDeviceStateVector2fEXT(session, topLevelPath, inputSourcePath, state.address()); - } + */ + @NativeType("XrResult") + public static int xrSetInputDeviceStateVector2fEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, XrVector2f state) { + return nxrSetInputDeviceStateVector2fEXT(session, topLevelPath, inputSourcePath, state.address()); + } - // --- [ xrSetInputDeviceLocationEXT ] --- + // --- [ xrSetInputDeviceLocationEXT ] --- private static final FFICIF xrSetInputDeviceLocationEXTCIF = apiCreateCIF( apiStdcall(), ffi_type_uint32, ffi_type_pointer, ffi_type_uint64, ffi_type_uint64, ffi_type_pointer, apiCreateStruct(apiCreateStruct(ffi_type_float, ffi_type_float, ffi_type_float, ffi_type_float), apiCreateStruct(ffi_type_float, ffi_type_float, ffi_type_float)) - ); - - /** Unsafe version of: {@link #xrSetInputDeviceLocationEXT SetInputDeviceLocationEXT} */ - public static int nxrSetInputDeviceLocationEXT(XrSession session, long topLevelPath, long inputSourcePath, XrSpace space, long pose) { - long __functionAddress = session.getCapabilities().xrSetInputDeviceLocationEXT; - if (CHECKS) { - check(__functionAddress); - } + ); + + /** Unsafe version of: {@link #xrSetInputDeviceLocationEXT SetInputDeviceLocationEXT} */ + public static int nxrSetInputDeviceLocationEXT(XrSession session, long topLevelPath, long inputSourcePath, XrSpace space, long pose) { + long __functionAddress = session.getCapabilities().xrSetInputDeviceLocationEXT; + if (CHECKS) { + check(__functionAddress); + } MemoryStack stack = stackGet(); int stackPointer = stack.getPointer(); try { long __result = stack.nint(0); @@ -355,9 +355,9 @@ public static int nxrSetInputDeviceLocationEXT(XrSession session, long topLevelP return memGetInt(__result); } finally { stack.setPointer(stackPointer); - } - } - + } + } + /** * Sets the effective location of a pose input source on the input device. * @@ -417,10 +417,10 @@ public static int nxrSetInputDeviceLocationEXT(XrSession session, long topLevelP * @param topLevelPath the path representing the input device (e.g. pathname:/user/hand/left). * @param inputSourcePath the full path of the input component for which we wish to set the pose for (e.g. pathname:/user/hand/left/input/grip/pose). * @param pose the requested pose state of the input device. - */ - @NativeType("XrResult") - public static int xrSetInputDeviceLocationEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, XrSpace space, XrPosef pose) { - return nxrSetInputDeviceLocationEXT(session, topLevelPath, inputSourcePath, space, pose.address()); - } + */ + @NativeType("XrResult") + public static int xrSetInputDeviceLocationEXT(XrSession session, @NativeType("XrPath") long topLevelPath, @NativeType("XrPath") long inputSourcePath, XrSpace space, XrPosef pose) { + return nxrSetInputDeviceLocationEXT(session, topLevelPath, inputSourcePath, space, pose.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDebugUtils.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDebugUtils.java index eff131529a..cf31aca15b 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDebugUtils.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDebugUtils.java @@ -4,15 +4,15 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_EXT_debug_utils extension. * @@ -24,15 +24,15 @@ *{@link #xrCreateDebugUtilsMessengerEXT CreateDebugUtilsMessengerEXT}
* * @param messenger the {@code XrDebugUtilsMessengerEXT} object to destroy. {@code messenger} is an externally synchronized object and must not be used on more than one thread at a time. This means that {@link #xrDestroyDebugUtilsMessengerEXT DestroyDebugUtilsMessengerEXT} must not be called when a callback is active. - */ - @NativeType("XrResult") - public static int xrDestroyDebugUtilsMessengerEXT(XrDebugUtilsMessengerEXT messenger) { - long __functionAddress = messenger.getCapabilities().xrDestroyDebugUtilsMessengerEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPI(messenger.address(), __functionAddress); - } - - // --- [ xrSubmitDebugUtilsMessageEXT ] --- - - /** Unsafe version of: {@link #xrSubmitDebugUtilsMessageEXT SubmitDebugUtilsMessageEXT} */ - public static int nxrSubmitDebugUtilsMessageEXT(XrInstance instance, long messageSeverity, long messageTypes, long callbackData) { - long __functionAddress = instance.getCapabilities().xrSubmitDebugUtilsMessageEXT; - if (CHECKS) { - check(__functionAddress); - XrDebugUtilsMessengerCallbackDataEXT.validate(callbackData); - } - return callPJJPI(instance.address(), messageSeverity, messageTypes, callbackData, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrDestroyDebugUtilsMessengerEXT(XrDebugUtilsMessengerEXT messenger) { + long __functionAddress = messenger.getCapabilities().xrDestroyDebugUtilsMessengerEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPI(messenger.address(), __functionAddress); + } + // --- [ xrSubmitDebugUtilsMessageEXT ] --- + + /** Unsafe version of: {@link #xrSubmitDebugUtilsMessageEXT SubmitDebugUtilsMessageEXT} */ + public static int nxrSubmitDebugUtilsMessageEXT(XrInstance instance, long messageSeverity, long messageTypes, long callbackData) { + long __functionAddress = instance.getCapabilities().xrSubmitDebugUtilsMessageEXT; + if (CHECKS) { + check(__functionAddress); + XrDebugUtilsMessengerCallbackDataEXT.validate(callbackData); + } + return callPJJPI(instance.address(), messageSeverity, messageTypes, callbackData, __functionAddress); + } + /** * Submits debug utils message. * @@ -372,24 +372,24 @@ public static int nxrSubmitDebugUtilsMessageEXT(XrInstance instance, long messag * @param messageSeverity a single bit value of {@code XrDebugUtilsMessageSeverityFlagsEXT} severity of this event/message. * @param messageTypes an {@code XrDebugUtilsMessageTypeFlagsEXT} bitmask of {@code XrDebugUtilsMessageTypeFlagBitsEXT} specifying which types of event to identify this message with. * @param callbackData contains all the callback related data in the {@link XrDebugUtilsMessengerCallbackDataEXT} structure. - */ - @NativeType("XrResult") - public static int xrSubmitDebugUtilsMessageEXT(XrInstance instance, @NativeType("XrDebugUtilsMessageSeverityFlagsEXT") long messageSeverity, @NativeType("XrDebugUtilsMessageTypeFlagsEXT") long messageTypes, @NativeType("XrDebugUtilsMessengerCallbackDataEXT const *") XrDebugUtilsMessengerCallbackDataEXT callbackData) { - return nxrSubmitDebugUtilsMessageEXT(instance, messageSeverity, messageTypes, callbackData.address()); - } - - // --- [ xrSessionBeginDebugUtilsLabelRegionEXT ] --- - - /** Unsafe version of: {@link #xrSessionBeginDebugUtilsLabelRegionEXT SessionBeginDebugUtilsLabelRegionEXT} */ - public static int nxrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, long labelInfo) { - long __functionAddress = session.getCapabilities().xrSessionBeginDebugUtilsLabelRegionEXT; - if (CHECKS) { - check(__functionAddress); - XrDebugUtilsLabelEXT.validate(labelInfo); - } - return callPPI(session.address(), labelInfo, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrSubmitDebugUtilsMessageEXT(XrInstance instance, @NativeType("XrDebugUtilsMessageSeverityFlagsEXT") long messageSeverity, @NativeType("XrDebugUtilsMessageTypeFlagsEXT") long messageTypes, @NativeType("XrDebugUtilsMessengerCallbackDataEXT const *") XrDebugUtilsMessengerCallbackDataEXT callbackData) { + return nxrSubmitDebugUtilsMessageEXT(instance, messageSeverity, messageTypes, callbackData.address()); + } + // --- [ xrSessionBeginDebugUtilsLabelRegionEXT ] --- + + /** Unsafe version of: {@link #xrSessionBeginDebugUtilsLabelRegionEXT SessionBeginDebugUtilsLabelRegionEXT} */ + public static int nxrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, long labelInfo) { + long __functionAddress = session.getCapabilities().xrSessionBeginDebugUtilsLabelRegionEXT; + if (CHECKS) { + check(__functionAddress); + XrDebugUtilsLabelEXT.validate(labelInfo); + } + return callPPI(session.address(), labelInfo, __functionAddress); + } + /** * Session begin debug utils label region. * @@ -435,14 +435,14 @@ public static int nxrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, lon * * @param session the {@code XrSession} that a label region should be associated with. * @param labelInfo the {@link XrDebugUtilsLabelEXT} containing the label information for the region that should be begun. - */ - @NativeType("XrResult") - public static int xrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, @NativeType("XrDebugUtilsLabelEXT const *") XrDebugUtilsLabelEXT labelInfo) { - return nxrSessionBeginDebugUtilsLabelRegionEXT(session, labelInfo.address()); - } - - // --- [ xrSessionEndDebugUtilsLabelRegionEXT ] --- + */ + @NativeType("XrResult") + public static int xrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, @NativeType("XrDebugUtilsLabelEXT const *") XrDebugUtilsLabelEXT labelInfo) { + return nxrSessionBeginDebugUtilsLabelRegionEXT(session, labelInfo.address()); + } + // --- [ xrSessionEndDebugUtilsLabelRegionEXT ] --- + /** * Session end debug utils label region. * @@ -487,28 +487,28 @@ public static int xrSessionBeginDebugUtilsLabelRegionEXT(XrSession session, @Nat *This function ends the last label region begun with the {@link #xrSessionBeginDebugUtilsLabelRegionEXT SessionBeginDebugUtilsLabelRegionEXT} function within the same {@code session}.
* * @param session the {@code XrSession} that a label region should be associated with. - */ - @NativeType("XrResult") - public static int xrSessionEndDebugUtilsLabelRegionEXT(XrSession session) { - long __functionAddress = session.getCapabilities().xrSessionEndDebugUtilsLabelRegionEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPI(session.address(), __functionAddress); - } - - // --- [ xrSessionInsertDebugUtilsLabelEXT ] --- - - /** Unsafe version of: {@link #xrSessionInsertDebugUtilsLabelEXT SessionInsertDebugUtilsLabelEXT} */ - public static int nxrSessionInsertDebugUtilsLabelEXT(XrSession session, long labelInfo) { - long __functionAddress = session.getCapabilities().xrSessionInsertDebugUtilsLabelEXT; - if (CHECKS) { - check(__functionAddress); - XrDebugUtilsLabelEXT.validate(labelInfo); - } - return callPPI(session.address(), labelInfo, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrSessionEndDebugUtilsLabelRegionEXT(XrSession session) { + long __functionAddress = session.getCapabilities().xrSessionEndDebugUtilsLabelRegionEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPI(session.address(), __functionAddress); + } + // --- [ xrSessionInsertDebugUtilsLabelEXT ] --- + + /** Unsafe version of: {@link #xrSessionInsertDebugUtilsLabelEXT SessionInsertDebugUtilsLabelEXT} */ + public static int nxrSessionInsertDebugUtilsLabelEXT(XrSession session, long labelInfo) { + long __functionAddress = session.getCapabilities().xrSessionInsertDebugUtilsLabelEXT; + if (CHECKS) { + check(__functionAddress); + XrDebugUtilsLabelEXT.validate(labelInfo); + } + return callPPI(session.address(), labelInfo, __functionAddress); + } + /** * Session insert debug utils label. * @@ -560,10 +560,10 @@ public static int nxrSessionInsertDebugUtilsLabelEXT(XrSession session, long lab * * @param session the {@code XrSession} that a label region should be associated with. * @param labelInfo the {@link XrDebugUtilsLabelEXT} containing the label information for the region that should be begun. - */ - @NativeType("XrResult") - public static int xrSessionInsertDebugUtilsLabelEXT(XrSession session, @NativeType("XrDebugUtilsLabelEXT const *") XrDebugUtilsLabelEXT labelInfo) { - return nxrSessionInsertDebugUtilsLabelEXT(session, labelInfo.address()); - } + */ + @NativeType("XrResult") + public static int xrSessionInsertDebugUtilsLabelEXT(XrSession session, @NativeType("XrDebugUtilsLabelEXT const *") XrDebugUtilsLabelEXT labelInfo) { + return nxrSessionInsertDebugUtilsLabelEXT(session, labelInfo.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDpadBinding.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDpadBinding.java index 3f2b8135dc..05055e624e 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDpadBinding.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTDpadBinding.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_dpad_binding extension. * *This extension allows the application to bind one or more digital actions to a trackpad or thumbstick as though it were a dpad by defining additional component paths to suggest bindings for. The behavior of this dpad-like mapping may be customized using {@link XrInteractionProfileDpadBindingEXT}.
* *Applications must also enable the {@link KHRBindingModification XR_KHR_binding_modification} extension that this builds on top of.
- */ -public final class EXTDpadBinding { - - /** The extension specification version. */ - public static final int XR_EXT_dpad_binding_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_DPAD_BINDING_EXTENSION_NAME = "XR_EXT_dpad_binding"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_INTERACTION_PROFILE_DPAD_BINDING_EXT = 1000078000; + */ +public final class EXTDpadBinding { + + /** The extension specification version. */ + public static final int XR_EXT_dpad_binding_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_DPAD_BINDING_EXTENSION_NAME = "XR_EXT_dpad_binding"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_INTERACTION_PROFILE_DPAD_BINDING_EXT = 1000078000; - private EXTDpadBinding() {} + private EXTDpadBinding() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTEyeGazeInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTEyeGazeInteraction.java index 992c99979b..7254eea27a 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTEyeGazeInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTEyeGazeInteraction.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_eye_gaze_interaction extension. * @@ -19,15 +19,15 @@ * * *With these building blocks, an application can discover if the XR runtime has access to an eye tracker, bind the eye gaze pose to the action system, determine if the eye tracker is actively tracking the users eye gaze, and use the eye gaze pose as an input signal to build eye gaze interactions.
- */ -public final class EXTEyeGazeInteraction { - - /** The extension specification version. */ - public static final int XR_EXT_eye_gaze_interaction_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME = "XR_EXT_eye_gaze_interaction"; - + */ +public final class EXTEyeGazeInteraction { + + /** The extension specification version. */ + public static final int XR_EXT_eye_gaze_interaction_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_EXT_EYE_GAZE_INTERACTION_EXTENSION_NAME = "XR_EXT_eye_gaze_interaction"; + /** * Extends {@code XrStructureType}. * @@ -37,11 +37,11 @@ public final class EXTEyeGazeInteraction { *When the {@link EXTPalmPose XR_EXT_palm_pose} extension is available and enabled, this interaction profile must also support
- * - *When the {@link EXTHandInteraction XR_EXT_hand_interaction} extension is available and enabled, this interaction profile must also support
- * - *This extension defines four commonly used action poses for all user hand interaction profiles including both hand tracking devices and motion controller devices.
* *This extension also introduces a new interaction profile specifically designed for hand tracking devices to input through the OpenXR action system. Though, for runtimes with controller inputs, the runtime should also provide this interaction profile through action mappings from the controller inputs, so that an application whose suggested action bindings solely depending on this hand interaction profile is usable on such runtimes as well.
- */ -public final class EXTHandInteraction { - - /** The extension specification version. */ - public static final int XR_EXT_hand_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_HAND_INTERACTION_EXTENSION_NAME = "XR_EXT_hand_interaction"; + */ +public final class EXTHandInteraction { + + /** The extension specification version. */ + public static final int XR_EXT_hand_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_HAND_INTERACTION_EXTENSION_NAME = "XR_EXT_hand_interaction"; - private EXTHandInteraction() {} + private EXTHandInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandJointsMotionRange.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandJointsMotionRange.java index 2fffe3a5dc..529df8ffda 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandJointsMotionRange.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandJointsMotionRange.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_hand_joints_motion_range extension. * *This extension augments the {@link EXTHandTracking XR_EXT_hand_tracking} extension to enable applications to request that the {@link XrHandJointLocationsEXT} returned by {@link EXTHandTracking#xrLocateHandJointsEXT LocateHandJointsEXT} should return hand joint locations conforming to a range of motion specified by the application.
* *The application must enable the {@link EXTHandTracking XR_EXT_hand_tracking} extension in order to use this extension.
- */ -public final class EXTHandJointsMotionRange { - - /** The extension specification version. */ - public static final int XR_EXT_hand_joints_motion_range_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_HAND_JOINTS_MOTION_RANGE_EXTENSION_NAME = "XR_EXT_hand_joints_motion_range"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_HAND_JOINTS_MOTION_RANGE_INFO_EXT = 1000080000; - + */ +public final class EXTHandJointsMotionRange { + + /** The extension specification version. */ + public static final int XR_EXT_hand_joints_motion_range_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_HAND_JOINTS_MOTION_RANGE_EXTENSION_NAME = "XR_EXT_hand_joints_motion_range"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_HAND_JOINTS_MOTION_RANGE_INFO_EXT = 1000080000; + /** * XrHandJointsMotionRangeEXT - Describes the hand animation range of motion. * @@ -42,11 +42,11 @@ public final class EXTHandJointsMotionRange { *{@link XrHandJointsMotionRangeInfoEXT}, {@link EXTHandTracking#xrLocateHandJointsEXT LocateHandJointsEXT}
- */ + */ public static final int - XR_HAND_JOINTS_MOTION_RANGE_UNOBSTRUCTED_EXT = 1, - XR_HAND_JOINTS_MOTION_RANGE_CONFORMING_TO_CONTROLLER_EXT = 2; + XR_HAND_JOINTS_MOTION_RANGE_UNOBSTRUCTED_EXT = 1, + XR_HAND_JOINTS_MOTION_RANGE_CONFORMING_TO_CONTROLLER_EXT = 2; - private EXTHandJointsMotionRange() {} + private EXTHandJointsMotionRange() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTracking.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTracking.java index 2915e0867e..fb73e12ae3 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTracking.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTracking.java @@ -4,31 +4,31 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_EXT_hand_tracking extension. * *This extension enables applications to locate the individual joints of hand tracking inputs. It enables applications to render hands in XR experiences and interact with virtual objects using hand joints.
- */ -public class EXTHandTracking { - - /** The extension specification version. */ - public static final int XR_EXT_hand_tracking_SPEC_VERSION = 4; - - /** The extension name. */ - public static final String XR_EXT_HAND_TRACKING_EXTENSION_NAME = "XR_EXT_hand_tracking"; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_HAND_TRACKER_EXT = 1000051000; - + */ +public class EXTHandTracking { + + /** The extension specification version. */ + public static final int XR_EXT_hand_tracking_SPEC_VERSION = 4; + + /** The extension name. */ + public static final String XR_EXT_HAND_TRACKING_EXTENSION_NAME = "XR_EXT_hand_tracking"; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_HAND_TRACKER_EXT = 1000051000; + /** * Extends {@code XrStructureType}. * @@ -41,14 +41,14 @@ public class EXTHandTracking { *{@link XrHandTrackerCreateInfoEXT}
- */ + */ public static final int - XR_HAND_LEFT_EXT = 1, - XR_HAND_RIGHT_EXT = 2; - + XR_HAND_LEFT_EXT = 1, + XR_HAND_RIGHT_EXT = 2; + /** * XrHandJointEXT - The name of hand joints that can be tracked * @@ -104,35 +104,35 @@ public class EXTHandTracking { *{@link XrHandTrackerCreateInfoEXT}
- */ - public static final int XR_HAND_JOINT_SET_DEFAULT_EXT = 0; - - /** API Constants */ - public static final int XR_HAND_JOINT_COUNT_EXT = 26; + */ + public static final int XR_HAND_JOINT_SET_DEFAULT_EXT = 0; + + /** API Constants */ + public static final int XR_HAND_JOINT_COUNT_EXT = 26; protected EXTHandTracking() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateHandTrackerEXT ] --- - - /** Unsafe version of: {@link #xrCreateHandTrackerEXT CreateHandTrackerEXT} */ - public static int nxrCreateHandTrackerEXT(XrSession session, long createInfo, long handTracker) { - long __functionAddress = session.getCapabilities().xrCreateHandTrackerEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), createInfo, handTracker, __functionAddress); - } + } + // --- [ xrCreateHandTrackerEXT ] --- + + /** Unsafe version of: {@link #xrCreateHandTrackerEXT CreateHandTrackerEXT} */ + public static int nxrCreateHandTrackerEXT(XrSession session, long createInfo, long handTracker) { + long __functionAddress = session.getCapabilities().xrCreateHandTrackerEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), createInfo, handTracker, __functionAddress); + } + /** * Create a hand joints handle. * @@ -219,17 +219,17 @@ public static int nxrCreateHandTrackerEXT(XrSession session, long createInfo, lo * @param session an {@code XrSession} in which the hand tracker will be active. * @param createInfo the {@link XrHandTrackerCreateInfoEXT} used to specify the hand tracker. * @param handTracker the returned {@code XrHandTrackerEXT} handle. - */ - @NativeType("XrResult") - public static int xrCreateHandTrackerEXT(XrSession session, @NativeType("XrHandTrackerCreateInfoEXT const *") XrHandTrackerCreateInfoEXT createInfo, @NativeType("XrHandTrackerEXT *") PointerBuffer handTracker) { - if (CHECKS) { - check(handTracker, 1); - } - return nxrCreateHandTrackerEXT(session, createInfo.address(), memAddress(handTracker)); - } - - // --- [ xrDestroyHandTrackerEXT ] --- + */ + @NativeType("XrResult") + public static int xrCreateHandTrackerEXT(XrSession session, @NativeType("XrHandTrackerCreateInfoEXT const *") XrHandTrackerCreateInfoEXT createInfo, @NativeType("XrHandTrackerEXT *") PointerBuffer handTracker) { + if (CHECKS) { + check(handTracker, 1); + } + return nxrCreateHandTrackerEXT(session, createInfo.address(), memAddress(handTracker)); + } + // --- [ xrDestroyHandTrackerEXT ] --- + /** * Destroy a hand joints handle. * @@ -269,28 +269,28 @@ public static int xrCreateHandTrackerEXT(XrSession session, @NativeType("XrHandT * * * @param handTracker an {@code XrHandTrackerEXT} previously created by {@link #xrCreateHandTrackerEXT CreateHandTrackerEXT}. - */ - @NativeType("XrResult") - public static int xrDestroyHandTrackerEXT(XrHandTrackerEXT handTracker) { - long __functionAddress = handTracker.getCapabilities().xrDestroyHandTrackerEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPI(handTracker.address(), __functionAddress); - } - - // --- [ xrLocateHandJointsEXT ] --- - - /** Unsafe version of: {@link #xrLocateHandJointsEXT LocateHandJointsEXT} */ - public static int nxrLocateHandJointsEXT(XrHandTrackerEXT handTracker, long locateInfo, long locations) { - long __functionAddress = handTracker.getCapabilities().xrLocateHandJointsEXT; - if (CHECKS) { - check(__functionAddress); - XrHandJointsLocateInfoEXT.validate(locateInfo); - } - return callPPPI(handTracker.address(), locateInfo, locations, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrDestroyHandTrackerEXT(XrHandTrackerEXT handTracker) { + long __functionAddress = handTracker.getCapabilities().xrDestroyHandTrackerEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPI(handTracker.address(), __functionAddress); + } + // --- [ xrLocateHandJointsEXT ] --- + + /** Unsafe version of: {@link #xrLocateHandJointsEXT LocateHandJointsEXT} */ + public static int nxrLocateHandJointsEXT(XrHandTrackerEXT handTracker, long locateInfo, long locations) { + long __functionAddress = handTracker.getCapabilities().xrLocateHandJointsEXT; + if (CHECKS) { + check(__functionAddress); + XrHandJointsLocateInfoEXT.validate(locateInfo); + } + return callPPPI(handTracker.address(), locateInfo, locations, __functionAddress); + } + /** * Locate hand joint locations. * @@ -340,10 +340,10 @@ public static int nxrLocateHandJointsEXT(XrHandTrackerEXT handTracker, long loca * @param handTracker an {@code XrHandTrackerEXT} previously created by {@link #xrCreateHandTrackerEXT CreateHandTrackerEXT}. * @param locateInfo a pointer to {@link XrHandJointsLocateInfoEXT} describing information to locate hand joints. * @param locations a pointer to {@link XrHandJointLocationsEXT} receiving the returned hand joint locations. - */ - @NativeType("XrResult") - public static int xrLocateHandJointsEXT(XrHandTrackerEXT handTracker, @NativeType("XrHandJointsLocateInfoEXT const *") XrHandJointsLocateInfoEXT locateInfo, @NativeType("XrHandJointLocationsEXT *") XrHandJointLocationsEXT locations) { - return nxrLocateHandJointsEXT(handTracker, locateInfo.address(), locations.address()); - } + */ + @NativeType("XrResult") + public static int xrLocateHandJointsEXT(XrHandTrackerEXT handTracker, @NativeType("XrHandJointsLocateInfoEXT const *") XrHandJointsLocateInfoEXT locateInfo, @NativeType("XrHandJointLocationsEXT *") XrHandJointLocationsEXT locations) { + return nxrLocateHandJointsEXT(handTracker, locateInfo.address(), locations.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTrackingDataSource.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTrackingDataSource.java index 5332d79db4..c5f7a473c4 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTrackingDataSource.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTHandTrackingDataSource.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_hand_tracking_data_source extension. * @@ -15,15 +15,15 @@ *This extension allows the application to specify the data sources that it wants data from when creating a hand tracking handle, and allows the runtime to specify the currently active data source.
* *The application must enable the {@link EXTHandTracking XR_EXT_hand_tracking} extension in order to use this extension.
- */ -public final class EXTHandTrackingDataSource { - - /** The extension specification version. */ - public static final int XR_EXT_hand_tracking_data_source_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_HAND_TRACKING_DATA_SOURCE_EXTENSION_NAME = "XR_EXT_hand_tracking_data_source"; - + */ +public final class EXTHandTrackingDataSource { + + /** The extension specification version. */ + public static final int XR_EXT_hand_tracking_data_source_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_HAND_TRACKING_DATA_SOURCE_EXTENSION_NAME = "XR_EXT_hand_tracking_data_source"; + /** * Extends {@code XrStructureType}. * @@ -33,11 +33,11 @@ public final class EXTHandTrackingDataSource { *{@link XrHandTrackingDataSourceInfoEXT}, {@link XrHandTrackingDataSourceStateEXT}, {@link EXTHandTracking#xrCreateHandTrackerEXT CreateHandTrackerEXT}, {@link EXTHandTracking#xrLocateHandJointsEXT LocateHandJointsEXT}
- */ + */ public static final int - XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_EXT = 1, - XR_HAND_TRACKING_DATA_SOURCE_CONTROLLER_EXT = 2; + XR_HAND_TRACKING_DATA_SOURCE_UNOBSTRUCTED_EXT = 1, + XR_HAND_TRACKING_DATA_SOURCE_CONTROLLER_EXT = 2; - private EXTHandTrackingDataSource() {} + private EXTHandTrackingDataSource() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTLocalFloor.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTLocalFloor.java index 32b02e7c41..0fdad1f281 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTLocalFloor.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTLocalFloor.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_local_floor extension. * @@ -13,18 +13,18 @@ *As defined in the core OpenXR spec, {@code LOCAL} space is useful when an application needs to render seated-scale content that is not positioned relative to the physical floor and {@code STAGE} space is useful when an application needs to render standing-scale content that is relative to the physical floor.
* *The core OpenXR specification describes that standing-scale experiences are meant to use the {@code STAGE} reference space. However, using the {@code STAGE} forces the user to move to the stage space in order to operate their experience, rather than just standing locally where they are.
- */ -public final class EXTLocalFloor { - - /** The extension specification version. */ - public static final int XR_EXT_local_floor_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_LOCAL_FLOOR_EXTENSION_NAME = "XR_EXT_local_floor"; - - /** Extends {@code XrReferenceSpaceType}. */ - public static final int XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR_EXT = 1000426000; + */ +public final class EXTLocalFloor { + + /** The extension specification version. */ + public static final int XR_EXT_local_floor_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_LOCAL_FLOOR_EXTENSION_NAME = "XR_EXT_local_floor"; + + /** Extends {@code XrReferenceSpaceType}. */ + public static final int XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR_EXT = 1000426000; - private EXTLocalFloor() {} + private EXTLocalFloor() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPalmPose.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPalmPose.java index 484e748cb5..11a4bac535 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPalmPose.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPalmPose.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_palm_pose extension. * @@ -13,15 +13,15 @@ *The application can use the subpathname:/input/palm_ext/pose component path to place visual content representing the user’s physical hand location. Application visuals may depict, for example, realistic human hands that are very simply animated or creative depictions such as an animal, an alien, or robot limb extremity.
* *Note that this is not intended to be an alternative to extensions that perform hand tracking for more complex use cases: the use of "palm" in the name is to reflect that it is a user-focused pose rather than a held-object-focused pose.
- */ -public final class EXTPalmPose { - - /** The extension specification version. */ - public static final int XR_EXT_palm_pose_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_EXT_PALM_POSE_EXTENSION_NAME = "XR_EXT_palm_pose"; + */ +public final class EXTPalmPose { + + /** The extension specification version. */ + public static final int XR_EXT_palm_pose_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_EXT_PALM_POSE_EXTENSION_NAME = "XR_EXT_palm_pose"; - private EXTPalmPose() {} + private EXTPalmPose() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPerformanceSettings.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPerformanceSettings.java index 67bdedc0de..7afe52f2b6 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPerformanceSettings.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTPerformanceSettings.java @@ -4,12 +4,12 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_EXT_performance_settings extension. * @@ -23,18 +23,18 @@ *This extension enables the application to differentiate the newer form factor of motion controller released with the Samsung Odyssey headset. It enables the application to customize the appearance and experience of the controller differently from the original mixed reality motion controller.
+ *This extension enables the application to differentiate the newer form factor of motion controller released with the Samsung Odyssey headset. It enables the application to customize the appearance and experience of the controller differently from the original mixed reality motion controller.
* - *This extension added a new interaction profile pathname:/interaction_profiles/samsung/odyssey_controller to describe the Odyssey controller. The action bindings of this interaction profile work exactly the same as the pathname:/interaction_profiles/microsoft/motion_controller in terms of valid user paths and supported input and output component paths.
+ *This extension added a new interaction profile pathname:/interaction_profiles/samsung/odyssey_controller to describe the Odyssey controller. The action bindings of this interaction profile work exactly the same as the pathname:/interaction_profiles/microsoft/motion_controller in terms of valid user paths and supported input and output component paths.
* *If the application doesn’t do its own custom rendering for specific motion controllers, it should avoid using this extension and instead just use subpathname:/microsoft/motion_controller, as runtimes should treat both controllers equally when applications declare action bindings only for that profile.
* *If the application wants to customize rendering for specific motion controllers, it should setup the suggested bindings for subpathname:/samsung/odyssey_controller the same as subpathname:/microsoft/motion_controller when calling {@link XR10#xrSuggestInteractionProfileBindings SuggestInteractionProfileBindings}, and expect the same action bindings. Then the application can listen to the {@link XrEventDataInteractionProfileChanged} event and inspect the returned interaction profile from {@link XR10#xrGetCurrentInteractionProfile GetCurrentInteractionProfile} to differentiate which controller is being used by the user, and hence customize the appearance or experience of the motion controller specifically for the form factor of subpathname:/samsung/odyssey_controller.
- */ -public final class EXTSamsungOdysseyController { - - /** The extension specification version. */ - public static final int XR_EXT_samsung_odyssey_controller_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_SAMSUNG_ODYSSEY_CONTROLLER_EXTENSION_NAME = "XR_EXT_samsung_odyssey_controller"; + */ +public final class EXTSamsungOdysseyController { + + /** The extension specification version. */ + public static final int XR_EXT_samsung_odyssey_controller_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_SAMSUNG_ODYSSEY_CONTROLLER_EXTENSION_NAME = "XR_EXT_samsung_odyssey_controller"; - private EXTSamsungOdysseyController() {} + private EXTSamsungOdysseyController() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTThermalQuery.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTThermalQuery.java index 38e58b68a8..5fe9dfe04a 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTThermalQuery.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTThermalQuery.java @@ -4,43 +4,43 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_EXT_thermal_query extension. * *This extension provides an API to query a domain’s current thermal warning level and current thermal trend.
- */ -public class EXTThermalQuery { - - /** The extension specification version. */ - public static final int XR_EXT_thermal_query_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_EXT_THERMAL_QUERY_EXTENSION_NAME = "XR_EXT_thermal_query"; + */ +public class EXTThermalQuery { + + /** The extension specification version. */ + public static final int XR_EXT_thermal_query_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_EXT_THERMAL_QUERY_EXTENSION_NAME = "XR_EXT_thermal_query"; protected EXTThermalQuery() { throw new UnsupportedOperationException(); - } - - // --- [ xrThermalGetTemperatureTrendEXT ] --- - - /** Unsafe version of: {@link #xrThermalGetTemperatureTrendEXT ThermalGetTemperatureTrendEXT} */ - public static int nxrThermalGetTemperatureTrendEXT(XrSession session, int domain, long notificationLevel, long tempHeadroom, long tempSlope) { - long __functionAddress = session.getCapabilities().xrThermalGetTemperatureTrendEXT; - if (CHECKS) { - check(__functionAddress); - } - return callPPPPI(session.address(), domain, notificationLevel, tempHeadroom, tempSlope, __functionAddress); - } + } + // --- [ xrThermalGetTemperatureTrendEXT ] --- + + /** Unsafe version of: {@link #xrThermalGetTemperatureTrendEXT ThermalGetTemperatureTrendEXT} */ + public static int nxrThermalGetTemperatureTrendEXT(XrSession session, int domain, long notificationLevel, long tempHeadroom, long tempSlope) { + long __functionAddress = session.getCapabilities().xrThermalGetTemperatureTrendEXT; + if (CHECKS) { + check(__functionAddress); + } + return callPPPPI(session.address(), domain, notificationLevel, tempHeadroom, tempSlope, __functionAddress); + } + /** * xrThermalGetTemperatureTrendEXT. * @@ -89,15 +89,15 @@ public static int nxrThermalGetTemperatureTrendEXT(XrSession session, int domain * @param notificationLevel : the current warning level * @param tempHeadroom : temperature headroom in degrees Celsius, expressing how far the most-critical temperature of the domain is from its thermal throttling threshold temperature. * @param tempSlope : the current trend in degrees Celsius per second of the most critical temperature of the domain. - */ - @NativeType("XrResult") - public static int xrThermalGetTemperatureTrendEXT(XrSession session, @NativeType("XrPerfSettingsDomainEXT") int domain, @NativeType("XrPerfSettingsNotificationLevelEXT *") IntBuffer notificationLevel, @NativeType("float *") FloatBuffer tempHeadroom, @NativeType("float *") FloatBuffer tempSlope) { - if (CHECKS) { - check(notificationLevel, 1); - check(tempHeadroom, 1); - check(tempSlope, 1); - } - return nxrThermalGetTemperatureTrendEXT(session, domain, memAddress(notificationLevel), memAddress(tempHeadroom), memAddress(tempSlope)); - } + */ + @NativeType("XrResult") + public static int xrThermalGetTemperatureTrendEXT(XrSession session, @NativeType("XrPerfSettingsDomainEXT") int domain, @NativeType("XrPerfSettingsNotificationLevelEXT *") IntBuffer notificationLevel, @NativeType("float *") FloatBuffer tempHeadroom, @NativeType("float *") FloatBuffer tempSlope) { + if (CHECKS) { + check(notificationLevel, 1); + check(tempHeadroom, 1); + check(tempSlope, 1); + } + return nxrThermalGetTemperatureTrendEXT(session, domain, memAddress(notificationLevel), memAddress(tempHeadroom), memAddress(tempSlope)); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTUUIUD.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTUUIUD.java index ef29169592..c5b2247ede 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTUUIUD.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTUUIUD.java @@ -4,23 +4,23 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_uuid extension. * - *This extension defines a Universally Unique Identifier that follows RFC 4122.
- */ -public final class EXTUUIUD { - - /** The extension specification version. */ - public static final int XR_EXT_uuid_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_UUID_EXTENSION_NAME = "XR_EXT_uuid"; - - /** XR_UUID_SIZE_EXT */ - public static final int XR_UUID_SIZE_EXT = 16; + *This extension defines a Universally Unique Identifier that follows RFC 4122.
+ */ +public final class EXTUUIUD { + + /** The extension specification version. */ + public static final int XR_EXT_uuid_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_UUID_EXTENSION_NAME = "XR_EXT_uuid"; + + /** XR_UUID_SIZE_EXT */ + public static final int XR_UUID_SIZE_EXT = 16; - private EXTUUIUD() {} + private EXTUUIUD() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTViewConfigurationDepthRange.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTViewConfigurationDepthRange.java index 40fae60771..8078753cfc 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTViewConfigurationDepthRange.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTViewConfigurationDepthRange.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_view_configuration_depth_range extension. * @@ -13,18 +13,18 @@ *Displaying rendered content outside the recommended min/max depth range would violate the system requirements for a properly integrated application, and can result in a poor user experience due to observed visual artifacts, visual discomfort, or fatigue. The near/far depth values will fall in the range of (0..+infinity] where max({@code recommendedNearZ}, {@code minNearZ}) < min({@code recommendedFarZ}, {@code maxFarZ}). Infinity is defined matching the standard library definition such that std::isinf will return true for a returned infinite value.
* *In order to provide the application with the appropriate depth range at which to render content for each {@link XrViewConfigurationView}, this extension provides additional view configuration information, as defined by {@link XrViewConfigurationDepthRangeEXT}, to inform the application of the min/max recommended and absolute distances at which content should be rendered for that view.
- */ -public final class EXTViewConfigurationDepthRange { - - /** The extension specification version. */ - public static final int XR_EXT_view_configuration_depth_range_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME = "XR_EXT_view_configuration_depth_range"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT = 1000046000; + */ +public final class EXTViewConfigurationDepthRange { + + /** The extension specification version. */ + public static final int XR_EXT_view_configuration_depth_range_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_EXT_VIEW_CONFIGURATION_DEPTH_RANGE_EXTENSION_NAME = "XR_EXT_view_configuration_depth_range"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT = 1000046000; - private EXTViewConfigurationDepthRange() {} + private EXTViewConfigurationDepthRange() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTWin32AppcontainerCompatible.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTWin32AppcontainerCompatible.java index 6f970d0da2..f3d239c173 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTWin32AppcontainerCompatible.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTWin32AppcontainerCompatible.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXT_win32_appcontainer_compatible extension. * @@ -15,15 +15,15 @@ *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"; + */ +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() {} + private EXTWin32AppcontainerCompatible() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTXOverlay.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTXOverlay.java index 1bb632358c..602f7424f5 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTXOverlay.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/EXTXOverlay.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_EXTX_overlay extension. * @@ -25,20 +25,20 @@ *To enable the functionality of this extension, an application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ *To enable the functionality of this extension, an application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
* *To create an overlay session, an application must pass an {@link XrSessionCreateInfoOverlayEXTX} structure to {@link XR10#xrCreateSession CreateSession} via the {@link XrSessionCreateInfo} structure’s {@code next} parameter.
* *An overlay application should not assume that the values returned to it by {@link XR10#xrWaitFrame WaitFrame} in {@code predictedDisplayTime} in {@link XrFrameState} will be the same as the values returned to the main application or even correlated.
- */ -public final class EXTXOverlay { - - /** The extension specification version. */ - public static final int XR_EXTX_overlay_SPEC_VERSION = 5; - - /** The extension name. */ - public static final String XR_EXTX_OVERLAY_EXTENSION_NAME = "XR_EXTX_overlay"; - + */ +public final class EXTXOverlay { + + /** The extension specification version. */ + public static final int XR_EXTX_overlay_SPEC_VERSION = 5; + + /** The extension name. */ + public static final String XR_EXTX_OVERLAY_EXTENSION_NAME = "XR_EXTX_overlay"; + /** * Extends {@code XrStructureType}. * @@ -48,14 +48,14 @@ public final class EXTXOverlay { *This extension enables applications to locate the individual body joints that represent the estimated position of the user of the device. It enables applications to render the upper body in XR experiences.
- */ -public class FBBodyTracking { - - /** The extension specification version. */ - public static final int XR_FB_body_tracking_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_BODY_TRACKING_EXTENSION_NAME = "XR_FB_body_tracking"; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_BODY_TRACKER_FB = 1000076000; - + */ +public class FBBodyTracking { + + /** The extension specification version. */ + public static final int XR_FB_body_tracking_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_BODY_TRACKING_EXTENSION_NAME = "XR_FB_body_tracking"; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_BODY_TRACKER_FB = 1000076000; + /** * Extends {@code XrStructureType}. * @@ -41,14 +41,14 @@ public class FBBodyTracking { *{@link XrBodyTrackerCreateInfoFB}
- */ - public static final int XR_BODY_JOINT_SET_DEFAULT_FB = 0; + */ + public static final int XR_BODY_JOINT_SET_DEFAULT_FB = 0; protected FBBodyTracking() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateBodyTrackerFB ] --- - - /** Unsafe version of: {@link #xrCreateBodyTrackerFB CreateBodyTrackerFB} */ - public static int nxrCreateBodyTrackerFB(XrSession session, long createInfo, long bodyTracker) { - long __functionAddress = session.getCapabilities().xrCreateBodyTrackerFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), createInfo, bodyTracker, __functionAddress); - } + } + // --- [ xrCreateBodyTrackerFB ] --- + + /** Unsafe version of: {@link #xrCreateBodyTrackerFB CreateBodyTrackerFB} */ + public static int nxrCreateBodyTrackerFB(XrSession session, long createInfo, long bodyTracker) { + long __functionAddress = session.getCapabilities().xrCreateBodyTrackerFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), createInfo, bodyTracker, __functionAddress); + } + /** * Create a body joints handle. * @@ -302,17 +302,17 @@ public static int nxrCreateBodyTrackerFB(XrSession session, long createInfo, lon * @param session an {@code XrSession} in which the body tracker will be active. * @param createInfo the {@link XrBodyTrackerCreateInfoFB} used to specify the body tracker. * @param bodyTracker the returned {@code XrBodyTrackerFB} handle. - */ - @NativeType("XrResult") - public static int xrCreateBodyTrackerFB(XrSession session, @NativeType("XrBodyTrackerCreateInfoFB const *") XrBodyTrackerCreateInfoFB createInfo, @NativeType("XrBodyTrackerFB *") PointerBuffer bodyTracker) { - if (CHECKS) { - check(bodyTracker, 1); - } - return nxrCreateBodyTrackerFB(session, createInfo.address(), memAddress(bodyTracker)); - } - - // --- [ xrDestroyBodyTrackerFB ] --- + */ + @NativeType("XrResult") + public static int xrCreateBodyTrackerFB(XrSession session, @NativeType("XrBodyTrackerCreateInfoFB const *") XrBodyTrackerCreateInfoFB createInfo, @NativeType("XrBodyTrackerFB *") PointerBuffer bodyTracker) { + if (CHECKS) { + check(bodyTracker, 1); + } + return nxrCreateBodyTrackerFB(session, createInfo.address(), memAddress(bodyTracker)); + } + // --- [ xrDestroyBodyTrackerFB ] --- + /** * Destroy a body joints handle. * @@ -352,28 +352,28 @@ public static int xrCreateBodyTrackerFB(XrSession session, @NativeType("XrBodyTr * * * @param bodyTracker an {@code XrBodyTrackerFB} previously created by {@link #xrCreateBodyTrackerFB CreateBodyTrackerFB}. - */ - @NativeType("XrResult") - public static int xrDestroyBodyTrackerFB(XrBodyTrackerFB bodyTracker) { - long __functionAddress = bodyTracker.getCapabilities().xrDestroyBodyTrackerFB; - if (CHECKS) { - check(__functionAddress); - } - return callPI(bodyTracker.address(), __functionAddress); - } - - // --- [ xrLocateBodyJointsFB ] --- - - /** Unsafe version of: {@link #xrLocateBodyJointsFB LocateBodyJointsFB} */ - public static int nxrLocateBodyJointsFB(XrBodyTrackerFB bodyTracker, long locateInfo, long locations) { - long __functionAddress = bodyTracker.getCapabilities().xrLocateBodyJointsFB; - if (CHECKS) { - check(__functionAddress); - XrBodyJointsLocateInfoFB.validate(locateInfo); - } - return callPPPI(bodyTracker.address(), locateInfo, locations, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrDestroyBodyTrackerFB(XrBodyTrackerFB bodyTracker) { + long __functionAddress = bodyTracker.getCapabilities().xrDestroyBodyTrackerFB; + if (CHECKS) { + check(__functionAddress); + } + return callPI(bodyTracker.address(), __functionAddress); + } + // --- [ xrLocateBodyJointsFB ] --- + + /** Unsafe version of: {@link #xrLocateBodyJointsFB LocateBodyJointsFB} */ + public static int nxrLocateBodyJointsFB(XrBodyTrackerFB bodyTracker, long locateInfo, long locations) { + long __functionAddress = bodyTracker.getCapabilities().xrLocateBodyJointsFB; + if (CHECKS) { + check(__functionAddress); + XrBodyJointsLocateInfoFB.validate(locateInfo); + } + return callPPPI(bodyTracker.address(), locateInfo, locations, __functionAddress); + } + /** * Locate body joint locations. * @@ -423,23 +423,23 @@ public static int nxrLocateBodyJointsFB(XrBodyTrackerFB bodyTracker, long locate * @param bodyTracker an {@code XrBodyTrackerFB} previously created by {@link #xrCreateBodyTrackerFB CreateBodyTrackerFB}. * @param locateInfo a pointer to {@link XrBodyJointsLocateInfoFB} describing information to locate body joints. * @param locations a pointer to {@link XrBodyJointLocationsFB} receiving the returned body joint locations. - */ - @NativeType("XrResult") - public static int xrLocateBodyJointsFB(XrBodyTrackerFB bodyTracker, @NativeType("XrBodyJointsLocateInfoFB const *") XrBodyJointsLocateInfoFB locateInfo, @NativeType("XrBodyJointLocationsFB *") XrBodyJointLocationsFB locations) { - return nxrLocateBodyJointsFB(bodyTracker, locateInfo.address(), locations.address()); - } - - // --- [ xrGetBodySkeletonFB ] --- - - /** Unsafe version of: {@link #xrGetBodySkeletonFB GetBodySkeletonFB} */ - public static int nxrGetBodySkeletonFB(XrBodyTrackerFB bodyTracker, long skeleton) { - long __functionAddress = bodyTracker.getCapabilities().xrGetBodySkeletonFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(bodyTracker.address(), skeleton, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrLocateBodyJointsFB(XrBodyTrackerFB bodyTracker, @NativeType("XrBodyJointsLocateInfoFB const *") XrBodyJointsLocateInfoFB locateInfo, @NativeType("XrBodyJointLocationsFB *") XrBodyJointLocationsFB locations) { + return nxrLocateBodyJointsFB(bodyTracker, locateInfo.address(), locations.address()); + } + // --- [ xrGetBodySkeletonFB ] --- + + /** Unsafe version of: {@link #xrGetBodySkeletonFB GetBodySkeletonFB} */ + public static int nxrGetBodySkeletonFB(XrBodyTrackerFB bodyTracker, long skeleton) { + long __functionAddress = bodyTracker.getCapabilities().xrGetBodySkeletonFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(bodyTracker.address(), skeleton, __functionAddress); + } + /** * Retrieve body skeleton. * @@ -489,10 +489,10 @@ public static int nxrGetBodySkeletonFB(XrBodyTrackerFB bodyTracker, long skeleto * * @param bodyTracker an {@code XrBodyTrackerFB} previously created by {@link #xrCreateBodyTrackerFB CreateBodyTrackerFB}. * @param skeleton a pointer to {@link XrBodySkeletonFB} receiving the returned body skeleton hierarchy. - */ - @NativeType("XrResult") - public static int xrGetBodySkeletonFB(XrBodyTrackerFB bodyTracker, @NativeType("XrBodySkeletonFB *") XrBodySkeletonFB skeleton) { - return nxrGetBodySkeletonFB(bodyTracker, skeleton.address()); - } + */ + @NativeType("XrResult") + public static int xrGetBodySkeletonFB(XrBodyTrackerFB bodyTracker, @NativeType("XrBodySkeletonFB *") XrBodySkeletonFB skeleton) { + return nxrGetBodySkeletonFB(bodyTracker, skeleton.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBColorSpace.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBColorSpace.java index 7abcfef309..32fbb10efd 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBColorSpace.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBColorSpace.java @@ -4,17 +4,17 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import javax.annotation.*; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_FB_color_space extension. * @@ -28,22 +28,22 @@ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBColorSpace { - - /** The extension specification version. */ - public static final int XR_FB_color_space_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_FB_COLOR_SPACE_EXTENSION_NAME = "XR_FB_color_space"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB = 1000108000; - - /** Extends {@code XrResult}. */ - public static final int XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB = -1000108000; - + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBColorSpace { + + /** The extension specification version. */ + public static final int XR_FB_color_space_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_FB_COLOR_SPACE_EXTENSION_NAME = "XR_FB_color_space"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_SYSTEM_COLOR_SPACE_PROPERTIES_FB = 1000108000; + + /** Extends {@code XrResult}. */ + public static final int XR_ERROR_COLOR_SPACE_UNSUPPORTED_FB = -1000108000; + /** * XrColorSpaceFB - Color Space Type * @@ -99,36 +99,36 @@ public class FBColorSpace { *{@link XrSystemColorSpacePropertiesFB}, {@link #xrEnumerateColorSpacesFB EnumerateColorSpacesFB}, {@link #xrSetColorSpaceFB SetColorSpaceFB}
- */ + */ public static final int - XR_COLOR_SPACE_UNMANAGED_FB = 0, - XR_COLOR_SPACE_REC2020_FB = 1, - XR_COLOR_SPACE_REC709_FB = 2, - XR_COLOR_SPACE_RIFT_CV1_FB = 3, - XR_COLOR_SPACE_RIFT_S_FB = 4, - XR_COLOR_SPACE_QUEST_FB = 5, - XR_COLOR_SPACE_P3_FB = 6, - XR_COLOR_SPACE_ADOBE_RGB_FB = 7; + XR_COLOR_SPACE_UNMANAGED_FB = 0, + XR_COLOR_SPACE_REC2020_FB = 1, + XR_COLOR_SPACE_REC709_FB = 2, + XR_COLOR_SPACE_RIFT_CV1_FB = 3, + XR_COLOR_SPACE_RIFT_S_FB = 4, + XR_COLOR_SPACE_QUEST_FB = 5, + XR_COLOR_SPACE_P3_FB = 6, + XR_COLOR_SPACE_ADOBE_RGB_FB = 7; protected FBColorSpace() { throw new UnsupportedOperationException(); - } - - // --- [ xrEnumerateColorSpacesFB ] --- + } + // --- [ xrEnumerateColorSpacesFB ] --- + /** * Unsafe version of: {@link #xrEnumerateColorSpacesFB EnumerateColorSpacesFB} * * @param colorSpaceCapacityInput the capacity of the {@code colorSpaces} array, or 0 to retrieve the required capacity. - */ - public static int nxrEnumerateColorSpacesFB(XrSession session, int colorSpaceCapacityInput, long colorSpaceCountOutput, long colorSpaces) { - long __functionAddress = session.getCapabilities().xrEnumerateColorSpacesFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), colorSpaceCapacityInput, colorSpaceCountOutput, colorSpaces, __functionAddress); - } - + */ + public static int nxrEnumerateColorSpacesFB(XrSession session, int colorSpaceCapacityInput, long colorSpaceCountOutput, long colorSpaces) { + long __functionAddress = session.getCapabilities().xrEnumerateColorSpacesFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), colorSpaceCapacityInput, colorSpaceCountOutput, colorSpaces, __functionAddress); + } + /** * Enumerates color spaces. * @@ -183,17 +183,17 @@ public static int nxrEnumerateColorSpacesFB(XrSession session, int colorSpaceCap * @param session the session that enumerates the supported color spaces. * @param colorSpaceCountOutput a pointer to the count of {@code XrColorSpaceFB} {@code colorSpaces} written, or a pointer to the required capacity in the case that {@code colorSpaceCapacityInput} is insufficient. * @param colorSpaces a pointer to an array of {@code XrColorSpaceFB} color spaces, but can be {@code NULL} if {@code colorSpaceCapacityInput} is 0. - */ - @NativeType("XrResult") - public static int xrEnumerateColorSpacesFB(XrSession session, @NativeType("uint32_t *") IntBuffer colorSpaceCountOutput, @Nullable @NativeType("XrColorSpaceFB *") IntBuffer colorSpaces) { - if (CHECKS) { - check(colorSpaceCountOutput, 1); - } - return nxrEnumerateColorSpacesFB(session, remainingSafe(colorSpaces), memAddress(colorSpaceCountOutput), memAddressSafe(colorSpaces)); - } - - // --- [ xrSetColorSpaceFB ] --- + */ + @NativeType("XrResult") + public static int xrEnumerateColorSpacesFB(XrSession session, @NativeType("uint32_t *") IntBuffer colorSpaceCountOutput, @Nullable @NativeType("XrColorSpaceFB *") IntBuffer colorSpaces) { + if (CHECKS) { + check(colorSpaceCountOutput, 1); + } + return nxrEnumerateColorSpacesFB(session, remainingSafe(colorSpaces), memAddress(colorSpaceCountOutput), memAddressSafe(colorSpaces)); + } + // --- [ xrSetColorSpaceFB ] --- + /** * Set a color space. * @@ -212,7 +212,7 @@ public static int xrEnumerateColorSpacesFB(XrSession session, @NativeType("uint3 * *Formal definitions of color spaces contain a number of aspects such as gamma correction, max luminance and more. However, {@link #xrSetColorSpaceFB SetColorSpaceFB} will only affect the color gamut of the output by transforming the color gamut from the source (defined by the {@code colorSpace} parameter) to the HMD display’s color gamut (defined by the hardware internally). This call will not affect gamma correction, leaving that to follow the GPU texture format standards. Luminance, tonemapping, and other aspects of the color space will also remain unaffected.
* - *For more info on color management in Oculus HMDs, please refer to this guide: Color Management in Oculus Headsets
+ *For more info on color management in Oculus HMDs, please refer to this guide: Color Management in Oculus Headsets
* *Like color, destination alpha is initialized to 0 before composition begins.
* - *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
* *These blend factors are specified by attaching a {@link XrCompositionLayerAlphaBlendFB} structure to the {@code next} chain of a {@link XrCompositionLayerBaseHeader}-derived layer structure.
- */ -public final class FBCompositionLayerAlphaBlend { - - /** The extension specification version. */ - public static final int XR_FB_composition_layer_alpha_blend_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME = "XR_FB_composition_layer_alpha_blend"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB = 1000041001; - + */ +public final class FBCompositionLayerAlphaBlend { + + /** The extension specification version. */ + public static final int XR_FB_composition_layer_alpha_blend_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_FB_COMPOSITION_LAYER_ALPHA_BLEND_EXTENSION_NAME = "XR_FB_composition_layer_alpha_blend"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB = 1000041001; + /** * XrBlendFactorFB - Blend Factor Types * @@ -46,15 +46,15 @@ public final class FBCompositionLayerAlphaBlend { *When composing each layer, if depth testing is requested, the incoming layer depths are transformed into the compositor window space depth and compared to the depth stored in the frame buffer. After the transformation, incoming depths that are outside of the range of the compositor window space depth must be clamped. If the depth test fails, the fragment is discarded. If the depth test passes the depth buffer is updated if depth writes are enabled, and color processing continues.
* *Depth testing requires depth values for the layer. For projection layers, this can be supplied via the {@link KHRCompositionLayerDepth XR_KHR_composition_layer_depth} extension. For geometric primitive layers, the runtime computes the depth of the sample directly from the layer parameters. An {@link XrCompositionLayerDepthTestFB} chained to layers without depth must be ignored.
- */ -public final class FBCompositionLayerDepthTest { - - /** The extension specification version. */ - public static final int XR_FB_composition_layer_depth_test_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME = "XR_FB_composition_layer_depth_test"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB = 1000212000; - + */ +public final class FBCompositionLayerDepthTest { + + /** The extension specification version. */ + public static final int XR_FB_composition_layer_depth_test_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME = "XR_FB_composition_layer_depth_test"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_FB = 1000212000; + /** * XrCompareOpFB - Compare Operation * @@ -44,17 +44,17 @@ public final class FBCompositionLayerDepthTest { *{@link XrCompositionLayerDepthTestFB}
- */ + */ public static final int - XR_COMPARE_OP_NEVER_FB = 0, - XR_COMPARE_OP_LESS_FB = 1, - XR_COMPARE_OP_EQUAL_FB = 2, - XR_COMPARE_OP_LESS_OR_EQUAL_FB = 3, - XR_COMPARE_OP_GREATER_FB = 4, - XR_COMPARE_OP_NOT_EQUAL_FB = 5, - XR_COMPARE_OP_GREATER_OR_EQUAL_FB = 6, - XR_COMPARE_OP_ALWAYS_FB = 7; + XR_COMPARE_OP_NEVER_FB = 0, + XR_COMPARE_OP_LESS_FB = 1, + XR_COMPARE_OP_EQUAL_FB = 2, + XR_COMPARE_OP_LESS_OR_EQUAL_FB = 3, + XR_COMPARE_OP_GREATER_FB = 4, + XR_COMPARE_OP_NOT_EQUAL_FB = 5, + XR_COMPARE_OP_GREATER_OR_EQUAL_FB = 6, + XR_COMPARE_OP_ALWAYS_FB = 7; - private FBCompositionLayerDepthTest() {} + private FBCompositionLayerDepthTest() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerImageLayout.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerImageLayout.java index 4817df1d80..a6b1b0c63f 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerImageLayout.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerImageLayout.java @@ -4,28 +4,28 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_composition_layer_image_layout extension. * *This extension does not define a new composition layer type, but rather it defines parameters that change the interpretation of the image layout, where the default image layout is dictated by the Graphics API.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBCompositionLayerImageLayout { - - /** The extension specification version. */ - public static final int XR_FB_composition_layer_image_layout_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_COMPOSITION_LAYER_IMAGE_LAYOUT_EXTENSION_NAME = "XR_FB_composition_layer_image_layout"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_IMAGE_LAYOUT_FB = 1000040000; - - /** XrCompositionLayerImageLayoutFlagBitsFB - XrCompositionLayerImageLayoutFlagBitsFB */ - public static final int XR_COMPOSITION_LAYER_IMAGE_LAYOUT_VERTICAL_FLIP_BIT_FB = 0x1; + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBCompositionLayerImageLayout { + + /** The extension specification version. */ + public static final int XR_FB_composition_layer_image_layout_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_COMPOSITION_LAYER_IMAGE_LAYOUT_EXTENSION_NAME = "XR_FB_composition_layer_image_layout"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_IMAGE_LAYOUT_FB = 1000040000; + + /** XrCompositionLayerImageLayoutFlagBitsFB - XrCompositionLayerImageLayoutFlagBitsFB */ + public static final int XR_COMPOSITION_LAYER_IMAGE_LAYOUT_VERTICAL_FLIP_BIT_FB = 0x1; - private FBCompositionLayerImageLayout() {} + private FBCompositionLayerImageLayout() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerSecureContent.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerSecureContent.java index d51b06a27f..4695fe1e6c 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerSecureContent.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBCompositionLayerSecureContent.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_composition_layer_secure_content extension. * *This extension does not define a new composition layer type, but rather it provides support for the application to specify an existing composition layer type has secure content and whether it must be completely excluded from external outputs, like video or screen capture, or if proxy content must be rendered in its place.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBCompositionLayerSecureContent { - - /** The extension specification version. */ - public static final int XR_FB_composition_layer_secure_content_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_NAME = "XR_FB_composition_layer_secure_content"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB = 1000072000; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBCompositionLayerSecureContent { + + /** The extension specification version. */ + public static final int XR_FB_composition_layer_secure_content_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_COMPOSITION_LAYER_SECURE_CONTENT_EXTENSION_NAME = "XR_FB_composition_layer_secure_content"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_SECURE_CONTENT_FB = 1000072000; + /** * XrCompositionLayerSecureContentFlagBitsFB - XrCompositionLayerSecureContentFlagBitsFB * @@ -32,11 +32,11 @@ public final class FBCompositionLayerSecureContent { *This extension allows applications to request the use of processing options such as sharpening or super-sampling on a composition layer.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBCompositionLayerSettings { - - /** The extension specification version. */ - public static final int XR_FB_composition_layer_settings_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME = "XR_FB_composition_layer_settings"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_SETTINGS_FB = 1000204000; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBCompositionLayerSettings { + + /** The extension specification version. */ + public static final int XR_FB_composition_layer_settings_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_COMPOSITION_LAYER_SETTINGS_EXTENSION_NAME = "XR_FB_composition_layer_settings"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_SETTINGS_FB = 1000204000; + /** * XrCompositionLayerSettingsFlagBitsFB - XrCompositionLayerSettingsFlagBitsFB * @@ -34,13 +34,13 @@ public final class FBCompositionLayerSettings { *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBDisplayRefreshRate { - - /** The extension specification version. */ - public static final int XR_FB_display_refresh_rate_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME = "XR_FB_display_refresh_rate"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_EVENT_DATA_DISPLAY_REFRESH_RATE_CHANGED_FB = 1000101000; - - /** Extends {@code XrResult}. */ - public static final int XR_ERROR_DISPLAY_REFRESH_RATE_UNSUPPORTED_FB = -1000101000; + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBDisplayRefreshRate { + + /** The extension specification version. */ + public static final int XR_FB_display_refresh_rate_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_DISPLAY_REFRESH_RATE_EXTENSION_NAME = "XR_FB_display_refresh_rate"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_EVENT_DATA_DISPLAY_REFRESH_RATE_CHANGED_FB = 1000101000; + + /** Extends {@code XrResult}. */ + public static final int XR_ERROR_DISPLAY_REFRESH_RATE_UNSUPPORTED_FB = -1000101000; protected FBDisplayRefreshRate() { throw new UnsupportedOperationException(); - } - - // --- [ xrEnumerateDisplayRefreshRatesFB ] --- + } + // --- [ xrEnumerateDisplayRefreshRatesFB ] --- + /** * Unsafe version of: {@link #xrEnumerateDisplayRefreshRatesFB EnumerateDisplayRefreshRatesFB} * * @param displayRefreshRateCapacityInput the capacity of the {@code displayRefreshRates}, or 0 to retrieve the required capacity. - */ - public static int nxrEnumerateDisplayRefreshRatesFB(XrSession session, int displayRefreshRateCapacityInput, long displayRefreshRateCountOutput, long displayRefreshRates) { - long __functionAddress = session.getCapabilities().xrEnumerateDisplayRefreshRatesFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), displayRefreshRateCapacityInput, displayRefreshRateCountOutput, displayRefreshRates, __functionAddress); - } - + */ + public static int nxrEnumerateDisplayRefreshRatesFB(XrSession session, int displayRefreshRateCapacityInput, long displayRefreshRateCountOutput, long displayRefreshRates) { + long __functionAddress = session.getCapabilities().xrEnumerateDisplayRefreshRatesFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), displayRefreshRateCapacityInput, displayRefreshRateCountOutput, displayRefreshRates, __functionAddress); + } + /** * Enumerates display refresh rates. * @@ -122,26 +122,26 @@ public static int nxrEnumerateDisplayRefreshRatesFB(XrSession session, int displ * @param session the session that enumerates the supported display refresh rates. * @param displayRefreshRateCountOutput a pointer to the count of {@code float} {@code displayRefreshRates} written, or a pointer to the required capacity in the case that {@code displayRefreshRateCapacityInput} is insufficient. * @param displayRefreshRates a pointer to an array of {@code float} display refresh rates, but can be {@code NULL} if {@code displayRefreshRateCapacityInput} is 0. - */ - @NativeType("XrResult") - public static int xrEnumerateDisplayRefreshRatesFB(XrSession session, @NativeType("uint32_t *") IntBuffer displayRefreshRateCountOutput, @Nullable @NativeType("float *") FloatBuffer displayRefreshRates) { - if (CHECKS) { - check(displayRefreshRateCountOutput, 1); - } - return nxrEnumerateDisplayRefreshRatesFB(session, remainingSafe(displayRefreshRates), memAddress(displayRefreshRateCountOutput), memAddressSafe(displayRefreshRates)); - } - - // --- [ xrGetDisplayRefreshRateFB ] --- - - /** Unsafe version of: {@link #xrGetDisplayRefreshRateFB GetDisplayRefreshRateFB} */ - public static int nxrGetDisplayRefreshRateFB(XrSession session, long displayRefreshRate) { - long __functionAddress = session.getCapabilities().xrGetDisplayRefreshRateFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(session.address(), displayRefreshRate, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrEnumerateDisplayRefreshRatesFB(XrSession session, @NativeType("uint32_t *") IntBuffer displayRefreshRateCountOutput, @Nullable @NativeType("float *") FloatBuffer displayRefreshRates) { + if (CHECKS) { + check(displayRefreshRateCountOutput, 1); + } + return nxrEnumerateDisplayRefreshRatesFB(session, remainingSafe(displayRefreshRates), memAddress(displayRefreshRateCountOutput), memAddressSafe(displayRefreshRates)); + } + // --- [ xrGetDisplayRefreshRateFB ] --- + + /** Unsafe version of: {@link #xrGetDisplayRefreshRateFB GetDisplayRefreshRateFB} */ + public static int nxrGetDisplayRefreshRateFB(XrSession session, long displayRefreshRate) { + long __functionAddress = session.getCapabilities().xrGetDisplayRefreshRateFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(session.address(), displayRefreshRate, __functionAddress); + } + /** * Get the current display refresh rate. * @@ -191,17 +191,17 @@ public static int nxrGetDisplayRefreshRateFB(XrSession session, long displayRefr * * @param session the {@code XrSession} to query. * @param displayRefreshRate a pointer to a float into which the current display refresh rate will be placed. - */ - @NativeType("XrResult") - public static int xrGetDisplayRefreshRateFB(XrSession session, @NativeType("float *") FloatBuffer displayRefreshRate) { - if (CHECKS) { - check(displayRefreshRate, 1); - } - return nxrGetDisplayRefreshRateFB(session, memAddress(displayRefreshRate)); - } - - // --- [ xrRequestDisplayRefreshRateFB ] --- + */ + @NativeType("XrResult") + public static int xrGetDisplayRefreshRateFB(XrSession session, @NativeType("float *") FloatBuffer displayRefreshRate) { + if (CHECKS) { + check(displayRefreshRate, 1); + } + return nxrGetDisplayRefreshRateFB(session, memAddress(displayRefreshRate)); + } + // --- [ xrRequestDisplayRefreshRateFB ] --- + /** * Request a display refresh rate. * @@ -254,14 +254,14 @@ public static int xrGetDisplayRefreshRateFB(XrSession session, @NativeType("floa * * @param session a valid {@code XrSession} handle. * @param displayRefreshRate {@code 0.0f} or a supported display refresh rate. Supported display refresh rates are indicated by {@link #xrEnumerateDisplayRefreshRatesFB EnumerateDisplayRefreshRatesFB}. - */ - @NativeType("XrResult") - public static int xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) { - long __functionAddress = session.getCapabilities().xrRequestDisplayRefreshRateFB; - if (CHECKS) { - check(__functionAddress); - } - return callPI(session.address(), displayRefreshRate, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrRequestDisplayRefreshRateFB(XrSession session, float displayRefreshRate) { + long __functionAddress = session.getCapabilities().xrRequestDisplayRefreshRateFB; + if (CHECKS) { + check(__functionAddress); + } + return callPI(session.address(), displayRefreshRate, __functionAddress); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBEyeTrackingSocial.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBEyeTrackingSocial.java index a684d392a9..7691360448 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBEyeTrackingSocial.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBEyeTrackingSocial.java @@ -4,15 +4,15 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_FB_eye_tracking_social extension. * @@ -23,18 +23,18 @@ *Eye tracking data is sensitive personal information and is closely linked to personal privacy and integrity. It is strongly recommended that applications that store or transfer eye tracking data always ask the user for active and specific acceptance to do so.
* *If a runtime supports a permission system to control application access to the eye tracker, then the runtime must set the {@code isValid} field to {@link XR10#XR_FALSE FALSE} on the supplied {@link XrEyeGazeFB} structure until the application has been allowed access to the eye tracker. When the application access has been allowed, the runtime may set {@code isValid} on the supplied {@link XrEyeGazeFB} structure to {@link XR10#XR_TRUE TRUE}.
- */ -public class FBEyeTrackingSocial { - - /** The extension specification version. */ - public static final int XR_FB_eye_tracking_social_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_EYE_TRACKING_SOCIAL_EXTENSION_NAME = "XR_FB_eye_tracking_social"; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_EYE_TRACKER_FB = 1000202000; - + */ +public class FBEyeTrackingSocial { + + /** The extension specification version. */ + public static final int XR_FB_eye_tracking_social_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_EYE_TRACKING_SOCIAL_EXTENSION_NAME = "XR_FB_eye_tracking_social"; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_EYE_TRACKER_FB = 1000202000; + /** * Extends {@code XrStructureType}. * @@ -46,13 +46,13 @@ public class FBEyeTrackingSocial { *a pointer to {@link XrEyeGazesFB} receiving the returned eye poses and confidence.
* @param gazeInfo the information to get eye gaze. - */ - @NativeType("XrResult") - public static int xrGetEyeGazesFB(XrEyeTrackerFB eyeTracker, @NativeType("XrEyeGazesInfoFB const *") XrEyeGazesInfoFB gazeInfo, @NativeType("XrEyeGazesFB *") XrEyeGazesFB eyeGazes) { - return nxrGetEyeGazesFB(eyeTracker, gazeInfo.address(), eyeGazes.address()); - } + */ + @NativeType("XrResult") + public static int xrGetEyeGazesFB(XrEyeTrackerFB eyeTracker, @NativeType("XrEyeGazesInfoFB const *") XrEyeGazesInfoFB gazeInfo, @NativeType("XrEyeGazesFB *") XrEyeGazesFB eyeGazes) { + return nxrGetEyeGazesFB(eyeTracker, gazeInfo.address(), eyeGazes.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFaceTracking.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFaceTracking.java index 2d73143efa..7a7d9d86e5 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFaceTracking.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFaceTracking.java @@ -4,15 +4,15 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_FB_face_tracking extension. * @@ -23,18 +23,18 @@ *If a runtime supports a permission system to control application access to the face tracker, then the runtime must set the {@code isValid} field to {@link XR10#XR_FALSE FALSE} on the supplied {@link XrFaceExpressionStatusFB} structure until the user allows the application to access the face tracker. When the application access has been allowed, the runtime may set {@code isValid} on the supplied {@link XrFaceExpressionStatusFB} structure to {@link XR10#XR_TRUE TRUE}.
* *Some permission systems may control access to the eye tracking separately from access to the face tracking, even though the eyes are part of the face. In case the user denied tracking of the eyes, yet, allowed tracking of the face, then the runtime must set the {@code isEyeFollowingBlendshapesValid} field to {@link XR10#XR_FALSE FALSE} on the supplied {@link XrFaceExpressionStatusFB} for indicating that eye tracking data is not available, but at the same time may set the {@code isValid} field to {@link XR10#XR_TRUE TRUE} on the supplied {@link XrFaceExpressionStatusFB} for indicating that another part of the face is tracked properly.
- */ -public class FBFaceTracking { - - /** The extension specification version. */ - public static final int XR_FB_face_tracking_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_FACE_TRACKING_EXTENSION_NAME = "XR_FB_face_tracking"; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_FACE_TRACKER_FB = 1000201000; - + */ +public class FBFaceTracking { + + /** The extension specification version. */ + public static final int XR_FB_face_tracking_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_FACE_TRACKING_EXTENSION_NAME = "XR_FB_face_tracking"; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_FACE_TRACKER_FB = 1000201000; + /** * Extends {@code XrStructureType}. * @@ -46,13 +46,13 @@ public class FBFaceTracking { *{@link XrFaceTrackerCreateInfoFB}
- */ - public static final int XR_FACE_EXPRESSION_SET_DEFAULT_FB = 0; - + */ + public static final int XR_FACE_EXPRESSION_SET_DEFAULT_FB = 0; + /** * XrFaceConfidenceFB - The name of face areas where confidence is known * @@ -220,27 +220,27 @@ public class FBFaceTracking { *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBFoveation { - - /** The extension specification version. */ - public static final int XR_FB_foveation_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_FOVEATION_EXTENSION_NAME = "XR_FB_foveation"; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_FOVEATION_PROFILE_FB = 1000114000; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBFoveation { + + /** The extension specification version. */ + public static final int XR_FB_foveation_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_FOVEATION_EXTENSION_NAME = "XR_FB_foveation"; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_FOVEATION_PROFILE_FB = 1000114000; + /** * Extends {@code XrStructureType}. * @@ -48,12 +48,12 @@ public class FBFoveation { *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBFoveationConfiguration { - - /** The extension specification version. */ - public static final int XR_FB_foveation_configuration_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_FOVEATION_CONFIGURATION_EXTENSION_NAME = "XR_FB_foveation_configuration"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FB = 1000115000; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBFoveationConfiguration { + + /** The extension specification version. */ + public static final int XR_FB_foveation_configuration_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_FOVEATION_CONFIGURATION_EXTENSION_NAME = "XR_FB_foveation_configuration"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_FOVEATION_LEVEL_PROFILE_CREATE_INFO_FB = 1000115000; + /** * XrFoveationLevelFB - Foveation levels * @@ -44,13 +44,13 @@ public final class FBFoveationConfiguration { *{@link XrFoveationLevelProfileCreateInfoFB}
- */ + */ public static final int - XR_FOVEATION_LEVEL_NONE_FB = 0, - XR_FOVEATION_LEVEL_LOW_FB = 1, - XR_FOVEATION_LEVEL_MEDIUM_FB = 2, - XR_FOVEATION_LEVEL_HIGH_FB = 3; - + XR_FOVEATION_LEVEL_NONE_FB = 0, + XR_FOVEATION_LEVEL_LOW_FB = 1, + XR_FOVEATION_LEVEL_MEDIUM_FB = 2, + XR_FOVEATION_LEVEL_HIGH_FB = 3; + /** * XrFoveationDynamicFB - Dynamic foveation settings * @@ -64,11 +64,11 @@ public final class FBFoveationConfiguration { *{@link XrFoveationLevelProfileCreateInfoFB}
- */ + */ public static final int - XR_FOVEATION_DYNAMIC_DISABLED_FB = 0, - XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB = 1; + XR_FOVEATION_DYNAMIC_DISABLED_FB = 0, + XR_FOVEATION_DYNAMIC_LEVEL_ENABLED_FB = 1; - private FBFoveationConfiguration() {} + private FBFoveationConfiguration() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFoveationVulkan.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFoveationVulkan.java index 37d99e1a8f..a1773c2b29 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFoveationVulkan.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBFoveationVulkan.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_foveation_vulkan extension. * @@ -16,19 +16,19 @@ *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBFoveationVulkan { - - /** The extension specification version. */ - public static final int XR_FB_foveation_vulkan_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_FOVEATION_VULKAN_EXTENSION_NAME = "XR_FB_foveation_vulkan"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_SWAPCHAIN_IMAGE_FOVEATION_VULKAN_FB = 1000160000; + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBFoveationVulkan { + + /** The extension specification version. */ + public static final int XR_FB_foveation_vulkan_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_FOVEATION_VULKAN_EXTENSION_NAME = "XR_FB_foveation_vulkan"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_SWAPCHAIN_IMAGE_FOVEATION_VULKAN_FB = 1000160000; - private FBFoveationVulkan() {} + private FBFoveationVulkan() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHandTrackingAim.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHandTrackingAim.java index 2641377d9f..072fc8ec1b 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHandTrackingAim.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHandTrackingAim.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_hand_tracking_aim extension. * @@ -15,18 +15,18 @@ *This extension enables applications to trigger haptic effect using an Amplitude Envelope buffer.
- */ -public final class FBHapticAmplitudeEnvelope { - - /** The extension specification version. */ - public static final int XR_FB_haptic_amplitude_envelope_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_HAPTIC_AMPLITUDE_ENVELOPE_EXTENSION_NAME = "XR_FB_haptic_amplitude_envelope"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_HAPTIC_AMPLITUDE_ENVELOPE_VIBRATION_FB = 1000173001; - - /** API Constants */ - public static final int XR_MAX_HAPTIC_AMPLITUDE_ENVELOPE_SAMPLES_FB = 0xFA0; + */ +public final class FBHapticAmplitudeEnvelope { + + /** The extension specification version. */ + public static final int XR_FB_haptic_amplitude_envelope_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_HAPTIC_AMPLITUDE_ENVELOPE_EXTENSION_NAME = "XR_FB_haptic_amplitude_envelope"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_HAPTIC_AMPLITUDE_ENVELOPE_VIBRATION_FB = 1000173001; + + /** API Constants */ + public static final int XR_MAX_HAPTIC_AMPLITUDE_ENVELOPE_SAMPLES_FB = 0xFA0; - private FBHapticAmplitudeEnvelope() {} + private FBHapticAmplitudeEnvelope() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHapticPcm.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHapticPcm.java index 7a72c1c174..b7ff4a0dc9 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHapticPcm.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBHapticPcm.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_FB_haptic_pcm extension. * *This extension enables applications to trigger haptic effects using Pulse Code Modulation (PCM) buffers.
- */ -public class FBHapticPcm { - - /** The extension specification version. */ - public static final int XR_FB_haptic_pcm_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_HAPTIC_PCM_EXTENSION_NAME = "XR_FB_haptic_pcm"; - + */ +public class FBHapticPcm { + + /** The extension specification version. */ + public static final int XR_FB_haptic_pcm_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_HAPTIC_PCM_EXTENSION_NAME = "XR_FB_haptic_pcm"; + /** * Extends {@code XrStructureType}. * @@ -33,31 +33,31 @@ public class FBHapticPcm { *This extension allows the application to query the system for a supported trackable keyboard type and obtain an {@code XrSpace} handle to track it. It also provides relevant metadata about the keyboard itself, including bounds and a human readable identifier.
- */ -public class FBKeyboardTracking { - - /** The extension specification version. */ - public static final int XR_FB_keyboard_tracking_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_KEYBOARD_TRACKING_EXTENSION_NAME = "XR_FB_keyboard_tracking"; - - /** XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB */ - public static final int XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB = 128; - + */ +public class FBKeyboardTracking { + + /** The extension specification version. */ + public static final int XR_FB_keyboard_tracking_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_KEYBOARD_TRACKING_EXTENSION_NAME = "XR_FB_keyboard_tracking"; + + /** XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB */ + public static final int XR_MAX_KEYBOARD_TRACKING_NAME_SIZE_FB = 128; + /** * Extends {@code XrStructureType}. * @@ -39,12 +39,12 @@ public class FBKeyboardTracking { *{@link XrPassthroughLayerCreateInfoFB}
- */ + */ public static final int - XR_PASSTHROUGH_LAYER_PURPOSE_RECONSTRUCTION_FB = 0, - XR_PASSTHROUGH_LAYER_PURPOSE_PROJECTED_FB = 1; - + XR_PASSTHROUGH_LAYER_PURPOSE_RECONSTRUCTION_FB = 0, + XR_PASSTHROUGH_LAYER_PURPOSE_PROJECTED_FB = 1; + /** * XrPassthroughStateChangedFlagBitsFB - XrPassthroughStateChangedFlagBitsFB * @@ -177,28 +177,28 @@ public class FBPassthrough { *Creates an {@code XrGeometryInstanceFB} handle. Geometry instance functionality requires {@link FBTriangleMesh XR_FB_triangle_mesh} extension to be enabled. An {@code XrGeometryInstanceFB} connects a layer, a mesh, and a transformation, with the semantics that a specific mesh will be instantiated in a specific layer with a specific transformation. A mesh can be instantiated multiple times, in the same or in different layers.
+ *Creates an {@code XrGeometryInstanceFB} handle. Geometry instance functionality requires XR_FB_triangle_mesh extension to be enabled. An {@code XrGeometryInstanceFB} connects a layer, a mesh, and a transformation, with the semantics that a specific mesh will be instantiated in a specific layer with a specific transformation. A mesh can be instantiated multiple times, in the same or in different layers.
* *{@link XrGeometryInstanceTransformFB}
- */ - @NativeType("XrResult") - public static int xrGeometryInstanceSetTransformFB(XrGeometryInstanceFB instance, @NativeType("XrGeometryInstanceTransformFB const *") XrGeometryInstanceTransformFB transformation) { - return nxrGeometryInstanceSetTransformFB(instance, transformation.address()); - } + */ + @NativeType("XrResult") + public static int xrGeometryInstanceSetTransformFB(XrGeometryInstanceFB instance, @NativeType("XrGeometryInstanceTransformFB const *") XrGeometryInstanceTransformFB transformation) { + return nxrGeometryInstanceSetTransformFB(instance, transformation.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBPassthroughKeyboardHands.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBPassthroughKeyboardHands.java index 2a4dd798cc..a7c2ef6f9f 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBPassthroughKeyboardHands.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBPassthroughKeyboardHands.java @@ -4,12 +4,12 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_FB_passthrough_keyboard_hands extension. * @@ -23,15 +23,15 @@ *This extension allows applications to request GLTF models for certain connected devices supported by the runtime. Paths that correspond to these devices will be provided through the extension and can be used to get information about the models as well as loading them.
- */ -public class FBRenderModel { - - /** The extension specification version. */ - public static final int XR_FB_render_model_SPEC_VERSION = 4; - - /** The extension name. */ - public static final String XR_FB_RENDER_MODEL_EXTENSION_NAME = "XR_FB_render_model"; - - /** XR_MAX_RENDER_MODEL_NAME_SIZE_FB */ - public static final int XR_MAX_RENDER_MODEL_NAME_SIZE_FB = 64; - + */ +public class FBRenderModel { + + /** The extension specification version. */ + public static final int XR_FB_render_model_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_FB_RENDER_MODEL_EXTENSION_NAME = "XR_FB_render_model"; + + /** XR_MAX_RENDER_MODEL_NAME_SIZE_FB */ + public static final int XR_MAX_RENDER_MODEL_NAME_SIZE_FB = 64; + /** * Extends {@code XrStructureType}. * @@ -44,15 +44,15 @@ public class FBRenderModel { *Render Model Support Levels: An application should request a model of a certain complexity via the {@link XrRenderModelCapabilitiesRequestFB} on the structure chain of {@link XrRenderModelPropertiesFB} passed into {@link #xrGetRenderModelPropertiesFB GetRenderModelPropertiesFB}. The flags on the {@link XrRenderModelCapabilitiesRequestFB} are an acknowledgement of the application’s ability to render such a model. Multiple values of {@code XrRenderModelFlagBitsFB} can be set on this variable to indicate acceptance of different support levels. The flags parameter on the {@link XrRenderModelPropertiesFB} will indicate what capabilities the model in the runtime actually requires. It will be set to a single value of {@code XrRenderModelFlagBitsFB}.
- */ + */ public static final int - XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_1_BIT_FB = 0x1, - XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_2_BIT_FB = 0x2; - - /** API Constants */ - public static final long XR_NULL_RENDER_MODEL_KEY_FB = 0x0L; + XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_1_BIT_FB = 0x1, + XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_2_BIT_FB = 0x2; + + /** API Constants */ + public static final long XR_NULL_RENDER_MODEL_KEY_FB = 0x0L; protected FBRenderModel() { throw new UnsupportedOperationException(); - } - - // --- [ xrEnumerateRenderModelPathsFB ] --- + } + // --- [ xrEnumerateRenderModelPathsFB ] --- + /** * Unsafe version of: {@link #xrEnumerateRenderModelPathsFB EnumerateRenderModelPathsFB} * * @param pathCapacityInput the capacity of the {@code paths}, or 0 to retrieve the required capacity. - */ - public static int nxrEnumerateRenderModelPathsFB(XrSession session, int pathCapacityInput, long pathCountOutput, long paths) { - long __functionAddress = session.getCapabilities().xrEnumerateRenderModelPathsFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), pathCapacityInput, pathCountOutput, paths, __functionAddress); - } - + */ + public static int nxrEnumerateRenderModelPathsFB(XrSession session, int pathCapacityInput, long pathCountOutput, long paths) { + long __functionAddress = session.getCapabilities().xrEnumerateRenderModelPathsFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), pathCapacityInput, pathCountOutput, paths, __functionAddress); + } + /** * Enumerate supported render model paths. * @@ -158,26 +158,26 @@ public static int nxrEnumerateRenderModelPathsFB(XrSession session, int pathCapa * @param session the specified {@code XrSession}. * @param pathCountOutput a pointer to the count of {@code float} {@code paths} written, or a pointer to the required capacity in the case that {@code pathCapacityInput} is insufficient. * @param paths a pointer to an application-allocated array that will be filled with {@link XrRenderModelPathInfoFB} values that are supported by the runtime, but can be {@code NULL} if {@code pathCapacityInput} is 0 - */ - @NativeType("XrResult") - public static int xrEnumerateRenderModelPathsFB(XrSession session, @NativeType("uint32_t *") IntBuffer pathCountOutput, @Nullable @NativeType("XrRenderModelPathInfoFB *") XrRenderModelPathInfoFB.Buffer paths) { - if (CHECKS) { - check(pathCountOutput, 1); - } - return nxrEnumerateRenderModelPathsFB(session, remainingSafe(paths), memAddress(pathCountOutput), memAddressSafe(paths)); - } - - // --- [ xrGetRenderModelPropertiesFB ] --- - - /** Unsafe version of: {@link #xrGetRenderModelPropertiesFB GetRenderModelPropertiesFB} */ - public static int nxrGetRenderModelPropertiesFB(XrSession session, long path, long properties) { - long __functionAddress = session.getCapabilities().xrGetRenderModelPropertiesFB; - if (CHECKS) { - check(__functionAddress); - } - return callPJPI(session.address(), path, properties, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrEnumerateRenderModelPathsFB(XrSession session, @NativeType("uint32_t *") IntBuffer pathCountOutput, @Nullable @NativeType("XrRenderModelPathInfoFB *") XrRenderModelPathInfoFB.Buffer paths) { + if (CHECKS) { + check(pathCountOutput, 1); + } + return nxrEnumerateRenderModelPathsFB(session, remainingSafe(paths), memAddress(pathCountOutput), memAddressSafe(paths)); + } + // --- [ xrGetRenderModelPropertiesFB ] --- + + /** Unsafe version of: {@link #xrGetRenderModelPropertiesFB GetRenderModelPropertiesFB} */ + public static int nxrGetRenderModelPropertiesFB(XrSession session, long path, long properties) { + long __functionAddress = session.getCapabilities().xrGetRenderModelPropertiesFB; + if (CHECKS) { + check(__functionAddress); + } + return callPJPI(session.address(), path, properties, __functionAddress); + } + /** * Get information for a render model. * @@ -237,23 +237,23 @@ public static int nxrGetRenderModelPropertiesFB(XrSession session, long path, lo * @param session the specified {@code XrSession}. * @param path the path of the render model to get the properties for. * @param properties a pointer to the {@link XrRenderModelPropertiesFB} to write the render model information to. - */ - @NativeType("XrResult") - public static int xrGetRenderModelPropertiesFB(XrSession session, @NativeType("XrPath") long path, @NativeType("XrRenderModelPropertiesFB *") XrRenderModelPropertiesFB properties) { - return nxrGetRenderModelPropertiesFB(session, path, properties.address()); - } - - // --- [ xrLoadRenderModelFB ] --- - - /** Unsafe version of: {@link #xrLoadRenderModelFB LoadRenderModelFB} */ - public static int nxrLoadRenderModelFB(XrSession session, long info, long buffer) { - long __functionAddress = session.getCapabilities().xrLoadRenderModelFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), info, buffer, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrGetRenderModelPropertiesFB(XrSession session, @NativeType("XrPath") long path, @NativeType("XrRenderModelPropertiesFB *") XrRenderModelPropertiesFB properties) { + return nxrGetRenderModelPropertiesFB(session, path, properties.address()); + } + // --- [ xrLoadRenderModelFB ] --- + + /** Unsafe version of: {@link #xrLoadRenderModelFB LoadRenderModelFB} */ + public static int nxrLoadRenderModelFB(XrSession session, long info, long buffer) { + long __functionAddress = session.getCapabilities().xrLoadRenderModelFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), info, buffer, __functionAddress); + } + /** * Load binary data for a render model. * @@ -312,10 +312,10 @@ public static int nxrLoadRenderModelFB(XrSession session, long info, long buffer * @param session the specified {@code XrSession}. * @param info a pointer to the {@link XrRenderModelLoadInfoFB} structure. * @param buffer a pointer to the {@link XrRenderModelBufferFB} structure to write the binary data into. - */ - @NativeType("XrResult") - public static int xrLoadRenderModelFB(XrSession session, @NativeType("XrRenderModelLoadInfoFB const *") XrRenderModelLoadInfoFB info, @NativeType("XrRenderModelBufferFB *") XrRenderModelBufferFB buffer) { - return nxrLoadRenderModelFB(session, info.address(), buffer.address()); - } + */ + @NativeType("XrResult") + public static int xrLoadRenderModelFB(XrSession session, @NativeType("XrRenderModelLoadInfoFB const *") XrRenderModelLoadInfoFB info, @NativeType("XrRenderModelBufferFB *") XrRenderModelBufferFB buffer) { + return nxrLoadRenderModelFB(session, info.address(), buffer.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBScene.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBScene.java index 452251956f..8853a51299 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBScene.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBScene.java @@ -4,27 +4,27 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_FB_scene extension. * *This extension expands on the concept of spatial entities to include a way for a spatial entity to represent rooms, objects, or other boundaries in a scene.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBScene { - - /** The extension specification version. */ - public static final int XR_FB_scene_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_FB_SCENE_EXTENSION_NAME = "XR_FB_scene"; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBScene { + + /** The extension specification version. */ + public static final int XR_FB_scene_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SCENE_EXTENSION_NAME = "XR_FB_scene"; + /** * Extends {@code XrStructureType}. * @@ -34,44 +34,28 @@ public class FBScene { *Gets the 2D bounding box for a spatial entity with the {@link FBSpatialEntity#XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB SPACE_COMPONENT_TYPE_BOUNDED_2D_FB} component type enabled.
* - *The bounding box is defined by an {@code offset} and {@code extent}. The {@code offset} refers to the coordinate of the minimum corner of the box in the x-y plane of the given {@code XrSpace}’s coordinate system; that is, the corner whose coordinate has the minimum value on each axis. The {@code extent} refers to the dimensions of the box along each axis. The maximum corner can therefore be computed as offset extent
.
Gets the room layout, specified by UUIDs for each surface, for a spatial entity with the {@link FBSpatialEntity#XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB} component type enabled.
* - *If the {@link XrRoomLayoutFB}{@code ::wallUuidCapacityInput} field is zero (indicating a request to retrieve the required capacity for the {@link XrRoomLayoutFB}{@code ::wallUuids} array), or if {@link #xrGetSpaceRoomLayoutFB GetSpaceRoomLayoutFB} returns failure, then the values of {@code floorUuid} and {@code ceilingUuid} are unspecified and should not be used.
- * *This extension allows an application to request that the system begin capturing information about what is in the environment around the user.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSceneCapture { - - /** The extension specification version. */ - public static final int XR_FB_scene_capture_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SCENE_CAPTURE_EXTENSION_NAME = "XR_FB_scene_capture"; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSceneCapture { + + /** The extension specification version. */ + public static final int XR_FB_scene_capture_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SCENE_CAPTURE_EXTENSION_NAME = "XR_FB_scene_capture"; + /** * Extends {@code XrStructureType}. * @@ -37,26 +37,26 @@ public class FBSceneCapture { *This extension provides support to enable space warp technology on application. By feeding application generated motion vector and depth buffer images, the runtime can do high quality frame extrapolation and reprojection, allow applications to run at half fps but still providing smooth experience to users.
* - *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
* *This extension is independent of {@link KHRCompositionLayerDepth XR_KHR_composition_layer_depth}, and both may be enabled and used at the same time, for different purposes. The {@link XrCompositionLayerSpaceWarpInfoFB}{@code ::depthSubImage} depth data is dedicated for space warp, and its resolution is usually lower than {@link XrCompositionLayerDepthInfoKHR}{@code ::subImage}. See {@link XrSystemSpaceWarpPropertiesFB} for suggested resolution of {@code depthSubImage}.
*We use OpenXR {@code XrSpace} handles to give applications access to spatial entities such as Spatial Anchors. In other words, any operation which involves spatial entities uses {@code XrSpace} handles to identify the affected spatial entities.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
* *This extension allows:
* @@ -32,15 +32,15 @@ *{@link XrEventDataSpaceSetStatusCompleteFB}, {@link XrSpaceComponentFilterInfoFB}, {@link XrSpaceComponentStatusSetInfoFB}, {@link #xrEnumerateSpaceSupportedComponentsFB EnumerateSpaceSupportedComponentsFB}, {@link #xrGetSpaceComponentStatusFB GetSpaceComponentStatusFB}
- */ + */ public static final int - XR_SPACE_COMPONENT_TYPE_LOCATABLE_FB = 0, - XR_SPACE_COMPONENT_TYPE_STORABLE_FB = 1, - XR_SPACE_COMPONENT_TYPE_SHARABLE_FB = 2, - XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB = 3, - XR_SPACE_COMPONENT_TYPE_BOUNDED_3D_FB = 4, - XR_SPACE_COMPONENT_TYPE_SEMANTIC_LABELS_FB = 5, - XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB = 6, - XR_SPACE_COMPONENT_TYPE_SPACE_CONTAINER_FB = 7; + XR_SPACE_COMPONENT_TYPE_LOCATABLE_FB = 0, + XR_SPACE_COMPONENT_TYPE_STORABLE_FB = 1, + XR_SPACE_COMPONENT_TYPE_SHARABLE_FB = 2, + XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB = 3, + XR_SPACE_COMPONENT_TYPE_BOUNDED_3D_FB = 4, + XR_SPACE_COMPONENT_TYPE_SEMANTIC_LABELS_FB = 5, + XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB = 6, + XR_SPACE_COMPONENT_TYPE_SPACE_CONTAINER_FB = 7; protected FBSpatialEntity() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateSpatialAnchorFB ] --- - - /** Unsafe version of: {@link #xrCreateSpatialAnchorFB CreateSpatialAnchorFB} */ - public static int nxrCreateSpatialAnchorFB(XrSession session, long info, long requestId) { - long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorFB; - if (CHECKS) { - check(__functionAddress); - XrSpatialAnchorCreateInfoFB.validate(info); - } - return callPPPI(session.address(), info, requestId, __functionAddress); - } + } + // --- [ xrCreateSpatialAnchorFB ] --- + + /** Unsafe version of: {@link #xrCreateSpatialAnchorFB CreateSpatialAnchorFB} */ + public static int nxrCreateSpatialAnchorFB(XrSession session, long info, long requestId) { + long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorFB; + if (CHECKS) { + check(__functionAddress); + XrSpatialAnchorCreateInfoFB.validate(info); + } + return callPPPI(session.address(), info, requestId, __functionAddress); + } + /** * Creates a new spatial anchor. * @@ -146,7 +146,7 @@ public static int nxrCreateSpatialAnchorFB(XrSession session, long info, long re * *Creates a Spatial Anchor using the specified tracking origin and pose relative to the specified tracking origin. The anchor will be locatable at the time of creation, and the 6 DOF pose relative to the tracking origin can be queried using the {@link XR10#xrLocateSpace LocateSpace} method. This operation is asynchronous and the runtime must post an {@link XrEventDataSpatialAnchorCreateCompleteFB} event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted. The {@code requestId} can be used to later refer to the request, such as identifying which request has completed when an {@link XrEventDataSpatialAnchorCreateCompleteFB} is posted to the event queue.
+ *Creates a Spatial Anchor using the specified tracking origin and pose relative to the specified tracking origin. The anchor will be locatable at the time of creation, and the 6 DOF pose relative to the tracking origin can be queried using the {@link XR10#xrLocateSpace LocateSpace} method. This operation is asynchronous and the runtime must post an {@link XrEventDataSpatialAnchorCreateCompleteFB} event when the operation completes successfully or encounters an error. The {@code requestId} can be used to later refer to the request, such as identifying which request has completed when an {@link XrEventDataSpatialAnchorCreateCompleteFB} is posted to the event queue.
* *Enables or disables the specified component for the specified entity. This operation is asynchronous and always returns immediately, regardless of the value of {@code timeout}. The {@code requestId} can be used to later refer to the request, such as identifying which request has completed when an {@link XrEventDataSpaceSetStatusCompleteFB} is posted to the event queue. If this function returns a failure code, no event is posted. This function must return {@link #XR_ERROR_SPACE_COMPONENT_NOT_SUPPORTED_FB ERROR_SPACE_COMPONENT_NOT_SUPPORTED_FB} if the {@code XrSpace} does not support the specified component type.
+ *Enables or disables the specified component for the specified entity. This operation is asynchronous and always returns immediately, regardless of the value of {@code timeout}. The {@code requestId} can be used to later refer to the request, such as identifying which request has completed when an {@link XrEventDataSpaceSetStatusCompleteFB} is posted to the event queue. This function must return {@link #XR_ERROR_SPACE_COMPONENT_NOT_SUPPORTED_FB ERROR_SPACE_COMPONENT_NOT_SUPPORTED_FB} if the {@code XrSpace} does not support the specified component type.
* *This extension expands on the concept of spatial entities to include a way for one spatial entity to contain multiple child spatial entities, forming a hierarchy.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSpatialEntityContainer { - - /** The extension specification version. */ - public static final int XR_FB_spatial_entity_container_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_FB_SPATIAL_ENTITY_CONTAINER_EXTENSION_NAME = "XR_FB_spatial_entity_container"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_SPACE_CONTAINER_FB = 1000199000; + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSpatialEntityContainer { + + /** The extension specification version. */ + public static final int XR_FB_spatial_entity_container_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_FB_SPATIAL_ENTITY_CONTAINER_EXTENSION_NAME = "XR_FB_spatial_entity_container"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_SPACE_CONTAINER_FB = 1000199000; protected FBSpatialEntityContainer() { throw new UnsupportedOperationException(); - } - - // --- [ xrGetSpaceContainerFB ] --- - - /** Unsafe version of: {@link #xrGetSpaceContainerFB GetSpaceContainerFB} */ - public static int nxrGetSpaceContainerFB(XrSession session, XrSpace space, long spaceContainerOutput) { - long __functionAddress = session.getCapabilities().xrGetSpaceContainerFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), space.address(), spaceContainerOutput, __functionAddress); - } + } + // --- [ xrGetSpaceContainerFB ] --- + + /** Unsafe version of: {@link #xrGetSpaceContainerFB GetSpaceContainerFB} */ + public static int nxrGetSpaceContainerFB(XrSession session, XrSpace space, long spaceContainerOutput) { + long __functionAddress = session.getCapabilities().xrGetSpaceContainerFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), space.address(), spaceContainerOutput, __functionAddress); + } + /** * Gets a XrSpaceContainerFB which lists contained spaces. * @@ -88,7 +88,6 @@ public static int nxrGetSpaceContainerFB(XrSession session, XrSpace space, long *This extension enables an application to discover persistent spatial entities in the area and restore them. Using the query system, the application can load persistent spatial entities from storage. The query system consists of a set of filters to define the spatial entity search query and an operation that needs to be performed on the search results.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSpatialEntityQuery { - - /** The extension specification version. */ - public static final int XR_FB_spatial_entity_query_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME = "XR_FB_spatial_entity_query"; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSpatialEntityQuery { + + /** The extension specification version. */ + public static final int XR_FB_spatial_entity_query_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SPATIAL_ENTITY_QUERY_EXTENSION_NAME = "XR_FB_spatial_entity_query"; + /** * Extends {@code XrStructureType}. * @@ -42,16 +42,16 @@ public class FBSpatialEntityQuery { *{@link XrSpaceQueryInfoFB}
- */ - public static final int XR_SPACE_QUERY_ACTION_LOAD_FB = 0; - + */ + public static final int XR_SPACE_QUERY_ACTION_LOAD_FB = 0; + /** * XrSpaceStorageLocationFB - Storage location to persist spatial entities * @@ -89,27 +89,27 @@ public class FBSpatialEntityQuery { *{@link XrEventDataSpaceEraseCompleteFB}, {@link XrEventDataSpaceSaveCompleteFB}, {@link XrSpaceEraseInfoFB}, {@link XrSpaceListSaveInfoFB}, {@link XrSpaceSaveInfoFB}, {@link XrSpaceStorageLocationFilterInfoFB}
- */ + */ public static final int - XR_SPACE_STORAGE_LOCATION_INVALID_FB = 0, - XR_SPACE_STORAGE_LOCATION_LOCAL_FB = 1, - XR_SPACE_STORAGE_LOCATION_CLOUD_FB = 2; + XR_SPACE_STORAGE_LOCATION_INVALID_FB = 0, + XR_SPACE_STORAGE_LOCATION_LOCAL_FB = 1, + XR_SPACE_STORAGE_LOCATION_CLOUD_FB = 2; protected FBSpatialEntityQuery() { throw new UnsupportedOperationException(); - } - - // --- [ xrQuerySpacesFB ] --- - - /** Unsafe version of: {@link #xrQuerySpacesFB QuerySpacesFB} */ - public static int nxrQuerySpacesFB(XrSession session, long info, long requestId) { - long __functionAddress = session.getCapabilities().xrQuerySpacesFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), info, requestId, __functionAddress); - } - + } + + // --- [ xrQuerySpacesFB ] --- + + /** Unsafe version of: {@link #xrQuerySpacesFB QuerySpacesFB} */ + public static int nxrQuerySpacesFB(XrSession session, long info, long requestId) { + long __functionAddress = session.getCapabilities().xrQuerySpacesFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), info, requestId, __functionAddress); + } + /** * Queries for spatial entities. * @@ -125,7 +125,7 @@ public static int nxrQuerySpacesFB(XrSession session, long info, long requestId) * *The {@link #xrQuerySpacesFB QuerySpacesFB} function enables an application to find and retrieve spatial entities from storage. Cast an {@link XrSpaceQueryInfoFB} pointer to a {@link XrSpaceQueryInfoBaseHeaderFB} pointer to pass as {@code info}. The application should keep the returned {@code requestId} for the duration of the request as it is used to refer to the request when calling {@link #xrRetrieveSpaceQueryResultsFB RetrieveSpaceQueryResultsFB} and is used to map completion events to the request. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceQueryCompleteFB} event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted. The runtime must post an {@link XrEventDataSpaceQueryResultsAvailableFB} before {@link XrEventDataSpaceQueryCompleteFB} if any results are found. Once an {@link XrEventDataSpaceQueryResultsAvailableFB} event has been posted, the application may call {@link #xrRetrieveSpaceQueryResultsFB RetrieveSpaceQueryResultsFB} to retrieve the available results.
+ *The {@link #xrQuerySpacesFB QuerySpacesFB} function enables an application to find and retrieve spatial entities from storage. Cast an {@link XrSpaceQueryInfoFB} pointer to a {@link XrSpaceQueryInfoBaseHeaderFB} pointer to pass as {@code info}. The application should keep the returned {@code requestId} for the duration of the request as it is used to refer to the request when calling {@link #xrRetrieveSpaceQueryResultsFB RetrieveSpaceQueryResultsFB} and is used to map completion events to the request. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceQueryCompleteFB} event when the operation completes successfully or encounters an error. The runtime must post an {@link XrEventDataSpaceQueryResultsAvailableFB} if before {@link XrEventDataSpaceQueryCompleteFB} if any results are found. Once an {@link XrEventDataSpaceQueryResultsAvailableFB} event has been posted, the application may call {@link #xrRetrieveSpaceQueryResultsFB RetrieveSpaceQueryResultsFB} to retrieve the available results.
* *This extension enables spatial entities to be shared between users. If the {@link FBSpatialEntity#XR_SPACE_COMPONENT_TYPE_SHARABLE_FB SPACE_COMPONENT_TYPE_SHARABLE_FB} component has been enabled on the spatial entity, application developers may share {@code XrSpace} entities between users.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSpatialEntitySharing { - - /** The extension specification version. */ - public static final int XR_FB_spatial_entity_sharing_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SPATIAL_ENTITY_SHARING_EXTENSION_NAME = "XR_FB_spatial_entity_sharing"; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSpatialEntitySharing { + + /** The extension specification version. */ + public static final int XR_FB_spatial_entity_sharing_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SPATIAL_ENTITY_SHARING_EXTENSION_NAME = "XR_FB_spatial_entity_sharing"; + /** * Extends {@code XrStructureType}. * @@ -37,11 +37,11 @@ public class FBSpatialEntitySharing { *This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceShareCompleteFB} event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted. The {@code requestId} can be used to later refer to the request, such as identifying which request has completed when an {@link XrEventDataSpaceShareCompleteFB} is posted to the event queue.
+ *This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceShareCompleteFB} event when the operation completes successfully or encounters an error. The {@code requestId} can be used to later refer to the request, such as identifying which request has completed when an {@link XrEventDataSpaceShareCompleteFB} is posted to the event queue.
* *This extension enables spatial entities to be stored and persisted across sessions. If the {@link FBSpatialEntity#XR_SPACE_COMPONENT_TYPE_STORABLE_FB SPACE_COMPONENT_TYPE_STORABLE_FB} component has been enabled on the spatial entity, application developers may save, load, and erase persisted {@code XrSpace} entities.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSpatialEntityStorage { - - /** The extension specification version. */ - public static final int XR_FB_spatial_entity_storage_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME = "XR_FB_spatial_entity_storage"; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSpatialEntityStorage { + + /** The extension specification version. */ + public static final int XR_FB_spatial_entity_storage_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SPATIAL_ENTITY_STORAGE_EXTENSION_NAME = "XR_FB_spatial_entity_storage"; + /** * Extends {@code XrStructureType}. * @@ -39,13 +39,13 @@ public class FBSpatialEntityStorage { *{@link XrSpaceSaveInfoFB}
- */ + */ public static final int - XR_SPACE_PERSISTENCE_MODE_INVALID_FB = 0, - XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB = 1; + XR_SPACE_PERSISTENCE_MODE_INVALID_FB = 0, + XR_SPACE_PERSISTENCE_MODE_INDEFINITE_FB = 1; protected FBSpatialEntityStorage() { throw new UnsupportedOperationException(); - } - - // --- [ xrSaveSpaceFB ] --- - - /** Unsafe version of: {@link #xrSaveSpaceFB SaveSpaceFB} */ - public static int nxrSaveSpaceFB(XrSession session, long info, long requestId) { - long __functionAddress = session.getCapabilities().xrSaveSpaceFB; - if (CHECKS) { - check(__functionAddress); - XrSpaceSaveInfoFB.validate(info); - } - return callPPPI(session.address(), info, requestId, __functionAddress); - } - + } + + // --- [ xrSaveSpaceFB ] --- + + /** Unsafe version of: {@link #xrSaveSpaceFB SaveSpaceFB} */ + public static int nxrSaveSpaceFB(XrSession session, long info, long requestId) { + long __functionAddress = session.getCapabilities().xrSaveSpaceFB; + if (CHECKS) { + check(__functionAddress); + XrSpaceSaveInfoFB.validate(info); + } + return callPPPI(session.address(), info, requestId, __functionAddress); + } + /** * Saves a spatial entity to persistent storage. * @@ -99,7 +99,7 @@ public static int nxrSaveSpaceFB(XrSession session, long info, long requestId) { * *The {@link #xrSaveSpaceFB SaveSpaceFB} function persists the spatial entity at the specified location with the specified mode. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceSaveInfoFB}{@code ::space} is {@link XR10#XR_NULL_HANDLE NULL_HANDLE} or otherwise invalid. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceSaveInfoFB}{@code ::location} or {@link XrSpaceSaveInfoFB}{@code ::persistenceMode} is invalid. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceSaveCompleteFB} event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted.
+ *The {@link #xrSaveSpaceFB SaveSpaceFB} function persists the spatial entity at the specified location with the specified mode. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceSaveInfoFB}{@code ::space} is {@link XR10#XR_NULL_HANDLE NULL_HANDLE} or otherwise invalid. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceSaveInfoFB}{@code ::location} or {@link XrSpaceSaveInfoFB}{@code ::persistenceMode} is invalid. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceSaveCompleteFB} event when the operation completes successfully or encounters an error.
* *The {@link #xrEraseSpaceFB EraseSpaceFB} function erases a spatial entity from storage at the specified location. The {@code XrSpace} remains valid in the current session until the application destroys it or the session ends. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceEraseInfoFB}{@code ::space} is {@link XR10#XR_NULL_HANDLE NULL_HANDLE} or otherwise invalid. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceEraseInfoFB}{@code ::location} is invalid. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceEraseCompleteFB} event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted.
+ *The {@link #xrEraseSpaceFB EraseSpaceFB} function erases a spatial entity from storage at the specified location. The {@code XrSpace} remains valid in the current session until the application destroys it or the session ends. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceEraseInfoFB}{@code ::space} is {@link XR10#XR_NULL_HANDLE NULL_HANDLE} or otherwise invalid. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceEraseInfoFB}{@code ::location} is invalid. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceEraseCompleteFB} event when the operation completes successfully or encounters an error.
* *This extension enables multiple spatial entities at a time to be persisted across sessions. If the {@link FBSpatialEntity#XR_SPACE_COMPONENT_TYPE_STORABLE_FB SPACE_COMPONENT_TYPE_STORABLE_FB} component has been enabled on the spatial entity, application developers may save and erase {@code XrSpace} entities.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSpatialEntityStorageBatch { - - /** The extension specification version. */ - public static final int XR_FB_spatial_entity_storage_batch_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SPATIAL_ENTITY_STORAGE_BATCH_EXTENSION_NAME = "XR_FB_spatial_entity_storage_batch"; - + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSpatialEntityStorageBatch { + + /** The extension specification version. */ + public static final int XR_FB_spatial_entity_storage_batch_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SPATIAL_ENTITY_STORAGE_BATCH_EXTENSION_NAME = "XR_FB_spatial_entity_storage_batch"; + /** * Extends {@code XrStructureType}. * @@ -37,27 +37,27 @@ public class FBSpatialEntityStorageBatch { *The {@link #xrSaveSpaceListFB SaveSpaceListFB} function persists the specified spatial entities at the specified storage location. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceSaveInfoFB}{@code ::location} is invalid. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceListSaveCompleteFB} event when the operation completes successfully or encounters an error. If this function returns a failure code, no event is posted.
+ *The {@link #xrSaveSpaceListFB SaveSpaceListFB} function persists the specified spatial entities at the specified storage location. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if {@link XrSpaceSaveInfoFB}{@code ::location} is invalid. This operation is asynchronous and the runtime must post an {@link XrEventDataSpaceListSaveCompleteFB} event when the operation completes successfully or encounters an error.
* *This extension enables creation and management of user objects which can be used by the application to reference a user other than the current user.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSpatialEntityUser { - - /** The extension specification version. */ - public static final int XR_FB_spatial_entity_user_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SPATIAL_ENTITY_USER_EXTENSION_NAME = "XR_FB_spatial_entity_user"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_SPACE_USER_CREATE_INFO_FB = 1000241001; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_SPACE_USER_FB = 1000241000; + *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSpatialEntityUser { + + /** The extension specification version. */ + public static final int XR_FB_spatial_entity_user_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SPATIAL_ENTITY_USER_EXTENSION_NAME = "XR_FB_spatial_entity_user"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_SPACE_USER_CREATE_INFO_FB = 1000241001; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_SPACE_USER_FB = 1000241000; protected FBSpatialEntityUser() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateSpaceUserFB ] --- - - /** Unsafe version of: {@link #xrCreateSpaceUserFB CreateSpaceUserFB} */ - public static int nxrCreateSpaceUserFB(XrSession session, long info, long user) { - long __functionAddress = session.getCapabilities().xrCreateSpaceUserFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), info, user, __functionAddress); - } - + } + + // --- [ xrCreateSpaceUserFB ] --- + + /** Unsafe version of: {@link #xrCreateSpaceUserFB CreateSpaceUserFB} */ + public static int nxrCreateSpaceUserFB(XrSession session, long info, long user) { + long __functionAddress = session.getCapabilities().xrCreateSpaceUserFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), info, user, __functionAddress); + } + /** * Creates a user other than the current user. * @@ -105,26 +105,26 @@ public static int nxrCreateSpaceUserFB(XrSession session, long info, long user) * @param session a handle to an {@code XrSession}. * @param info a pointer to an {@link XrSpaceUserCreateInfoFB} structure containing information to create the user handle. * @param user the output parameter that points to the handle of the user being created. - */ - @NativeType("XrResult") - public static int xrCreateSpaceUserFB(XrSession session, @NativeType("XrSpaceUserCreateInfoFB const *") XrSpaceUserCreateInfoFB info, @NativeType("XrSpaceUserFB *") PointerBuffer user) { - if (CHECKS) { - check(user, 1); - } - return nxrCreateSpaceUserFB(session, info.address(), memAddress(user)); - } - - // --- [ xrGetSpaceUserIdFB ] --- - - /** Unsafe version of: {@link #xrGetSpaceUserIdFB GetSpaceUserIdFB} */ - public static int nxrGetSpaceUserIdFB(XrSpaceUserFB user, long userId) { - long __functionAddress = user.getCapabilities().xrGetSpaceUserIdFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(user.address(), userId, __functionAddress); - } - + */ + @NativeType("XrResult") + public static int xrCreateSpaceUserFB(XrSession session, @NativeType("XrSpaceUserCreateInfoFB const *") XrSpaceUserCreateInfoFB info, @NativeType("XrSpaceUserFB *") PointerBuffer user) { + if (CHECKS) { + check(user, 1); + } + return nxrCreateSpaceUserFB(session, info.address(), memAddress(user)); + } + + // --- [ xrGetSpaceUserIdFB ] --- + + /** Unsafe version of: {@link #xrGetSpaceUserIdFB GetSpaceUserIdFB} */ + public static int nxrGetSpaceUserIdFB(XrSpaceUserFB user, long userId) { + long __functionAddress = user.getCapabilities().xrGetSpaceUserIdFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(user.address(), userId, __functionAddress); + } + /** * Gets the user ID for a given user handle. * @@ -170,17 +170,17 @@ public static int nxrGetSpaceUserIdFB(XrSpaceUserFB user, long userId) { * * @param user a handle to an {@code XrSpaceUserFB}. * @param userId the output parameter that points to the user ID of the user. - */ - @NativeType("XrResult") - public static int xrGetSpaceUserIdFB(XrSpaceUserFB user, @NativeType("XrSpaceUserIdFB *") LongBuffer userId) { - if (CHECKS) { - check(userId, 1); - } - return nxrGetSpaceUserIdFB(user, memAddress(userId)); - } - - // --- [ xrDestroySpaceUserFB ] --- - + */ + @NativeType("XrResult") + public static int xrGetSpaceUserIdFB(XrSpaceUserFB user, @NativeType("XrSpaceUserIdFB *") LongBuffer userId) { + if (CHECKS) { + check(userId, 1); + } + return nxrGetSpaceUserIdFB(user, memAddress(userId)); + } + + // --- [ xrDestroySpaceUserFB ] --- + /** * Destroys a user handle. * @@ -225,14 +225,14 @@ public static int xrGetSpaceUserIdFB(XrSpaceUserFB user, @NativeType("XrSpaceUse * * * @param user a handle to the user object to be destroyed. - */ - @NativeType("XrResult") - public static int xrDestroySpaceUserFB(XrSpaceUserFB user) { - long __functionAddress = user.getCapabilities().xrDestroySpaceUserFB; - if (CHECKS) { - check(__functionAddress); - } - return callPI(user.address(), __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrDestroySpaceUserFB(XrSpaceUserFB user) { + long __functionAddress = user.getCapabilities().xrDestroySpaceUserFB; + if (CHECKS) { + check(__functionAddress); + } + return callPI(user.address(), __functionAddress); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateState.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateState.java index 6e2252e3df..1ebea7f554 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateState.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateState.java @@ -4,42 +4,42 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_FB_swapchain_update_state extension. * *This extension enables the application to modify and query specific mutable state associated with a swapchain.
* - *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBSwapchainUpdateState { - - /** The extension specification version. */ - public static final int XR_FB_swapchain_update_state_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME = "XR_FB_swapchain_update_state"; + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBSwapchainUpdateState { + + /** The extension specification version. */ + public static final int XR_FB_swapchain_update_state_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME = "XR_FB_swapchain_update_state"; protected FBSwapchainUpdateState() { throw new UnsupportedOperationException(); - } - - // --- [ xrUpdateSwapchainFB ] --- - - /** Unsafe version of: {@link #xrUpdateSwapchainFB UpdateSwapchainFB} */ - public static int nxrUpdateSwapchainFB(XrSwapchain swapchain, long state) { - long __functionAddress = swapchain.getCapabilities().xrUpdateSwapchainFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(swapchain.address(), state, __functionAddress); - } + } + // --- [ xrUpdateSwapchainFB ] --- + + /** Unsafe version of: {@link #xrUpdateSwapchainFB UpdateSwapchainFB} */ + public static int nxrUpdateSwapchainFB(XrSwapchain swapchain, long state) { + long __functionAddress = swapchain.getCapabilities().xrUpdateSwapchainFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(swapchain.address(), state, __functionAddress); + } + /** * Updates state for the corresponding swapchain. * @@ -89,23 +89,23 @@ public static int nxrUpdateSwapchainFB(XrSwapchain swapchain, long state) { * * @param swapchain the {@code XrSwapchain} to update state for. * @param state a pointer to a {@code XrSwapchainState} structure based off of {@link XrSwapchainStateBaseHeaderFB}. - */ - @NativeType("XrResult") - public static int xrUpdateSwapchainFB(XrSwapchain swapchain, @NativeType("XrSwapchainStateBaseHeaderFB const *") XrSwapchainStateBaseHeaderFB state) { - return nxrUpdateSwapchainFB(swapchain, state.address()); - } - - // --- [ xrGetSwapchainStateFB ] --- - - /** Unsafe version of: {@link #xrGetSwapchainStateFB GetSwapchainStateFB} */ - public static int nxrGetSwapchainStateFB(XrSwapchain swapchain, long state) { - long __functionAddress = swapchain.getCapabilities().xrGetSwapchainStateFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(swapchain.address(), state, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrUpdateSwapchainFB(XrSwapchain swapchain, @NativeType("XrSwapchainStateBaseHeaderFB const *") XrSwapchainStateBaseHeaderFB state) { + return nxrUpdateSwapchainFB(swapchain, state.address()); + } + // --- [ xrGetSwapchainStateFB ] --- + + /** Unsafe version of: {@link #xrGetSwapchainStateFB GetSwapchainStateFB} */ + public static int nxrGetSwapchainStateFB(XrSwapchain swapchain, long state) { + long __functionAddress = swapchain.getCapabilities().xrGetSwapchainStateFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(swapchain.address(), state, __functionAddress); + } + /** * Query state for the corresponding swapchain. * @@ -155,10 +155,10 @@ public static int nxrGetSwapchainStateFB(XrSwapchain swapchain, long state) { * * @param swapchain the {@code XrSwapchain} to update state for. * @param state a pointer to a {@code XrSwapchainState} structure based off of {@link XrSwapchainStateBaseHeaderFB}. - */ - @NativeType("XrResult") - public static int xrGetSwapchainStateFB(XrSwapchain swapchain, @NativeType("XrSwapchainStateBaseHeaderFB *") XrSwapchainStateBaseHeaderFB state) { - return nxrGetSwapchainStateFB(swapchain, state.address()); - } + */ + @NativeType("XrResult") + public static int xrGetSwapchainStateFB(XrSwapchain swapchain, @NativeType("XrSwapchainStateBaseHeaderFB *") XrSwapchainStateBaseHeaderFB state) { + return nxrGetSwapchainStateFB(swapchain, state.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateOpenGLES.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateOpenGLES.java index 3de49c0f6b..4beb9212b3 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateOpenGLES.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateOpenGLES.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_swapchain_update_state_opengl_es extension. * @@ -14,19 +14,19 @@ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBSwapchainUpdateStateOpenGLES { - - /** The extension specification version. */ - public static final int XR_FB_swapchain_update_state_opengl_es_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_OPENGL_ES_EXTENSION_NAME = "XR_FB_swapchain_update_state_opengl_es"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FB = 1000162000; + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBSwapchainUpdateStateOpenGLES { + + /** The extension specification version. */ + public static final int XR_FB_swapchain_update_state_opengl_es_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_OPENGL_ES_EXTENSION_NAME = "XR_FB_swapchain_update_state_opengl_es"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_SWAPCHAIN_STATE_SAMPLER_OPENGL_ES_FB = 1000162000; - private FBSwapchainUpdateStateOpenGLES() {} + private FBSwapchainUpdateStateOpenGLES() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateVulkan.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateVulkan.java index 6d0b073e92..c31b82126d 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateVulkan.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBSwapchainUpdateStateVulkan.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_swapchain_update_state_vulkan extension. * @@ -14,19 +14,19 @@ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public final class FBSwapchainUpdateStateVulkan { - - /** The extension specification version. */ - public static final int XR_FB_swapchain_update_state_vulkan_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_VULKAN_EXTENSION_NAME = "XR_FB_swapchain_update_state_vulkan"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_SWAPCHAIN_STATE_SAMPLER_VULKAN_FB = 1000163000; + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public final class FBSwapchainUpdateStateVulkan { + + /** The extension specification version. */ + public static final int XR_FB_swapchain_update_state_vulkan_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_VULKAN_EXTENSION_NAME = "XR_FB_swapchain_update_state_vulkan"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_SWAPCHAIN_STATE_SAMPLER_VULKAN_FB = 1000163000; - private FBSwapchainUpdateStateVulkan() {} + private FBSwapchainUpdateStateVulkan() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerPro.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerPro.java index 7e70ea98e7..df2d76dd97 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerPro.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerPro.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_touch_controller_pro extension. * @@ -78,15 +78,15 @@ * * * - */ -public final class FBTouchControllerPro { - - /** The extension specification version. */ - public static final int XR_FB_touch_controller_pro_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_TOUCH_CONTROLLER_PRO_EXTENSION_NAME = "XR_FB_touch_controller_pro"; + */ +public final class FBTouchControllerPro { + + /** The extension specification version. */ + public static final int XR_FB_touch_controller_pro_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_TOUCH_CONTROLLER_PRO_EXTENSION_NAME = "XR_FB_touch_controller_pro"; - private FBTouchControllerPro() {} + private FBTouchControllerPro() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerProximity.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerProximity.java index 5e2bbfd65b..c64edc5d75 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerProximity.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTouchControllerProximity.java @@ -4,20 +4,20 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_FB_touch_controller_proximity extension. * - *This extension introduces a new component path, proximity_fb, and adds support for it for the pathname:/interaction_profiles/oculus/touch_controller interaction profile.
- */ -public final class FBTouchControllerProximity { - - /** The extension specification version. */ - public static final int XR_FB_touch_controller_proximity_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_FB_TOUCH_CONTROLLER_PROXIMITY_EXTENSION_NAME = "XR_FB_touch_controller_proximity"; + *This extension introduces a new component path, proximity_fb, and adds support for it for the pathname:oculus/touch_controller interaction profile.
+ */ +public final class FBTouchControllerProximity { + + /** The extension specification version. */ + public static final int XR_FB_touch_controller_proximity_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_FB_TOUCH_CONTROLLER_PROXIMITY_EXTENSION_NAME = "XR_FB_touch_controller_proximity"; - private FBTouchControllerProximity() {} + private FBTouchControllerProximity() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTriangleMesh.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTriangleMesh.java index ef0c3251ce..3e49716a32 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTriangleMesh.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/FBTriangleMesh.java @@ -4,17 +4,17 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import java.nio.*; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_FB_triangle_mesh extension. * @@ -27,22 +27,22 @@ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class FBTriangleMesh { - - /** The extension specification version. */ - public static final int XR_FB_triangle_mesh_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_FB_TRIANGLE_MESH_EXTENSION_NAME = "XR_FB_triangle_mesh"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_TRIANGLE_MESH_CREATE_INFO_FB = 1000117001; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_TRIANGLE_MESH_FB = 1000117000; - + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class FBTriangleMesh { + + /** The extension specification version. */ + public static final int XR_FB_triangle_mesh_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_FB_TRIANGLE_MESH_EXTENSION_NAME = "XR_FB_triangle_mesh"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_TRIANGLE_MESH_CREATE_INFO_FB = 1000117001; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_TRIANGLE_MESH_FB = 1000117000; + /** * XrTriangleMeshFlagBitsFB - XrTriangleMeshFlagBitsFB * @@ -51,9 +51,9 @@ public class FBTriangleMesh { *{@link XrTriangleMeshCreateInfoFB}
- */ + */ public static final int - XR_WINDING_ORDER_UNKNOWN_FB = 0, - XR_WINDING_ORDER_CW_FB = 1, - XR_WINDING_ORDER_CCW_FB = 2; + XR_WINDING_ORDER_UNKNOWN_FB = 0, + XR_WINDING_ORDER_CW_FB = 1, + XR_WINDING_ORDER_CCW_FB = 2; protected FBTriangleMesh() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateTriangleMeshFB ] --- - - /** Unsafe version of: {@link #xrCreateTriangleMeshFB CreateTriangleMeshFB} */ - public static int nxrCreateTriangleMeshFB(XrSession session, long createInfo, long outTriangleMesh) { - long __functionAddress = session.getCapabilities().xrCreateTriangleMeshFB; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), createInfo, outTriangleMesh, __functionAddress); - } - + } + + // --- [ xrCreateTriangleMeshFB ] --- + + /** Unsafe version of: {@link #xrCreateTriangleMeshFB CreateTriangleMeshFB} */ + public static int nxrCreateTriangleMeshFB(XrSession session, long createInfo, long outTriangleMesh) { + long __functionAddress = session.getCapabilities().xrCreateTriangleMeshFB; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), createInfo, outTriangleMesh, __functionAddress); + } + /** * Create a triangle mesh. * @@ -106,9 +106,9 @@ public static int nxrCreateTriangleMeshFB(XrSession session, long createInfo, lo * *This creates an {@code XrTriangleMeshFB} handle. The returned triangle mesh handle may be subsequently used in API calls.
* - *When the mesh is mutable (the {@link #XR_TRIANGLE_MESH_MUTABLE_BIT_FB TRIANGLE_MESH_MUTABLE_BIT_FB} bit is set in {@code createInfo→pname}:flags), the created triangle mesh starts in the fb_triangle_mesh_state_undefined_topology state.
+ *When the mesh is mutable (the {@link #XR_TRIANGLE_MESH_MUTABLE_BIT_FB TRIANGLE_MESH_MUTABLE_BIT_FB} bit is set in {@code createInfo→pname}:flags), the created triangle mesh starts in the fb_triangle_mesh_state_undefined_topology state.
* - *Immutable meshes have no state machine; they may be considered to be in state fb_triangle_mesh_state_ready with no valid edges leaving that state.
+ *Immutable meshes have no state machine; they may be considered to be in state fb_triangle_mesh_state_ready with no valid edges leaving that state.
* *A mesh must be mutable and in a specific state for the application to modify it through the retrieved vertex buffer.
* *Retrieves a pointer to the index buffer that defines the topology of the triangle mesh. Each triplet of consecutive elements points to three vertices in the vertex buffer and thus form a triangle. The size of the buffer is {@link XrTriangleMeshCreateInfoFB}{@code ::indexCount} elements. The buffer location is guaranteed to remain constant over the lifecycle of the mesh object.
* - *A triangle mesh must be mutable and in state fb_triangle_mesh_state_defining_topology or fb_triangle_mesh_state_updating_mesh for the application to modify the contents and/or triangle count in the index buffer retrieved by this function.
+ *A triangle mesh must be mutable and in state fb_triangle_mesh_state_defining_topology or fb_triangle_mesh_state_updating_mesh for the application to modify the contents and/or triangle count in the index buffer retrieved by this function.
* *Begins updating the mesh buffer data. The application must call this function before it makes any modifications to the buffers retrieved by {@link #xrTriangleMeshGetVertexBufferFB TriangleMeshGetVertexBufferFB} and {@link #xrTriangleMeshGetIndexBufferFB TriangleMeshGetIndexBufferFB}. If only the vertex buffer contents need to be updated, and the mesh is in state fb_triangle_mesh_state_ready, {@link #xrTriangleMeshBeginVertexBufferUpdateFB TriangleMeshBeginVertexBufferUpdateFB} may be used instead. To commit the modifications, the application must call {@link #xrTriangleMeshEndUpdateFB TriangleMeshEndUpdateFB}.
+ *Begins updating the mesh buffer data. The application must call this function before it makes any modifications to the buffers retrieved by {@link #xrTriangleMeshGetVertexBufferFB TriangleMeshGetVertexBufferFB} and {@link #xrTriangleMeshGetIndexBufferFB TriangleMeshGetIndexBufferFB}. If only the vertex buffer contents need to be updated, and the mesh is in state fb_triangle_mesh_state_ready, {@link #xrTriangleMeshBeginVertexBufferUpdateFB TriangleMeshBeginVertexBufferUpdateFB} may be used instead. To commit the modifications, the application must call {@link #xrTriangleMeshEndUpdateFB TriangleMeshEndUpdateFB}.
* *The triangle mesh {@code mesh} must be mutable. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if the mesh is immutable.
* - *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_undefined_topology or fb_triangle_mesh_state_ready.
+ *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_undefined_topology or fb_triangle_mesh_state_ready.
* *{@link #xrTriangleMeshEndUpdateFB TriangleMeshEndUpdateFB}
* * @param mesh the {@code XrTriangleMeshFB} to update. - */ - @NativeType("XrResult") - public static int xrTriangleMeshBeginUpdateFB(XrTriangleMeshFB mesh) { - long __functionAddress = mesh.getCapabilities().xrTriangleMeshBeginUpdateFB; - if (CHECKS) { - check(__functionAddress); - } - return callPI(mesh.address(), __functionAddress); - } - - // --- [ xrTriangleMeshEndUpdateFB ] --- - + */ + @NativeType("XrResult") + public static int xrTriangleMeshBeginUpdateFB(XrTriangleMeshFB mesh) { + long __functionAddress = mesh.getCapabilities().xrTriangleMeshBeginUpdateFB; + if (CHECKS) { + check(__functionAddress); + } + return callPI(mesh.address(), __functionAddress); + } + + // --- [ xrTriangleMeshEndUpdateFB ] --- + /** * End an update of the mesh data. * @@ -455,9 +455,9 @@ public static int xrTriangleMeshBeginUpdateFB(XrTriangleMeshFB mesh) { * *The triangle mesh {@code mesh} must be mutable. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if the mesh is immutable.
* - *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_defining_topology or fb_triangle_mesh_state_updating_mesh.
+ *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_defining_topology or fb_triangle_mesh_state_updating_mesh.
* - *A successful call moves {@code mesh} to state fb_triangle_mesh_state_ready.
+ *A successful call moves {@code mesh} to state fb_triangle_mesh_state_ready.
* *Begins an update of the vertex positions of a mutable triangle mesh. The vertex count returned through {@code outVertexCount} is defined by the last call to {@link #xrTriangleMeshEndUpdateFB TriangleMeshEndUpdateFB}. Once the modification is done, call {@link #xrTriangleMeshEndVertexBufferUpdateFB TriangleMeshEndVertexBufferUpdateFB} to commit the changes and move to state fb_triangle_mesh_state_ready.
+ *Begins an update of the vertex positions of a mutable triangle mesh. The vertex count returned through {@code outVertexCount} is defined by the last call to {@link #xrTriangleMeshEndUpdateFB TriangleMeshEndUpdateFB}. Once the modification is done, call {@link #xrTriangleMeshEndVertexBufferUpdateFB TriangleMeshEndVertexBufferUpdateFB} to commit the changes and move to state fb_triangle_mesh_state_ready.
* *The triangle mesh {@code mesh} must be mutable. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if the mesh is immutable.
* - *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_ready.
+ *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_ready.
* - *A successful call moves {@code mesh} to state fb_triangle_mesh_state_updating_vertices.
+ *A successful call moves {@code mesh} to state fb_triangle_mesh_state_updating_vertices.
* *The triangle mesh {@code mesh} must be mutable. The runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if the mesh is immutable.
* - *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_updating_vertices.
+ *The triangle mesh {@code mesh} must be in state fb_triangle_mesh_state_updating_vertices.
* - *A successful call moves {@code mesh} to state fb_triangle_mesh_state_ready.
+ *A successful call moves {@code mesh} to state fb_triangle_mesh_state_ready.
* *{@link #xrTriangleMeshBeginVertexBufferUpdateFB TriangleMeshBeginVertexBufferUpdateFB}
* * @param mesh the {@code XrTriangleMeshFB} to update. - */ - @NativeType("XrResult") - public static int xrTriangleMeshEndVertexBufferUpdateFB(XrTriangleMeshFB mesh) { - long __functionAddress = mesh.getCapabilities().xrTriangleMeshEndVertexBufferUpdateFB; - if (CHECKS) { - check(__functionAddress); - } - return callPI(mesh.address(), __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrTriangleMeshEndVertexBufferUpdateFB(XrTriangleMeshFB mesh) { + long __functionAddress = mesh.getCapabilities().xrTriangleMeshEndVertexBufferUpdateFB; + if (CHECKS) { + check(__functionAddress); + } + return callPI(mesh.address(), __functionAddress); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFacialTracking.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFacialTracking.java index b3457a2b77..31bf6d27e4 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFacialTracking.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFacialTracking.java @@ -4,31 +4,31 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_HTC_facial_tracking extension. * *This extension allows an application to track and integrate users' eye and lip movements, empowering developers to read intention and model facial expressions.
- */ -public class HTCFacialTracking { - - /** The extension specification version. */ - public static final int XR_HTC_facial_tracking_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_HTC_FACIAL_TRACKING_EXTENSION_NAME = "XR_HTC_facial_tracking"; - - /** Extends {@code XrObjectType}. */ - public static final int XR_OBJECT_TYPE_FACIAL_TRACKER_HTC = 1000104000; - + */ +public class HTCFacialTracking { + + /** The extension specification version. */ + public static final int XR_HTC_facial_tracking_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_HTC_FACIAL_TRACKING_EXTENSION_NAME = "XR_HTC_facial_tracking"; + + /** Extends {@code XrObjectType}. */ + public static final int XR_OBJECT_TYPE_FACIAL_TRACKER_HTC = 1000104000; + /** * Extends {@code XrStructureType}. * @@ -39,12 +39,12 @@ public class HTCFacialTracking { *{@link XrFacialTrackerCreateInfoHTC}
- */ + */ public static final int - XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC = 1, - XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC = 2; - - /** API Constants */ + XR_FACIAL_TRACKING_TYPE_EYE_DEFAULT_HTC = 1, + XR_FACIAL_TRACKING_TYPE_LIP_DEFAULT_HTC = 2; + + /** API Constants */ public static final int - XR_FACIAL_EXPRESSION_EYE_COUNT_HTC = 0xE, - XR_FACIAL_EXPRESSION_LIP_COUNT_HTC = 0x25; + XR_FACIAL_EXPRESSION_EYE_COUNT_HTC = 0xE, + XR_FACIAL_EXPRESSION_LIP_COUNT_HTC = 0x25; protected HTCFacialTracking() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateFacialTrackerHTC ] --- - - /** Unsafe version of: {@link #xrCreateFacialTrackerHTC CreateFacialTrackerHTC} */ - public static int nxrCreateFacialTrackerHTC(XrSession session, long createInfo, long facialTracker) { - long __functionAddress = session.getCapabilities().xrCreateFacialTrackerHTC; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), createInfo, facialTracker, __functionAddress); - } + } + // --- [ xrCreateFacialTrackerHTC ] --- + + /** Unsafe version of: {@link #xrCreateFacialTrackerHTC CreateFacialTrackerHTC} */ + public static int nxrCreateFacialTrackerHTC(XrSession session, long createInfo, long facialTracker) { + long __functionAddress = session.getCapabilities().xrCreateFacialTrackerHTC; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), createInfo, facialTracker, __functionAddress); + } + /** * Create an facial tracker handle. * @@ -262,17 +262,17 @@ public static int nxrCreateFacialTrackerHTC(XrSession session, long createInfo, * @param session an {@code XrSession} in which the facial expression will be active. * @param createInfo the {@link XrFacialTrackerCreateInfoHTC} used to specify the facial tracking type. * @param facialTracker the returned {@code XrFacialTrackerHTC} handle. - */ - @NativeType("XrResult") - public static int xrCreateFacialTrackerHTC(XrSession session, @NativeType("XrFacialTrackerCreateInfoHTC const *") XrFacialTrackerCreateInfoHTC createInfo, @NativeType("XrFacialTrackerHTC *") PointerBuffer facialTracker) { - if (CHECKS) { - check(facialTracker, 1); - } - return nxrCreateFacialTrackerHTC(session, createInfo.address(), memAddress(facialTracker)); - } - - // --- [ xrDestroyFacialTrackerHTC ] --- + */ + @NativeType("XrResult") + public static int xrCreateFacialTrackerHTC(XrSession session, @NativeType("XrFacialTrackerCreateInfoHTC const *") XrFacialTrackerCreateInfoHTC createInfo, @NativeType("XrFacialTrackerHTC *") PointerBuffer facialTracker) { + if (CHECKS) { + check(facialTracker, 1); + } + return nxrCreateFacialTrackerHTC(session, createInfo.address(), memAddress(facialTracker)); + } + // --- [ xrDestroyFacialTrackerHTC ] --- + /** * Destroy a facial tracker handle. * @@ -316,27 +316,27 @@ public static int xrCreateFacialTrackerHTC(XrSession session, @NativeType("XrFac * * * @param facialTracker an {@code XrFacialTrackerHTC} previously created by {@link #xrCreateFacialTrackerHTC CreateFacialTrackerHTC}. - */ - @NativeType("XrResult") - public static int xrDestroyFacialTrackerHTC(XrFacialTrackerHTC facialTracker) { - long __functionAddress = facialTracker.getCapabilities().xrDestroyFacialTrackerHTC; - if (CHECKS) { - check(__functionAddress); - } - return callPI(facialTracker.address(), __functionAddress); - } - - // --- [ xrGetFacialExpressionsHTC ] --- - - /** Unsafe version of: {@link #xrGetFacialExpressionsHTC GetFacialExpressionsHTC} */ - public static int nxrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, long facialExpressions) { - long __functionAddress = facialTracker.getCapabilities().xrGetFacialExpressionsHTC; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(facialTracker.address(), facialExpressions, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrDestroyFacialTrackerHTC(XrFacialTrackerHTC facialTracker) { + long __functionAddress = facialTracker.getCapabilities().xrDestroyFacialTrackerHTC; + if (CHECKS) { + check(__functionAddress); + } + return callPI(facialTracker.address(), __functionAddress); + } + // --- [ xrGetFacialExpressionsHTC ] --- + + /** Unsafe version of: {@link #xrGetFacialExpressionsHTC GetFacialExpressionsHTC} */ + public static int nxrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, long facialExpressions) { + long __functionAddress = facialTracker.getCapabilities().xrGetFacialExpressionsHTC; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(facialTracker.address(), facialExpressions, __functionAddress); + } + /** * Retrieve facial expressions. * @@ -385,10 +385,10 @@ public static int nxrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, l * * @param facialTracker an {@code XrFacialTrackerHTC} previously created by {@link #xrCreateFacialTrackerHTC CreateFacialTrackerHTC}. * @param facialExpressions a pointer to {@link XrFacialExpressionsHTC} receiving the returned facial expressions. - */ - @NativeType("XrResult") - public static int xrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, @NativeType("XrFacialExpressionsHTC *") XrFacialExpressionsHTC facialExpressions) { - return nxrGetFacialExpressionsHTC(facialTracker, facialExpressions.address()); - } + */ + @NativeType("XrResult") + public static int xrGetFacialExpressionsHTC(XrFacialTrackerHTC facialTracker, @NativeType("XrFacialExpressionsHTC *") XrFacialExpressionsHTC facialExpressions) { + return nxrGetFacialExpressionsHTC(facialTracker, facialExpressions.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFoveation.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFoveation.java index ad2a76083c..bae1093c5f 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFoveation.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCFoveation.java @@ -4,12 +4,12 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_HTC_foveation extension. * @@ -26,15 +26,15 @@ * *This extension is recommended for {@code XrSession} whose {@code XrViewConfigurationType} is {@link XR10#XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO}.
* - */ -public class HTCFoveation { - - /** The extension specification version. */ - public static final int XR_HTC_foveation_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_HTC_FOVEATION_EXTENSION_NAME = "XR_HTC_foveation"; - + */ +public class HTCFoveation { + + /** The extension specification version. */ + public static final int XR_HTC_foveation_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_HTC_FOVEATION_EXTENSION_NAME = "XR_HTC_foveation"; + /** * Extends {@code XrStructureType}. * @@ -45,12 +45,12 @@ public class HTCFoveation { *{@link XrFoveationApplyInfoHTC}
- */ + */ public static final int - XR_FOVEATION_MODE_DISABLE_HTC = 0, - XR_FOVEATION_MODE_FIXED_HTC = 1, - XR_FOVEATION_MODE_DYNAMIC_HTC = 2, - XR_FOVEATION_MODE_CUSTOM_HTC = 3; - + XR_FOVEATION_MODE_DISABLE_HTC = 0, + XR_FOVEATION_MODE_FIXED_HTC = 1, + XR_FOVEATION_MODE_DYNAMIC_HTC = 2, + XR_FOVEATION_MODE_CUSTOM_HTC = 3; + /** * XrFoveationLevelHTC - The pixel density drop level of periphery area * @@ -88,13 +88,13 @@ public class HTCFoveation { *{@link XrFoveationConfigurationHTC}
- */ + */ public static final int - XR_FOVEATION_LEVEL_NONE_HTC = 0, - XR_FOVEATION_LEVEL_LOW_HTC = 1, - XR_FOVEATION_LEVEL_MEDIUM_HTC = 2, - XR_FOVEATION_LEVEL_HIGH_HTC = 3; - + XR_FOVEATION_LEVEL_NONE_HTC = 0, + XR_FOVEATION_LEVEL_LOW_HTC = 1, + XR_FOVEATION_LEVEL_MEDIUM_HTC = 2, + XR_FOVEATION_LEVEL_HIGH_HTC = 3; + /** * XrFoveationDynamicFlagBitsHTC - Features allow to change in dynamic mode * @@ -105,28 +105,28 @@ public class HTCFoveation { *This extension defines a new interaction profile for tracked hands.
- */ -public final class HTCHandInteraction { - - /** The extension specification version. */ - public static final int XR_HTC_hand_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_HTC_HAND_INTERACTION_EXTENSION_NAME = "XR_HTC_hand_interaction"; + */ +public final class HTCHandInteraction { + + /** The extension specification version. */ + public static final int XR_HTC_hand_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_HTC_HAND_INTERACTION_EXTENSION_NAME = "XR_HTC_hand_interaction"; - private HTCHandInteraction() {} + private HTCHandInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCPassthrough.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCPassthrough.java index 560edd51ea..3e31235cdf 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCPassthrough.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCPassthrough.java @@ -4,15 +4,15 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_HTC_passthrough extension. * @@ -25,18 +25,18 @@ *{@link XrPassthroughCreateInfoHTC}
- */ + */ public static final int - XR_PASSTHROUGH_FORM_PLANAR_HTC = 0, - XR_PASSTHROUGH_FORM_PROJECTED_HTC = 1; + XR_PASSTHROUGH_FORM_PLANAR_HTC = 0, + XR_PASSTHROUGH_FORM_PROJECTED_HTC = 1; protected HTCPassthrough() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreatePassthroughHTC ] --- - - /** Unsafe version of: {@link #xrCreatePassthroughHTC CreatePassthroughHTC} */ - public static int nxrCreatePassthroughHTC(XrSession session, long createInfo, long passthrough) { - long __functionAddress = session.getCapabilities().xrCreatePassthroughHTC; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), createInfo, passthrough, __functionAddress); - } - + } + + // --- [ xrCreatePassthroughHTC ] --- + + /** Unsafe version of: {@link #xrCreatePassthroughHTC CreatePassthroughHTC} */ + public static int nxrCreatePassthroughHTC(XrSession session, long createInfo, long passthrough) { + long __functionAddress = session.getCapabilities().xrCreatePassthroughHTC; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), createInfo, passthrough, __functionAddress); + } + /** * Create a passthrough handle. * @@ -145,17 +145,17 @@ public static int nxrCreatePassthroughHTC(XrSession session, long createInfo, lo * @param session an {@code XrSession} in which the passthrough will be active. * @param createInfo a pointer to an {@link XrPassthroughCreateInfoHTC} structure containing information about how to create the passthrough. * @param passthrough a pointer to a handle in which the created {@code XrPassthroughHTC} is returned. - */ - @NativeType("XrResult") - public static int xrCreatePassthroughHTC(XrSession session, @NativeType("XrPassthroughCreateInfoHTC const *") XrPassthroughCreateInfoHTC createInfo, @NativeType("XrPassthroughHTC *") PointerBuffer passthrough) { - if (CHECKS) { - check(passthrough, 1); - } - return nxrCreatePassthroughHTC(session, createInfo.address(), memAddress(passthrough)); - } - - // --- [ xrDestroyPassthroughHTC ] --- - + */ + @NativeType("XrResult") + public static int xrCreatePassthroughHTC(XrSession session, @NativeType("XrPassthroughCreateInfoHTC const *") XrPassthroughCreateInfoHTC createInfo, @NativeType("XrPassthroughHTC *") PointerBuffer passthrough) { + if (CHECKS) { + check(passthrough, 1); + } + return nxrCreatePassthroughHTC(session, createInfo.address(), memAddress(passthrough)); + } + + // --- [ xrDestroyPassthroughHTC ] --- + /** * Destroy a passthrough handle. * @@ -200,14 +200,14 @@ public static int xrCreatePassthroughHTC(XrSession session, @NativeType("XrPasst * * * @param passthrough the {@code XrPassthroughHTC} to be destroyed. - */ - @NativeType("XrResult") - public static int xrDestroyPassthroughHTC(XrPassthroughHTC passthrough) { - long __functionAddress = passthrough.getCapabilities().xrDestroyPassthroughHTC; - if (CHECKS) { - check(__functionAddress); - } - return callPI(passthrough.address(), __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrDestroyPassthroughHTC(XrPassthroughHTC passthrough) { + long __functionAddress = passthrough.getCapabilities().xrDestroyPassthroughHTC; + if (CHECKS) { + check(__functionAddress); + } + return callPI(passthrough.address(), __functionAddress); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveCosmosControllerInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveCosmosControllerInteraction.java index f0f71345bc..3d40f29c7f 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveCosmosControllerInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveCosmosControllerInteraction.java @@ -4,20 +4,20 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_HTC_vive_cosmos_controller_interaction extension. * *This extension defines a new interaction profile for the VIVE Cosmos Controller.
- */ -public final class HTCViveCosmosControllerInteraction { - - /** The extension specification version. */ - public static final int XR_HTC_vive_cosmos_controller_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_HTC_VIVE_COSMOS_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_HTC_vive_cosmos_controller_interaction"; + */ +public final class HTCViveCosmosControllerInteraction { + + /** The extension specification version. */ + public static final int XR_HTC_vive_cosmos_controller_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_HTC_VIVE_COSMOS_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_HTC_vive_cosmos_controller_interaction"; - private HTCViveCosmosControllerInteraction() {} + private HTCViveCosmosControllerInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveFocus3ControllerInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveFocus3ControllerInteraction.java index 29010f4b12..206f6c45fe 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveFocus3ControllerInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveFocus3ControllerInteraction.java @@ -4,20 +4,20 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_HTC_vive_focus3_controller_interaction extension. * *This extension defines a new interaction profile for the VIVE Focus 3 Controller.
- */ -public final class HTCViveFocus3ControllerInteraction { - - /** The extension specification version. */ - public static final int XR_HTC_vive_focus3_controller_interaction_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_HTC_vive_focus3_controller_interaction"; + */ +public final class HTCViveFocus3ControllerInteraction { + + /** The extension specification version. */ + public static final int XR_HTC_vive_focus3_controller_interaction_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_HTC_VIVE_FOCUS3_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_HTC_vive_focus3_controller_interaction"; - private HTCViveFocus3ControllerInteraction() {} + private HTCViveFocus3ControllerInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveWristTrackerInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveWristTrackerInteraction.java index e1423de6a8..2f9479b20f 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveWristTrackerInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCViveWristTrackerInteraction.java @@ -4,20 +4,20 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_HTC_vive_wrist_tracker_interaction extension. * *This extension provides an {@code XrPath} for getting device input from a VIVE wrist tracker to enable its interactions. VIVE wrist tracker is a tracked device mainly worn on user’s wrist for pose tracking. Besides this use case, user also can tie it to a physical object to track its object pose, e.g. tie on a gun.
- */ -public final class HTCViveWristTrackerInteraction { - - /** The extension specification version. */ - public static final int XR_HTC_vive_wrist_tracker_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_HTC_VIVE_WRIST_TRACKER_INTERACTION_EXTENSION_NAME = "XR_HTC_vive_wrist_tracker_interaction"; + */ +public final class HTCViveWristTrackerInteraction { + + /** The extension specification version. */ + public static final int XR_HTC_vive_wrist_tracker_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_HTC_VIVE_WRIST_TRACKER_INTERACTION_EXTENSION_NAME = "XR_HTC_vive_wrist_tracker_interaction"; - private HTCViveWristTrackerInteraction() {} + private HTCViveWristTrackerInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCXViveTrackerInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCXViveTrackerInteraction.java index 23d73786fe..9b66582811 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCXViveTrackerInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/HTCXViveTrackerInteraction.java @@ -4,23 +4,23 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import javax.annotation.*; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_HTCX_vive_tracker_interaction extension. * *This extension defines a new interaction profile for HTC VIVE Tracker. HTC VIVE Tracker is a generic tracked device which can be attached to anything to make them trackable. For example, it can be attached to user’s hands or feet to track the motion of human body. It can also be attached to any other devices the user wants to track and interact with.
* - *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
+ *In order to enable the functionality of this extension, you must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo} {@code enabledExtensionNames} parameter as indicated in the extensions section.
* *This extension allows:
* @@ -48,10 +48,6 @@ *As with other controllers, if a VIVE tracker is connected and bound to a top-level user path, or disconnected while bound to top-level user path, the runtime must send event {@link XR10#XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED}, and the application may call {@link XR10#xrGetCurrentInteractionProfile GetCurrentInteractionProfile} to check if the tracker is active or not.
+ *As with other controllers, if a VIVE tracker is connected and bound to a top-level user path, or disconnected while bound to top-level user path, the runtime must send event {@link XR10#XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED}, and the application may call {@link XR10#xrGetCurrentInteractionProfile GetCurrentInteractionProfile} to check if the tracker is active or not.
* *The device that a tracker is attached to probably has a different motion model than what the tracker assumes. The motion tracking might not be as expected in this case.
- */ -public class HTCXViveTrackerInteraction { - - /** The extension specification version. */ - public static final int XR_HTCX_vive_tracker_interaction_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_HTCX_VIVE_TRACKER_INTERACTION_EXTENSION_NAME = "XR_HTCX_vive_tracker_interaction"; - + */ +public class HTCXViveTrackerInteraction { + + /** The extension specification version. */ + public static final int XR_HTCX_vive_tracker_interaction_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_HTCX_VIVE_TRACKER_INTERACTION_EXTENSION_NAME = "XR_HTCX_vive_tracker_interaction"; + /** * Extends {@code XrStructureType}. * @@ -83,30 +79,30 @@ public class HTCXViveTrackerInteraction { *This extension defines a new interaction profile for the Huawei Controller, including but not limited to Huawei VR Glasses Controller.
- */ -public final class HUAWEIControllerInteraction { - - /** The extension specification version. */ - public static final int XR_HUAWEI_controller_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_HUAWEI_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_HUAWEI_controller_interaction"; + */ +public final class HUAWEIControllerInteraction { + + /** The extension specification version. */ + public static final int XR_HUAWEI_controller_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_HUAWEI_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_HUAWEI_controller_interaction"; - private HUAWEIControllerInteraction() {} + private HUAWEIControllerInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRAndroidCreateInstance.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRAndroidCreateInstance.java new file mode 100644 index 0000000000..ee11c4c1ed --- /dev/null +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRAndroidCreateInstance.java @@ -0,0 +1,28 @@ +/* + * Copyright LWJGL. All rights reserved. + * License terms: https://www.lwjgl.org/license + * MACHINE GENERATED FILE, DO NOT EDIT + */ +package org.lwjgl.openxr; + +/** + * The XR_KHR_android_create_instance extension. + * + *When the application creates an {@code XrInstance} object on Android systems, additional information from the application has to be provided to the XR runtime.
+ * + *The Android XR runtime must return error {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} if the additional information is not provided by the application or if the additional parameters are invalid.
+ */ +public final class KHRAndroidCreateInstance { + + /** The extension specification version. */ + public static final int XR_KHR_android_create_instance_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME = "XR_KHR_android_create_instance"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_INSTANCE_CREATE_INFO_ANDROID_KHR = 1000008000; + + private KHRAndroidCreateInstance() {} + +} \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRBindingModification.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRBindingModification.java index 279b3f23e5..b965437756 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRBindingModification.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRBindingModification.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_KHR_binding_modification extension. * *This extension adds an optional structure that can be included on the {@link XrInteractionProfileSuggestedBinding}{@code ::next} chain passed to {@link XR10#xrSuggestInteractionProfileBindings SuggestInteractionProfileBindings} to specify additional information to modify default binding behavior.
* *This extension does not define any actual modification structs, but includes the list of modifications and the {@link XrBindingModificationBaseHeaderKHR} structure to allow other extensions to provide specific modifications.
- */ -public final class KHRBindingModification { - - /** The extension specification version. */ - public static final int XR_KHR_binding_modification_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_KHR_BINDING_MODIFICATION_EXTENSION_NAME = "XR_KHR_binding_modification"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_BINDING_MODIFICATIONS_KHR = 1000120000; + */ +public final class KHRBindingModification { + + /** The extension specification version. */ + public static final int XR_KHR_binding_modification_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_KHR_BINDING_MODIFICATION_EXTENSION_NAME = "XR_KHR_binding_modification"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_BINDING_MODIFICATIONS_KHR = 1000120000; - private KHRBindingModification() {} + private KHRBindingModification() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerColorScaleBias.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerColorScaleBias.java index 31ed8ea2af..a100e4939b 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerColorScaleBias.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerColorScaleBias.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_KHR_composition_layer_color_scale_bias extension. * @@ -22,18 +22,18 @@ *This extension specifies the {@link XrCompositionLayerColorScaleBiasKHR} structure, which, if present in the {@link XrCompositionLayerBaseHeader}{@code ::next} chain, must be applied to the composition layer.
* *This extension does not define a new composition layer type, but rather it defines a transform that may be applied to the color derived from existing composition layer types.
- */ -public final class KHRCompositionLayerColorScaleBias { - - /** The extension specification version. */ - public static final int XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION = 5; - - /** The extension name. */ - public static final String XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME = "XR_KHR_composition_layer_color_scale_bias"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR = 1000034000; + */ +public final class KHRCompositionLayerColorScaleBias { + + /** The extension specification version. */ + public static final int XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION = 5; + + /** The extension name. */ + public static final String XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME = "XR_KHR_composition_layer_color_scale_bias"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR = 1000034000; - private KHRCompositionLayerColorScaleBias() {} + private KHRCompositionLayerColorScaleBias() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCube.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCube.java index 15e774f9db..04a66c4686 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCube.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCube.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_KHR_composition_layer_cube extension. * *This extension adds an additional layer type that enables direct sampling from cubemaps.
* *The cube layer is the natural layer type for hardware accelerated environment maps. Without updating the image source, the user can look all around, and the compositor can display what they are looking at without intervention from the application.
- */ -public final class KHRCompositionLayerCube { - - /** The extension specification version. */ - public static final int XR_KHR_composition_layer_cube_SPEC_VERSION = 8; - - /** The extension name. */ - public static final String XR_KHR_COMPOSITION_LAYER_CUBE_EXTENSION_NAME = "XR_KHR_composition_layer_cube"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_CUBE_KHR = 1000006000; + */ +public final class KHRCompositionLayerCube { + + /** The extension specification version. */ + public static final int XR_KHR_composition_layer_cube_SPEC_VERSION = 8; + + /** The extension name. */ + public static final String XR_KHR_COMPOSITION_LAYER_CUBE_EXTENSION_NAME = "XR_KHR_composition_layer_cube"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_CUBE_KHR = 1000006000; - private KHRCompositionLayerCube() {} + private KHRCompositionLayerCube() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCylinder.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCylinder.java index 9634b8ed36..983ced4933 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCylinder.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerCylinder.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_KHR_composition_layer_cylinder extension. * @@ -26,18 +26,18 @@ *This extension defines an extra layer type which allows applications to submit depth images along with color images in projection layers, i.e. {@link XrCompositionLayerProjection}.
* - *The XR runtime may use this information to perform more accurate reprojections taking depth into account. Use of this extension does not affect the order of layer composition as described in Compositing.
- */ -public final class KHRCompositionLayerDepth { - - /** The extension specification version. */ - public static final int XR_KHR_composition_layer_depth_SPEC_VERSION = 6; - - /** The extension name. */ - public static final String XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME = "XR_KHR_composition_layer_depth"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR = 1000010000; + *The XR runtime may use this information to perform more accurate reprojections taking depth into account. Use of this extension does not affect the order of layer composition as described in Compositing.
+ */ +public final class KHRCompositionLayerDepth { + + /** The extension specification version. */ + public static final int XR_KHR_composition_layer_depth_SPEC_VERSION = 6; + + /** The extension name. */ + public static final String XR_KHR_COMPOSITION_LAYER_DEPTH_EXTENSION_NAME = "XR_KHR_composition_layer_depth"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR = 1000010000; - private KHRCompositionLayerDepth() {} + private KHRCompositionLayerDepth() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect.java index c76c4e3de2..80528d3aa8 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_KHR_composition_layer_equirect extension. * @@ -13,18 +13,18 @@ *The equirect layer type provides most of the same benefits as a cubemap, but from an equirect 2D image source. This image source is appealing mostly because equirect environment maps are very common, and the highest quality you can get from them is by sampling them directly in the compositor.
* *This is not a projection type of layer but rather an object-in-world type of layer, similar to {@link XrCompositionLayerQuad}. Only the interior of the sphere surface must be visible; the exterior of the sphere is not visible and must not be drawn by the runtime.
- */ -public final class KHRCompositionLayerEquirect { - - /** The extension specification version. */ - public static final int XR_KHR_composition_layer_equirect_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME = "XR_KHR_composition_layer_equirect"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR = 1000018000; + */ +public final class KHRCompositionLayerEquirect { + + /** The extension specification version. */ + public static final int XR_KHR_composition_layer_equirect_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT_EXTENSION_NAME = "XR_KHR_composition_layer_equirect"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR = 1000018000; - private KHRCompositionLayerEquirect() {} + private KHRCompositionLayerEquirect() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect2.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect2.java index 90fd7c1138..a0bf904302 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect2.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRCompositionLayerEquirect2.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_KHR_composition_layer_equirect2 extension. * @@ -15,18 +15,18 @@ *This is not a projection type of layer but rather an object-in-world type of layer, similar to {@link XrCompositionLayerQuad}. Only the interior of the sphere surface must be visible; the exterior of the sphere is not visible and must not be drawn by the runtime.
* *This extension uses a different parameterization more in keeping with the formulation of KHR_composition_layer_cylinder but is functionally equivalent to KHR_composition_layer_equirect.
- */ -public final class KHRCompositionLayerEquirect2 { - - /** The extension specification version. */ - public static final int XR_KHR_composition_layer_equirect2_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME = "XR_KHR_composition_layer_equirect2"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR = 1000091000; + */ +public final class KHRCompositionLayerEquirect2 { + + /** The extension specification version. */ + public static final int XR_KHR_composition_layer_equirect2_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME = "XR_KHR_composition_layer_equirect2"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR = 1000091000; - private KHRCompositionLayerEquirect2() {} + private KHRCompositionLayerEquirect2() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRConvertTimespecTime.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRConvertTimespecTime.java index 3037701817..f1e1ff164b 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRConvertTimespecTime.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRConvertTimespecTime.java @@ -4,44 +4,44 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_KHR_convert_timespec_time extension. * *This extension provides two functions for converting between timespec monotonic time and {@code XrTime}. The {@link #xrConvertTimespecTimeToTimeKHR ConvertTimespecTimeToTimeKHR} function converts from timespec time to {@code XrTime}, while the {@link #xrConvertTimeToTimespecTimeKHR ConvertTimeToTimespecTimeKHR} function converts {@code XrTime} to timespec monotonic time. The primary use case for this functionality is to be able to synchronize events between the local system and the OpenXR system.
- */ -public class KHRConvertTimespecTime { - - /** The extension specification version. */ - public static final int XR_KHR_convert_timespec_time_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_KHR_CONVERT_TIMESPEC_TIME_EXTENSION_NAME = "XR_KHR_convert_timespec_time"; + */ +public class KHRConvertTimespecTime { + + /** The extension specification version. */ + public static final int XR_KHR_convert_timespec_time_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_KHR_CONVERT_TIMESPEC_TIME_EXTENSION_NAME = "XR_KHR_convert_timespec_time"; protected KHRConvertTimespecTime() { throw new UnsupportedOperationException(); - } - - // --- [ xrConvertTimespecTimeToTimeKHR ] --- - - /** Unsafe version of: {@link #xrConvertTimespecTimeToTimeKHR ConvertTimespecTimeToTimeKHR} */ - public static int nxrConvertTimespecTimeToTimeKHR(XrInstance instance, long unixTime, long time) { - long __functionAddress = instance.getCapabilities().xrConvertTimespecTimeToTimeKHR; - if (CHECKS) { - check(__functionAddress); - check(unixTime); - } - return callPPPI(instance.address(), unixTime, time, __functionAddress); - } + } + // --- [ xrConvertTimespecTimeToTimeKHR ] --- + + /** Unsafe version of: {@link #xrConvertTimespecTimeToTimeKHR ConvertTimespecTimeToTimeKHR} */ + public static int nxrConvertTimespecTimeToTimeKHR(XrInstance instance, long unixTime, long time) { + long __functionAddress = instance.getCapabilities().xrConvertTimespecTimeToTimeKHR; + if (CHECKS) { + check(__functionAddress); + check(unixTime); + } + return callPPPI(instance.address(), unixTime, time, __functionAddress); + } + /** * Convert timespec monotonic time to XrTime. * @@ -90,17 +90,17 @@ public static int nxrConvertTimespecTimeToTimeKHR(XrInstance instance, long unix * * @param instance an {@code XrInstance} handle previously created with {@link XR10#xrCreateInstance CreateInstance}. * @param time the resulting {@code XrTime} that is equivalent to the {@code timespecTime}. - */ - @NativeType("XrResult") - public static int xrConvertTimespecTimeToTimeKHR(XrInstance instance, @NativeType("struct timespec const *") long unixTime, @NativeType("XrTime *") LongBuffer time) { - if (CHECKS) { - check(time, 1); - } - return nxrConvertTimespecTimeToTimeKHR(instance, unixTime, memAddress(time)); - } - - // --- [ xrConvertTimeToTimespecTimeKHR ] --- + */ + @NativeType("XrResult") + public static int xrConvertTimespecTimeToTimeKHR(XrInstance instance, @NativeType("struct timespec const *") long unixTime, @NativeType("XrTime *") LongBuffer time) { + if (CHECKS) { + check(time, 1); + } + return nxrConvertTimespecTimeToTimeKHR(instance, unixTime, memAddress(time)); + } + // --- [ xrConvertTimeToTimespecTimeKHR ] --- + /** * Convert XrTime to timespec monotonic time. * @@ -149,15 +149,15 @@ public static int xrConvertTimespecTimeToTimeKHR(XrInstance instance, @NativeTyp * @param instance an {@code XrInstance} handle previously created with {@link XR10#xrCreateInstance CreateInstance}. * @param time an {@code XrTime}. * @param timespecTime the resulting timespec time that is equivalent to a {@code timespec} obtained from {@code clock_gettime} with {@code CLOCK_MONOTONIC}. - */ - @NativeType("XrResult") - public static int xrConvertTimeToTimespecTimeKHR(XrInstance instance, @NativeType("XrTime") long time, @NativeType("struct timespec *") long timespecTime) { - long __functionAddress = instance.getCapabilities().xrConvertTimeToTimespecTimeKHR; - if (CHECKS) { - check(__functionAddress); - check(timespecTime); - } - return callPJPI(instance.address(), time, timespecTime, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrConvertTimeToTimespecTimeKHR(XrInstance instance, @NativeType("XrTime") long time, @NativeType("struct timespec *") long timespecTime) { + long __functionAddress = instance.getCapabilities().xrConvertTimeToTimespecTimeKHR; + if (CHECKS) { + check(__functionAddress); + check(timespecTime); + } + return callPJPI(instance.address(), time, timespecTime, __functionAddress); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInit.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInit.java index dcee5cf09b..670095c6c6 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInit.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInit.java @@ -4,40 +4,40 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * 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 {@link XR10#xrGetInstanceProcAddr GetInstanceProcAddr} to retrieve the function pointer for {@link #xrInitializeLoaderKHR InitializeLoaderKHR} using a null instance handle. If this extension is supported, its use may be required on some platforms and the use of the {@link #xrInitializeLoaderKHR InitializeLoaderKHR} function must precede other OpenXR calls except {@link XR10#xrGetInstanceProcAddr GetInstanceProcAddr}. This function exists as part of the loader library that the application is using.
- */ -public class KHRLoaderInit { - - /** The extension specification version. */ - public static final int XR_KHR_loader_init_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_KHR_LOADER_INIT_EXTENSION_NAME = "XR_KHR_loader_init"; + */ +public class KHRLoaderInit { + + /** The extension specification version. */ + public static final int XR_KHR_loader_init_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_KHR_LOADER_INIT_EXTENSION_NAME = "XR_KHR_loader_init"; protected KHRLoaderInit() { throw new UnsupportedOperationException(); - } - - // --- [ xrInitializeLoaderKHR ] --- - - /** Unsafe version of: {@link #xrInitializeLoaderKHR InitializeLoaderKHR} */ - public static int nxrInitializeLoaderKHR(long loaderInitInfo) { - long __functionAddress = XR.getGlobalCommands().xrInitializeLoaderKHR; - if (CHECKS) { - check(__functionAddress); - } - return callPI(loaderInitInfo, __functionAddress); - } + } + // --- [ xrInitializeLoaderKHR ] --- + + /** Unsafe version of: {@link #xrInitializeLoaderKHR InitializeLoaderKHR} */ + public static int nxrInitializeLoaderKHR(long loaderInitInfo) { + long __functionAddress = XR.getGlobalCommands().xrInitializeLoaderKHR; + if (CHECKS) { + check(__functionAddress); + } + return callPI(loaderInitInfo, __functionAddress); + } + /** * Initializes loader. * @@ -53,7 +53,7 @@ public static int nxrInitializeLoaderKHR(long loaderInitInfo) { * *{@link XrLoaderInitInfoBaseHeaderKHR}
* * @param loaderInitInfo a pointer to an {@link XrLoaderInitInfoBaseHeaderKHR} structure, which is a polymorphic type defined by other platform- or implementation-specific extensions. - */ - @NativeType("XrResult") - public static int xrInitializeLoaderKHR(@NativeType("XrLoaderInitInfoBaseHeaderKHR const *") XrLoaderInitInfoBaseHeaderKHR loaderInitInfo) { - return nxrInitializeLoaderKHR(loaderInitInfo.address()); - } + */ + @NativeType("XrResult") + public static int xrInitializeLoaderKHR(@NativeType("XrLoaderInitInfoBaseHeaderKHR const *") XrLoaderInitInfoBaseHeaderKHR loaderInitInfo) { + return nxrInitializeLoaderKHR(loaderInitInfo.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInitAndroid.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInitAndroid.java new file mode 100644 index 0000000000..b67e37f879 --- /dev/null +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRLoaderInitAndroid.java @@ -0,0 +1,32 @@ +/* + * Copyright LWJGL. All rights reserved. + * License terms: https://www.lwjgl.org/license + * MACHINE GENERATED FILE, DO NOT EDIT + */ +package org.lwjgl.openxr; + +/** + * The XR_KHR_loader_init_android extension. + * + *On Android, some loader implementations need the application to provide additional information on initialization. This extension defines the parameters needed by such implementations. If this is available on a given implementation, an application must make use of it.
+ * + *On implementations where use of this is required, the following condition must apply:
+ * + *This extension must be provided by runtimes supporting applications using OpenGL ES APIs for rendering. OpenGL ES applications need this extension to obtain compatible swapchain images which the runtime is required to supply. The runtime needs the following OpenGL ES objects from the application in order to interact properly with the OpenGL ES driver: EGLDisplay, EGLConfig and EGLContext.
+ * + *These are passed from the application to the runtime in a {@link XrGraphicsBindingOpenGLESAndroidKHR} structure when creating the {@code XrSession}. Although not restricted to Android, the OpenGL ES extension is currently tailored for Android.
+ * + *Note that the application is responsible for creating the required OpenGL ES objects, including an OpenGL ES context to be used for rendering.
+ * + *This extension also provides mechanisms for the application to interact with images acquired by calling {@link XR10#xrEnumerateSwapchainImages EnumerateSwapchainImages}.
+ * + *In order to expose the structures, types, and functions of this extension, the application source code must define {@link XR10#XR_USE_GRAPHICS_API_OPENGL_ES USE_GRAPHICS_API_OPENGL_ES}, as well as an appropriate window system define, before including the OpenXR platform header {@code openxr_platform.h}, in all portions of your library or application that include it. The only window system define currently supported by this extension is:
+ * + *To query OpenGL ES API version requirements for an instance and system, call:
+ * + *
+ * XrResult xrGetOpenGLESGraphicsRequirementsKHR(
+ * XrInstance instance,
+ * XrSystemId systemId,
+ * XrGraphicsRequirementsOpenGLESKHR* graphicsRequirements);
+ *
+ * The {@link #xrGetOpenGLESGraphicsRequirementsKHR GetOpenGLESGraphicsRequirementsKHR} function identifies to the application the minimum OpenGL ES version requirement and the highest known tested OpenGL ES version. The runtime must return {@link XR10#XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING} ({@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} may be returned due to legacy behavior) on calls to {@link XR10#xrCreateSession CreateSession} if {@link #xrGetOpenGLESGraphicsRequirementsKHR GetOpenGLESGraphicsRequirementsKHR} has not been called for the same {@code instance} and {@code systemId}.
+ * + *{@link XrGraphicsRequirementsOpenGLESKHR}
+ * + * @param instance an {@code XrInstance} handle previously created with {@link XR10#xrCreateInstance CreateInstance}. + * @param systemId an {@code XrSystemId} handle for the system which will be used to create a session. + * @param graphicsRequirements the {@link XrGraphicsRequirementsOpenGLESKHR} output structure. + */ + @NativeType("XrResult") + public static int xrGetOpenGLESGraphicsRequirementsKHR(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrGraphicsRequirementsOpenGLESKHR *") XrGraphicsRequirementsOpenGLESKHR graphicsRequirements) { + return nxrGetOpenGLESGraphicsRequirementsKHR(instance, systemId, graphicsRequirements.address()); + } + +} \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHROpenGLEnable.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHROpenGLEnable.java index 7f64d6b350..125dd2d246 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHROpenGLEnable.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHROpenGLEnable.java @@ -4,12 +4,12 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_KHR_opengl_enable extension. * @@ -19,7 +19,7 @@ * *This extension provides mechanisms for the application to interact with images acquired by calling {@link XR10#xrEnumerateSwapchainImages EnumerateSwapchainImages}.
* - *In order to expose the structures, types, and functions of this extension, the application must define {@link XR10#XR_USE_GRAPHICS_API_OPENGL USE_GRAPHICS_API_OPENGL}, as well as an appropriate window system define supported by this extension, before including the OpenXR platform header {@code openxr_platform.h}, in all portions of the library or application that include it. The window system defines currently supported by this extension are:
+ *In order to expose the structures, types, and functions of this extension, the application must define {@link XR10#XR_USE_GRAPHICS_API_OPENGL USE_GRAPHICS_API_OPENGL}, as well as an appropriate window system define supported by this extension, before including the OpenXR platform header {@code openxr_platform.h}, in all portions of the library or application that include it. The window system defines currently supported by this extension are:
* *Note that a runtime implementation of this extension is only required to support the structs introduced by this extension which belong to the platform it is running on.
* *Note that the OpenGL context given to the call {@link XR10#xrCreateSession CreateSession} must not be bound in another thread when calling the functions: {@link XR10#xrCreateSession CreateSession}, {@link XR10#xrDestroySession DestroySession}, {@link XR10#xrBeginFrame BeginFrame}, {@link XR10#xrEndFrame EndFrame}, {@link XR10#xrCreateSwapchain CreateSwapchain}, {@link XR10#xrDestroySwapchain DestroySwapchain}, {@link XR10#xrEnumerateSwapchainImages EnumerateSwapchainImages}, {@link XR10#xrAcquireSwapchainImage AcquireSwapchainImage}, {@link XR10#xrWaitSwapchainImage WaitSwapchainImage} and {@link XR10#xrReleaseSwapchainImage ReleaseSwapchainImage}. It may be bound in the thread calling those functions. The runtime must not access the context from any other function. In particular the application must be able to call {@link XR10#xrWaitFrame WaitFrame} from a different thread than the rendering thread.
- */ -public class KHROpenGLEnable { - - /** The extension specification version. */ - public static final int XR_KHR_opengl_enable_SPEC_VERSION = 10; - - /** The extension name. */ - public static final String XR_KHR_OPENGL_ENABLE_EXTENSION_NAME = "XR_KHR_opengl_enable"; - + */ +public class KHROpenGLEnable { + + /** The extension specification version. */ + public static final int XR_KHR_opengl_enable_SPEC_VERSION = 10; + + /** The extension name. */ + public static final String XR_KHR_OPENGL_ENABLE_EXTENSION_NAME = "XR_KHR_opengl_enable"; + /** * Extends {@code XrStructureType}. * @@ -53,30 +53,30 @@ public class KHROpenGLEnable { *This extension enables an application to specify that swapchain images should be created in a way so that they can be used as input attachments. At the time of writing this bit only affects Vulkan swapchains.
- */ -public final class KHRSwapchainUsageInputAttachmentBit { - - /** The extension specification version. */ - public static final int XR_KHR_swapchain_usage_input_attachment_bit_SPEC_VERSION = 3; - - /** The extension name. */ - public static final String XR_KHR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME = "XR_KHR_swapchain_usage_input_attachment_bit"; - - /** Extends {@code XrSwapchainUsageFlagBits}. */ - public static final int XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR = 0x80; + */ +public final class KHRSwapchainUsageInputAttachmentBit { + + /** The extension specification version. */ + public static final int XR_KHR_swapchain_usage_input_attachment_bit_SPEC_VERSION = 3; + + /** The extension name. */ + public static final String XR_KHR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME = "XR_KHR_swapchain_usage_input_attachment_bit"; + + /** Extends {@code XrSwapchainUsageFlagBits}. */ + public static final int XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR = 0x80; - private KHRSwapchainUsageInputAttachmentBit() {} + private KHRSwapchainUsageInputAttachmentBit() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRVisibilityMask.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRVisibilityMask.java index 648e6e2b25..a0af1f990f 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRVisibilityMask.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRVisibilityMask.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_KHR_visibility_mask extension. * *This extension support the providing of a per-view drawing mask for applications. The primary purpose of this is to enable performance improvements that result from avoiding drawing on areas that aren’t visible to the user. A common occurrence in head-mounted VR hardware is that the optical system’s frustum doesn’t intersect precisely with the rectangular display it is viewing. As a result, it may be that there are parts of the display that aren’t visible to the user, such as the corners of the display. In such cases it would be unnecessary for the application to draw into those parts.
- */ -public class KHRVisibilityMask { - - /** The extension specification version. */ - public static final int XR_KHR_visibility_mask_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_KHR_VISIBILITY_MASK_EXTENSION_NAME = "XR_KHR_visibility_mask"; - + */ +public class KHRVisibilityMask { + + /** The extension specification version. */ + public static final int XR_KHR_visibility_mask_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_KHR_VISIBILITY_MASK_EXTENSION_NAME = "XR_KHR_visibility_mask"; + /** * Extends {@code XrStructureType}. * @@ -32,11 +32,11 @@ public class KHRVisibilityMask { *{@link #xrGetVisibilityMaskKHR GetVisibilityMaskKHR}
- */ + */ public static final int - XR_VISIBILITY_MASK_TYPE_HIDDEN_TRIANGLE_MESH_KHR = 1, - XR_VISIBILITY_MASK_TYPE_VISIBLE_TRIANGLE_MESH_KHR = 2, - XR_VISIBILITY_MASK_TYPE_LINE_LOOP_KHR = 3; + XR_VISIBILITY_MASK_TYPE_HIDDEN_TRIANGLE_MESH_KHR = 1, + XR_VISIBILITY_MASK_TYPE_VISIBLE_TRIANGLE_MESH_KHR = 2, + XR_VISIBILITY_MASK_TYPE_LINE_LOOP_KHR = 3; protected KHRVisibilityMask() { throw new UnsupportedOperationException(); - } - - // --- [ xrGetVisibilityMaskKHR ] --- - - /** Unsafe version of: {@link #xrGetVisibilityMaskKHR GetVisibilityMaskKHR} */ - public static int nxrGetVisibilityMaskKHR(XrSession session, int viewConfigurationType, int viewIndex, int visibilityMaskType, long visibilityMask) { - long __functionAddress = session.getCapabilities().xrGetVisibilityMaskKHR; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(session.address(), viewConfigurationType, viewIndex, visibilityMaskType, visibilityMask, __functionAddress); - } + } + // --- [ xrGetVisibilityMaskKHR ] --- + + /** Unsafe version of: {@link #xrGetVisibilityMaskKHR GetVisibilityMaskKHR} */ + public static int nxrGetVisibilityMaskKHR(XrSession session, int viewConfigurationType, int viewIndex, int visibilityMaskType, long visibilityMask) { + long __functionAddress = session.getCapabilities().xrGetVisibilityMaskKHR; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(session.address(), viewConfigurationType, viewIndex, visibilityMaskType, visibilityMask, __functionAddress); + } + /** * Gets visibility mask. * @@ -89,7 +89,7 @@ public static int nxrGetVisibilityMaskKHR(XrSession session, int viewConfigurati * *{@link #xrGetVisibilityMaskKHR GetVisibilityMaskKHR} retrieves the view mask for a given view. This function follows the two-call idiom for filling multiple buffers in a struct. Specifically, if either {@code vertexCapacityInput} or {@code indexCapacityInput} is 0, the runtime must respond as if both fields were set to 0, returning the vertex count and index count through {@code vertexCountOutput} or {@code indexCountOutput} respectively. If a view mask for the specified view isn’t available, the returned vertex and index counts must be 0.
+ *{@link #xrGetVisibilityMaskKHR GetVisibilityMaskKHR} retrieves the view mask for a given view. This function follows the two-call idiom for filling multiple buffers in a struct. Specifically, if either {@code vertexCapacityInput} or {@code indexCapacityInput} is 0, the runtime must respond as if both fields were set to 0, returning the vertex count and index count through {@code vertexCountOutput} or {@code indexCountOutput} respectively. If a view mask for the specified view isn’t available, the returned vertex and index counts must be 0.
* *This extension also provides mechanisms for the application to interact with images acquired by calling {@link XR10#xrEnumerateSwapchainImages EnumerateSwapchainImages}.
* *In order to expose the structures, types, and functions of this extension, you must define {@link XR10#XR_USE_GRAPHICS_API_VULKAN USE_GRAPHICS_API_VULKAN} before including the OpenXR platform header {@code openxr_platform.h}, in all portions of your library or application that include it.
- */ -public class KHRVulkanEnable { - - /** The extension specification version. */ - public static final int XR_KHR_vulkan_enable_SPEC_VERSION = 8; - - /** The extension name. */ - public static final String XR_KHR_VULKAN_ENABLE_EXTENSION_NAME = "XR_KHR_vulkan_enable"; - + */ +public class KHRVulkanEnable { + + /** The extension specification version. */ + public static final int XR_KHR_vulkan_enable_SPEC_VERSION = 8; + + /** The extension name. */ + public static final String XR_KHR_VULKAN_ENABLE_EXTENSION_NAME = "XR_KHR_vulkan_enable"; + /** * Extends {@code XrStructureType}. * @@ -48,31 +48,31 @@ public class KHRVulkanEnable { *This extension is intended as an alternative to {@link KHRVulkanEnable XR_KHR_vulkan_enable}, and does not depend on it.
* - */ -public class KHRVulkanEnable2 { - - /** The extension specification version. */ - public static final int XR_KHR_vulkan_enable2_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_KHR_VULKAN_ENABLE2_EXTENSION_NAME = "XR_KHR_vulkan_enable2"; - + */ +public class KHRVulkanEnable2 { + + /** The extension specification version. */ + public static final int XR_KHR_vulkan_enable2_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_KHR_VULKAN_ENABLE2_EXTENSION_NAME = "XR_KHR_vulkan_enable2"; + /** * Extends {@code XrStructureType}. * @@ -54,31 +54,31 @@ public class KHRVulkanEnable2 { *Applications using this extension to specify more than one swapchain format must create OpenXR swapchains with the {@link XR10#XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT} bit set.
* *Runtimes implementing this extension must support the {@link KHRVulkanEnable XR_KHR_vulkan_enable} or the {@link KHRVulkanEnable2 XR_KHR_vulkan_enable2} extension. When {@link KHRVulkanEnable XR_KHR_vulkan_enable} is used, the runtime must add {@code VK_KHR_image_format_list} to the list of extensions enabled in {@link KHRVulkanEnable2#xrCreateVulkanDeviceKHR CreateVulkanDeviceKHR}.
- */ -public final class KHRVulkanSwapchainFormatList { - - /** The extension specification version. */ - public static final int XR_KHR_vulkan_swapchain_format_list_SPEC_VERSION = 4; - - /** The extension name. */ - public static final String XR_KHR_VULKAN_SWAPCHAIN_FORMAT_LIST_EXTENSION_NAME = "XR_KHR_vulkan_swapchain_format_list"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHR = 1000014000; + */ +public final class KHRVulkanSwapchainFormatList { + + /** The extension specification version. */ + public static final int XR_KHR_vulkan_swapchain_format_list_SPEC_VERSION = 4; + + /** The extension name. */ + public static final String XR_KHR_VULKAN_SWAPCHAIN_FORMAT_LIST_EXTENSION_NAME = "XR_KHR_vulkan_swapchain_format_list"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_VULKAN_SWAPCHAIN_FORMAT_LIST_CREATE_INFO_KHR = 1000014000; - private KHRVulkanSwapchainFormatList() {} + private KHRVulkanSwapchainFormatList() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRWin32ConvertPerformanceCounterTime.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRWin32ConvertPerformanceCounterTime.java index 1fc307caf8..3c16e09d79 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRWin32ConvertPerformanceCounterTime.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/KHRWin32ConvertPerformanceCounterTime.java @@ -4,45 +4,45 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - -import org.lwjgl.system.windows.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + +import org.lwjgl.system.windows.*; + /** * The XR_KHR_win32_convert_performance_counter_time extension. * *This extension provides two functions for converting between the Windows performance counter (QPC) time stamps and {@code XrTime}. The {@link #xrConvertWin32PerformanceCounterToTimeKHR ConvertWin32PerformanceCounterToTimeKHR} function converts from Windows performance counter time stamps to {@code XrTime}, while the {@link #xrConvertTimeToWin32PerformanceCounterKHR ConvertTimeToWin32PerformanceCounterKHR} function converts {@code XrTime} to Windows performance counter time stamps. The primary use case for this functionality is to be able to synchronize events between the local system and the OpenXR system.
- */ -public class KHRWin32ConvertPerformanceCounterTime { - - /** The extension specification version. */ - public static final int XR_KHR_win32_convert_performance_counter_time_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_KHR_WIN32_CONVERT_PERFORMANCE_COUNTER_TIME_EXTENSION_NAME = "XR_KHR_win32_convert_performance_counter_time"; + */ +public class KHRWin32ConvertPerformanceCounterTime { + + /** The extension specification version. */ + public static final int XR_KHR_win32_convert_performance_counter_time_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_KHR_WIN32_CONVERT_PERFORMANCE_COUNTER_TIME_EXTENSION_NAME = "XR_KHR_win32_convert_performance_counter_time"; protected KHRWin32ConvertPerformanceCounterTime() { throw new UnsupportedOperationException(); - } - - // --- [ xrConvertWin32PerformanceCounterToTimeKHR ] --- - - /** Unsafe version of: {@link #xrConvertWin32PerformanceCounterToTimeKHR ConvertWin32PerformanceCounterToTimeKHR} */ - public static int nxrConvertWin32PerformanceCounterToTimeKHR(XrInstance instance, long performanceCounter, long time) { - long __functionAddress = instance.getCapabilities().xrConvertWin32PerformanceCounterToTimeKHR; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(instance.address(), performanceCounter, time, __functionAddress); - } + } + // --- [ xrConvertWin32PerformanceCounterToTimeKHR ] --- + + /** Unsafe version of: {@link #xrConvertWin32PerformanceCounterToTimeKHR ConvertWin32PerformanceCounterToTimeKHR} */ + public static int nxrConvertWin32PerformanceCounterToTimeKHR(XrInstance instance, long performanceCounter, long time) { + long __functionAddress = instance.getCapabilities().xrConvertWin32PerformanceCounterToTimeKHR; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(instance.address(), performanceCounter, time, __functionAddress); + } + /** * Convert Win32 {@code QueryPerformanceCounter} time to XrTime. * @@ -92,26 +92,26 @@ public static int nxrConvertWin32PerformanceCounterToTimeKHR(XrInstance instance * @param instance an {@code XrInstance} handle previously created with {@link XR10#xrCreateInstance CreateInstance}. * @param performanceCounter a time returned by {@code QueryPerformanceCounter}. * @param time the resulting {@code XrTime} that is equivalent to the {@code performanceCounter}. - */ - @NativeType("XrResult") - public static int xrConvertWin32PerformanceCounterToTimeKHR(XrInstance instance, @NativeType("LARGE_INTEGER const *") LARGE_INTEGER performanceCounter, @NativeType("XrTime *") LongBuffer time) { - if (CHECKS) { - check(time, 1); - } - return nxrConvertWin32PerformanceCounterToTimeKHR(instance, performanceCounter.address(), memAddress(time)); - } - - // --- [ xrConvertTimeToWin32PerformanceCounterKHR ] --- - - /** Unsafe version of: {@link #xrConvertTimeToWin32PerformanceCounterKHR ConvertTimeToWin32PerformanceCounterKHR} */ - public static int nxrConvertTimeToWin32PerformanceCounterKHR(XrInstance instance, long time, long performanceCounter) { - long __functionAddress = instance.getCapabilities().xrConvertTimeToWin32PerformanceCounterKHR; - if (CHECKS) { - check(__functionAddress); - } - return callPJPI(instance.address(), time, performanceCounter, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrConvertWin32PerformanceCounterToTimeKHR(XrInstance instance, @NativeType("LARGE_INTEGER const *") LARGE_INTEGER performanceCounter, @NativeType("XrTime *") LongBuffer time) { + if (CHECKS) { + check(time, 1); + } + return nxrConvertWin32PerformanceCounterToTimeKHR(instance, performanceCounter.address(), memAddress(time)); + } + // --- [ xrConvertTimeToWin32PerformanceCounterKHR ] --- + + /** Unsafe version of: {@link #xrConvertTimeToWin32PerformanceCounterKHR ConvertTimeToWin32PerformanceCounterKHR} */ + public static int nxrConvertTimeToWin32PerformanceCounterKHR(XrInstance instance, long time, long performanceCounter) { + long __functionAddress = instance.getCapabilities().xrConvertTimeToWin32PerformanceCounterKHR; + if (CHECKS) { + check(__functionAddress); + } + return callPJPI(instance.address(), time, performanceCounter, __functionAddress); + } + /** * Convert XrTime to Win32 {@code QueryPerformanceCounter} time. * @@ -160,10 +160,10 @@ public static int nxrConvertTimeToWin32PerformanceCounterKHR(XrInstance instance * @param instance an {@code XrInstance} handle previously created with {@link XR10#xrCreateInstance CreateInstance}. * @param time an {@code XrTime}. * @param performanceCounter the resulting Windows performance counter time stamp that is equivalent to the {@code time}. - */ - @NativeType("XrResult") - public static int xrConvertTimeToWin32PerformanceCounterKHR(XrInstance instance, @NativeType("XrTime") long time, @NativeType("LARGE_INTEGER *") LARGE_INTEGER performanceCounter) { - return nxrConvertTimeToWin32PerformanceCounterKHR(instance, time, performanceCounter.address()); - } + */ + @NativeType("XrResult") + public static int xrConvertTimeToWin32PerformanceCounterKHR(XrInstance instance, @NativeType("XrTime") long time, @NativeType("LARGE_INTEGER *") LARGE_INTEGER performanceCounter) { + return nxrConvertTimeToWin32PerformanceCounterKHR(instance, time, performanceCounter.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAFoveationEyeTracked.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAFoveationEyeTracked.java index 4ebc199033..5143e68766 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAFoveationEyeTracked.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAFoveationEyeTracked.java @@ -4,12 +4,12 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; + /** * The XR_META_foveation_eye_tracked extension. * @@ -24,19 +24,19 @@ *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class METAFoveationEyeTracked { - - /** The extension specification version. */ - public static final int XR_META_foveation_eye_tracked_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_META_FOVEATION_EYE_TRACKED_EXTENSION_NAME = "XR_META_foveation_eye_tracked"; - - /** XR_FOVEATION_CENTER_SIZE_META */ - public static final int XR_FOVEATION_CENTER_SIZE_META = 2; - + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class METAFoveationEyeTracked { + + /** The extension specification version. */ + public static final int XR_META_foveation_eye_tracked_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_META_FOVEATION_EYE_TRACKED_EXTENSION_NAME = "XR_META_foveation_eye_tracked"; + + /** XR_FOVEATION_CENTER_SIZE_META */ + public static final int XR_FOVEATION_CENTER_SIZE_META = 2; + /** * Extends {@code XrStructureType}. * @@ -47,12 +47,12 @@ public class METAFoveationEyeTracked { *{@link XrLocalDimmingFrameEndInfoMETA}
- */ + */ public static final int - XR_LOCAL_DIMMING_MODE_OFF_META = 0, - XR_LOCAL_DIMMING_MODE_ON_META = 1; + XR_LOCAL_DIMMING_MODE_OFF_META = 0, + XR_LOCAL_DIMMING_MODE_ON_META = 1; - private METALocalDimming() {} + private METALocalDimming() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAPerformanceMetrics.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAPerformanceMetrics.java index 491b352d53..5378f6993e 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAPerformanceMetrics.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAPerformanceMetrics.java @@ -4,17 +4,17 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import javax.annotation.*; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_META_performance_metrics extension. * @@ -40,16 +40,16 @@ * *Note: the measurement intervals of individual performance metrics counters are defined by the OpenXR runtime. The application must not make assumptions or change its behavior at runtime by measuring them.
* - *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
- */ -public class METAPerformanceMetrics { - - /** The extension specification version. */ - public static final int XR_META_performance_metrics_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_META_PERFORMANCE_METRICS_EXTENSION_NAME = "XR_META_performance_metrics"; - + *In order to enable the functionality of this extension, the application must pass the name of the extension into {@link XR10#xrCreateInstance CreateInstance} via the {@link XrInstanceCreateInfo}{@code ::enabledExtensionNames} parameter as indicated in the extensions section.
+ */ +public class METAPerformanceMetrics { + + /** The extension specification version. */ + public static final int XR_META_performance_metrics_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_META_PERFORMANCE_METRICS_EXTENSION_NAME = "XR_META_performance_metrics"; + /** * Extends {@code XrStructureType}. * @@ -59,11 +59,11 @@ public class METAPerformanceMetrics { *{@link XrPerformanceMetricsCounterMETA}
- */ + */ public static final int - XR_PERFORMANCE_METRICS_COUNTER_UNIT_GENERIC_META = 0, - XR_PERFORMANCE_METRICS_COUNTER_UNIT_PERCENTAGE_META = 1, - XR_PERFORMANCE_METRICS_COUNTER_UNIT_MILLISECONDS_META = 2, - XR_PERFORMANCE_METRICS_COUNTER_UNIT_BYTES_META = 3, - XR_PERFORMANCE_METRICS_COUNTER_UNIT_HERTZ_META = 4; + XR_PERFORMANCE_METRICS_COUNTER_UNIT_GENERIC_META = 0, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_PERCENTAGE_META = 1, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_MILLISECONDS_META = 2, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_BYTES_META = 3, + XR_PERFORMANCE_METRICS_COUNTER_UNIT_HERTZ_META = 4; protected METAPerformanceMetrics() { throw new UnsupportedOperationException(); - } - - // --- [ xrEnumeratePerformanceMetricsCounterPathsMETA ] --- + } + // --- [ xrEnumeratePerformanceMetricsCounterPathsMETA ] --- + /** * Unsafe version of: {@link #xrEnumeratePerformanceMetricsCounterPathsMETA EnumeratePerformanceMetricsCounterPathsMETA} * * @param counterPathCapacityInput the capacity of the {@code counterPaths} array, or 0 to indicate a request to retrieve the required capacity. - */ - public static int nxrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance instance, int counterPathCapacityInput, long counterPathCountOutput, long counterPaths) { - long __functionAddress = instance.getCapabilities().xrEnumeratePerformanceMetricsCounterPathsMETA; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(instance.address(), counterPathCapacityInput, counterPathCountOutput, counterPaths, __functionAddress); - } - + */ + public static int nxrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance instance, int counterPathCapacityInput, long counterPathCountOutput, long counterPaths) { + long __functionAddress = instance.getCapabilities().xrEnumeratePerformanceMetricsCounterPathsMETA; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(instance.address(), counterPathCapacityInput, counterPathCountOutput, counterPaths, __functionAddress); + } + /** * Enumerate all performance metrics counter paths that supported by the runtime. * @@ -170,26 +170,26 @@ public static int nxrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance inst * @param instance an {@code XrInstance} handle previously created with {@link XR10#xrCreateInstance CreateInstance}. * @param counterPathCountOutput filled in by the runtime with the count of {@code counterPaths} written or the required capacity in the case that {@code counterPathCapacityInput} is insufficient. * @param counterPaths an array of {@code XrPath} filled in by the runtime which contains all the available performance metrics counters, but can be {@code NULL} if {@code counterPathCapacityInput} is 0. - */ - @NativeType("XrResult") - public static int xrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance instance, @NativeType("uint32_t *") IntBuffer counterPathCountOutput, @Nullable @NativeType("XrPath *") LongBuffer counterPaths) { - if (CHECKS) { - check(counterPathCountOutput, 1); - } - return nxrEnumeratePerformanceMetricsCounterPathsMETA(instance, remainingSafe(counterPaths), memAddress(counterPathCountOutput), memAddressSafe(counterPaths)); - } - - // --- [ xrSetPerformanceMetricsStateMETA ] --- - - /** Unsafe version of: {@link #xrSetPerformanceMetricsStateMETA SetPerformanceMetricsStateMETA} */ - public static int nxrSetPerformanceMetricsStateMETA(XrSession session, long state) { - long __functionAddress = session.getCapabilities().xrSetPerformanceMetricsStateMETA; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(session.address(), state, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrEnumeratePerformanceMetricsCounterPathsMETA(XrInstance instance, @NativeType("uint32_t *") IntBuffer counterPathCountOutput, @Nullable @NativeType("XrPath *") LongBuffer counterPaths) { + if (CHECKS) { + check(counterPathCountOutput, 1); + } + return nxrEnumeratePerformanceMetricsCounterPathsMETA(instance, remainingSafe(counterPaths), memAddress(counterPathCountOutput), memAddressSafe(counterPaths)); + } + // --- [ xrSetPerformanceMetricsStateMETA ] --- + + /** Unsafe version of: {@link #xrSetPerformanceMetricsStateMETA SetPerformanceMetricsStateMETA} */ + public static int nxrSetPerformanceMetricsStateMETA(XrSession session, long state) { + long __functionAddress = session.getCapabilities().xrSetPerformanceMetricsStateMETA; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(session.address(), state, __functionAddress); + } + /** * Enable/disable performance metrics. * @@ -239,23 +239,23 @@ public static int nxrSetPerformanceMetricsStateMETA(XrSession session, long stat * * @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}. * @param state a pointer to an {@link XrPerformanceMetricsStateMETA} structure. - */ - @NativeType("XrResult") - public static int xrSetPerformanceMetricsStateMETA(XrSession session, @NativeType("XrPerformanceMetricsStateMETA const *") XrPerformanceMetricsStateMETA state) { - return nxrSetPerformanceMetricsStateMETA(session, state.address()); - } - - // --- [ xrGetPerformanceMetricsStateMETA ] --- - - /** Unsafe version of: {@link #xrGetPerformanceMetricsStateMETA GetPerformanceMetricsStateMETA} */ - public static int nxrGetPerformanceMetricsStateMETA(XrSession session, long state) { - long __functionAddress = session.getCapabilities().xrGetPerformanceMetricsStateMETA; - if (CHECKS) { - check(__functionAddress); - } - return callPPI(session.address(), state, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrSetPerformanceMetricsStateMETA(XrSession session, @NativeType("XrPerformanceMetricsStateMETA const *") XrPerformanceMetricsStateMETA state) { + return nxrSetPerformanceMetricsStateMETA(session, state.address()); + } + // --- [ xrGetPerformanceMetricsStateMETA ] --- + + /** Unsafe version of: {@link #xrGetPerformanceMetricsStateMETA GetPerformanceMetricsStateMETA} */ + public static int nxrGetPerformanceMetricsStateMETA(XrSession session, long state) { + long __functionAddress = session.getCapabilities().xrGetPerformanceMetricsStateMETA; + if (CHECKS) { + check(__functionAddress); + } + return callPPI(session.address(), state, __functionAddress); + } + /** * Get current state of performance metrics. * @@ -304,23 +304,23 @@ public static int nxrGetPerformanceMetricsStateMETA(XrSession session, long stat * * @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}. * @param state a pointer to an {@link XrPerformanceMetricsStateMETA} structure. - */ - @NativeType("XrResult") - public static int xrGetPerformanceMetricsStateMETA(XrSession session, @NativeType("XrPerformanceMetricsStateMETA *") XrPerformanceMetricsStateMETA state) { - return nxrGetPerformanceMetricsStateMETA(session, state.address()); - } - - // --- [ xrQueryPerformanceMetricsCounterMETA ] --- - - /** Unsafe version of: {@link #xrQueryPerformanceMetricsCounterMETA QueryPerformanceMetricsCounterMETA} */ - public static int nxrQueryPerformanceMetricsCounterMETA(XrSession session, long counterPath, long counter) { - long __functionAddress = session.getCapabilities().xrQueryPerformanceMetricsCounterMETA; - if (CHECKS) { - check(__functionAddress); - } - return callPJPI(session.address(), counterPath, counter, __functionAddress); - } + */ + @NativeType("XrResult") + public static int xrGetPerformanceMetricsStateMETA(XrSession session, @NativeType("XrPerformanceMetricsStateMETA *") XrPerformanceMetricsStateMETA state) { + return nxrGetPerformanceMetricsStateMETA(session, state.address()); + } + // --- [ xrQueryPerformanceMetricsCounterMETA ] --- + + /** Unsafe version of: {@link #xrQueryPerformanceMetricsCounterMETA QueryPerformanceMetricsCounterMETA} */ + public static int nxrQueryPerformanceMetricsCounterMETA(XrSession session, long counterPath, long counter) { + long __functionAddress = session.getCapabilities().xrQueryPerformanceMetricsCounterMETA; + if (CHECKS) { + check(__functionAddress); + } + return callPJPI(session.address(), counterPath, counter, __functionAddress); + } + /** * Query performance metrics counter. * @@ -378,10 +378,10 @@ public static int nxrQueryPerformanceMetricsCounterMETA(XrSession session, long * @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}. * @param counterPath a valid performance metrics counter path. * @param counter a pointer to an {@link XrPerformanceMetricsCounterMETA} structure. - */ - @NativeType("XrResult") - public static int xrQueryPerformanceMetricsCounterMETA(XrSession session, @NativeType("XrPath") long counterPath, @NativeType("XrPerformanceMetricsCounterMETA *") XrPerformanceMetricsCounterMETA counter) { - return nxrQueryPerformanceMetricsCounterMETA(session, counterPath, counter.address()); - } + */ + @NativeType("XrResult") + public static int xrQueryPerformanceMetricsCounterMETA(XrSession session, @NativeType("XrPath") long counterPath, @NativeType("XrPerformanceMetricsCounterMETA *") XrPerformanceMetricsCounterMETA counter) { + return nxrQueryPerformanceMetricsCounterMETA(session, counterPath, counter.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAVulkanSwapchainCreateInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAVulkanSwapchainCreateInfo.java index c902749a30..ed357df602 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAVulkanSwapchainCreateInfo.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/METAVulkanSwapchainCreateInfo.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_META_vulkan_swapchain_create_info extension. * @@ -15,18 +15,18 @@ *The application must enable the corresponding Vulkan extensions before requesting additional Vulkan flags. For example, {@code VK_EXT_fragment_density_map} device extension must be enabled if an application requests {@code VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT} bit. Otherwise, it may cause undefined behavior, including an application crash.
* *Runtimes that implement this extension must support the {@link KHRVulkanEnable XR_KHR_vulkan_enable} or the {@link KHRVulkanEnable2 XR_KHR_vulkan_enable2} extension.
- */ -public final class METAVulkanSwapchainCreateInfo { - - /** The extension specification version. */ - public static final int XR_META_vulkan_swapchain_create_info_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_META_VULKAN_SWAPCHAIN_CREATE_INFO_EXTENSION_NAME = "XR_META_vulkan_swapchain_create_info"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_VULKAN_SWAPCHAIN_CREATE_INFO_META = 1000227000; + */ +public final class METAVulkanSwapchainCreateInfo { + + /** The extension specification version. */ + public static final int XR_META_vulkan_swapchain_create_info_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_META_VULKAN_SWAPCHAIN_CREATE_INFO_EXTENSION_NAME = "XR_META_vulkan_swapchain_create_info"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_VULKAN_SWAPCHAIN_CREATE_INFO_META = 1000227000; - private METAVulkanSwapchainCreateInfo() {} + private METAVulkanSwapchainCreateInfo() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCompat.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCompat.java index 36711bba47..665eee11c8 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCompat.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCompat.java @@ -4,46 +4,46 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_ML_compat extension. * *This extension provides functionality to facilitate transitioning from Magic Leap SDK to OpenXR SDK, most notably interoperability between Coordinate Frame UUIDs and {@code XrSpace}.
- */ -public class MLCompat { - - /** The extension specification version. */ - public static final int XR_ML_compat_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_ML_COMPAT_EXTENSION_NAME = "XR_ML_compat"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_COORDINATE_SPACE_CREATE_INFO_ML = 1000137000; + */ +public class MLCompat { + + /** The extension specification version. */ + public static final int XR_ML_compat_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_ML_COMPAT_EXTENSION_NAME = "XR_ML_compat"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_COORDINATE_SPACE_CREATE_INFO_ML = 1000137000; protected MLCompat() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateSpaceFromCoordinateFrameUIDML ] --- - - /** Unsafe version of: {@link #xrCreateSpaceFromCoordinateFrameUIDML CreateSpaceFromCoordinateFrameUIDML} */ - public static int nxrCreateSpaceFromCoordinateFrameUIDML(XrSession session, long createInfo, long space) { - long __functionAddress = session.getCapabilities().xrCreateSpaceFromCoordinateFrameUIDML; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(session.address(), createInfo, space, __functionAddress); - } + } + // --- [ xrCreateSpaceFromCoordinateFrameUIDML ] --- + + /** Unsafe version of: {@link #xrCreateSpaceFromCoordinateFrameUIDML CreateSpaceFromCoordinateFrameUIDML} */ + public static int nxrCreateSpaceFromCoordinateFrameUIDML(XrSession session, long createInfo, long space) { + long __functionAddress = session.getCapabilities().xrCreateSpaceFromCoordinateFrameUIDML; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(session.address(), createInfo, space, __functionAddress); + } + /** * Creates a space based on a cfuid. * @@ -101,13 +101,13 @@ public static int nxrCreateSpaceFromCoordinateFrameUIDML(XrSession session, long * @param session a handle to an {@code XrSession} previously created with {@link XR10#xrCreateSession CreateSession}. * @param createInfo the {@link XrCoordinateSpaceCreateInfoML} used to specify the space. * @param space the returned space handle. - */ - @NativeType("XrResult") - public static int xrCreateSpaceFromCoordinateFrameUIDML(XrSession session, @NativeType("XrCoordinateSpaceCreateInfoML const *") XrCoordinateSpaceCreateInfoML createInfo, @NativeType("XrSpace *") PointerBuffer space) { - if (CHECKS) { - check(space, 1); - } - return nxrCreateSpaceFromCoordinateFrameUIDML(session, createInfo.address(), memAddress(space)); - } + */ + @NativeType("XrResult") + public static int xrCreateSpaceFromCoordinateFrameUIDML(XrSession session, @NativeType("XrCoordinateSpaceCreateInfoML const *") XrCoordinateSpaceCreateInfoML createInfo, @NativeType("XrSpace *") PointerBuffer space) { + if (CHECKS) { + check(space, 1); + } + return nxrCreateSpaceFromCoordinateFrameUIDML(session, createInfo.address(), memAddress(space)); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCoordinateFrameUID.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCoordinateFrameUID.java index c29fd3064f..0317c7e37c 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCoordinateFrameUID.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLCoordinateFrameUID.java @@ -4,16 +4,16 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import javax.annotation.*; - + import java.nio.*; - + import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.MemoryUtil.*; + /** *This extension provides access to Magic Leap specific extensions to frame settings like focus distance, vignette, and protection.
- */ -public final class MLFrameEndInfo { - - /** The extension specification version. */ - public static final int XR_ML_frame_end_info_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_ML_FRAME_END_INFO_EXTENSION_NAME = "XR_ML_frame_end_info"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_FRAME_END_INFO_ML = 1000135000; - + */ +public final class MLFrameEndInfo { + + /** The extension specification version. */ + public static final int XR_ML_frame_end_info_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_ML_FRAME_END_INFO_EXTENSION_NAME = "XR_ML_frame_end_info"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_FRAME_END_INFO_ML = 1000135000; + /** * XrFrameEndInfoFlagBitsML - XrFrameEndInfoFlagBitsML * @@ -38,11 +38,11 @@ public final class MLFrameEndInfo { *{@link XrFrameEndInfoML}, {@link XR10#xrEndFrame EndFrame}
- */ + */ public static final int - XR_FRAME_END_INFO_PROTECTED_BIT_ML = 0x1, - XR_FRAME_END_INFO_VIGNETTE_BIT_ML = 0x2; + XR_FRAME_END_INFO_PROTECTED_BIT_ML = 0x1, + XR_FRAME_END_INFO_VIGNETTE_BIT_ML = 0x2; - private MLFrameEndInfo() {} + private MLFrameEndInfo() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLGlobalDimmer.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLGlobalDimmer.java index 9112bfd2a1..43f43e0223 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLGlobalDimmer.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLGlobalDimmer.java @@ -4,25 +4,25 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_ML_global_dimmer extension. * *This extension provides control over the global dimmer panel of the Magic Leap 2. The Global Dimming™ feature dims the entire display without dimming digital content to make text and images more solid and precise.
* *Note that when using the {@link XR10#XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND ENVIRONMENT_BLEND_MODE_ALPHA_BLEND} mode the alpha channel of the color swapchain image is combined with the global dimmer value. The global dimmer however is able to address the whole panel whereas the alpha channel covers the video addressable portion.
- */ -public final class MLGlobalDimmer { - - /** The extension specification version. */ - public static final int XR_ML_global_dimmer_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_ML_GLOBAL_DIMMER_EXTENSION_NAME = "XR_ML_global_dimmer"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML = 1000136000; - + */ +public final class MLGlobalDimmer { + + /** The extension specification version. */ + public static final int XR_ML_global_dimmer_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_ML_GLOBAL_DIMMER_EXTENSION_NAME = "XR_ML_global_dimmer"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_GLOBAL_DIMMER_FRAME_END_INFO_ML = 1000136000; + /** * XrGlobalDimmerFrameEndInfoFlagBitsML - XrGlobalDimmerFrameEndInfoFlagBitsML * @@ -39,9 +39,9 @@ public final class MLGlobalDimmer { *{@link XrGlobalDimmerFrameEndInfoML}, {@link XR10#xrEndFrame EndFrame}
- */ - public static final int XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML = 0x1; + */ + public static final int XR_GLOBAL_DIMMER_FRAME_END_INFO_ENABLED_BIT_ML = 0x1; - private MLGlobalDimmer() {} + private MLGlobalDimmer() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLMl2ControllerInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLMl2ControllerInteraction.java index 292e4832f9..6b0c0d609d 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLMl2ControllerInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MLMl2ControllerInteraction.java @@ -4,20 +4,20 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_ML_ml2_controller_interaction extension. * *This extension defines the interaction profile for the Magic Leap 2 Controller.
- */ -public final class MLMl2ControllerInteraction { - - /** The extension specification version. */ - public static final int XR_ML_ml2_controller_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_ML_ML2_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_ML_ml2_controller_interaction"; + */ +public final class MLMl2ControllerInteraction { + + /** The extension specification version. */ + public static final int XR_ML_ml2_controller_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_ML_ML2_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_ML_ml2_controller_interaction"; - private MLMl2ControllerInteraction() {} + private MLMl2ControllerInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDHeadless.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDHeadless.java index 6f3e352b46..f9f6fcdb8c 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDHeadless.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDHeadless.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_MND_headless extension. * @@ -20,15 +20,15 @@ * * *Because {@link XR10#xrWaitFrame WaitFrame} is not required, an application using a headless session should sleep periodically to avoid consuming all available system resources in a busy-wait loop.
- */ -public final class MNDHeadless { - - /** The extension specification version. */ - public static final int XR_MND_headless_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_MND_HEADLESS_EXTENSION_NAME = "XR_MND_headless"; + */ +public final class MNDHeadless { + + /** The extension specification version. */ + public static final int XR_MND_headless_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_MND_HEADLESS_EXTENSION_NAME = "XR_MND_headless"; - private MNDHeadless() {} + private MNDHeadless() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDSwapchainUsageInputAttachmentBit.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDSwapchainUsageInputAttachmentBit.java index ccb999145c..ccd14104f5 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDSwapchainUsageInputAttachmentBit.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDSwapchainUsageInputAttachmentBit.java @@ -4,23 +4,23 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_MND_swapchain_usage_input_attachment_bit extension. * *This extension enables an application to specify that swapchain images should be created in a way so that they can be used as input attachments. At the time of writing this bit only affects Vulkan swapchains.
- */ -public final class MNDSwapchainUsageInputAttachmentBit { - - /** The extension specification version. */ - public static final int XR_MND_swapchain_usage_input_attachment_bit_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME = "XR_MND_swapchain_usage_input_attachment_bit"; - - /** Extends {@code XrSwapchainUsageFlagBits}. */ - public static final int XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND = 0x80; + */ +public final class MNDSwapchainUsageInputAttachmentBit { + + /** The extension specification version. */ + public static final int XR_MND_swapchain_usage_input_attachment_bit_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME = "XR_MND_swapchain_usage_input_attachment_bit"; + + /** Extends {@code XrSwapchainUsageFlagBits}. */ + public static final int XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND = 0x80; - private MNDSwapchainUsageInputAttachmentBit() {} + private MNDSwapchainUsageInputAttachmentBit() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDXEGLEnable.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDXEGLEnable.java index 89f2a92f57..ea77f0291a 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDXEGLEnable.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MNDXEGLEnable.java @@ -4,7 +4,7 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_MNDX_egl_enable extension. * @@ -13,18 +13,18 @@ *The intended use for this extension is to provide simple force feedback capabilities to restrict finger movement for VR Gloves.
* *The application must also enable the {@link EXTHandTracking XR_EXT_hand_tracking} extension in order to use this extension.
- */ -public class MNDXForceFeedbackCurl { - - /** The extension specification version. */ - public static final int XR_MNDX_force_feedback_curl_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_MNDX_FORCE_FEEDBACK_CURL_EXTENSION_NAME = "XR_MNDX_force_feedback_curl"; - + */ +public class MNDXForceFeedbackCurl { + + /** The extension specification version. */ + public static final int XR_MNDX_force_feedback_curl_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_MNDX_FORCE_FEEDBACK_CURL_EXTENSION_NAME = "XR_MNDX_force_feedback_curl"; + /** * Extends {@code XrStructureType}. * @@ -36,11 +36,11 @@ public class MNDXForceFeedbackCurl { *{@link XrForceFeedbackCurlApplyLocationMNDX}
- */ + */ public static final int - XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDX = 0, - XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDX = 1, - XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDX = 2, - XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDX = 3, - XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDX = 4; + XR_FORCE_FEEDBACK_CURL_LOCATION_THUMB_CURL_MNDX = 0, + XR_FORCE_FEEDBACK_CURL_LOCATION_INDEX_CURL_MNDX = 1, + XR_FORCE_FEEDBACK_CURL_LOCATION_MIDDLE_CURL_MNDX = 2, + XR_FORCE_FEEDBACK_CURL_LOCATION_RING_CURL_MNDX = 3, + XR_FORCE_FEEDBACK_CURL_LOCATION_LITTLE_CURL_MNDX = 4; protected MNDXForceFeedbackCurl() { throw new UnsupportedOperationException(); - } - - // --- [ xrApplyForceFeedbackCurlMNDX ] --- - - /** Unsafe version of: {@link #xrApplyForceFeedbackCurlMNDX ApplyForceFeedbackCurlMNDX} */ - public static int nxrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, long locations) { - long __functionAddress = handTracker.getCapabilities().xrApplyForceFeedbackCurlMNDX; - if (CHECKS) { - check(__functionAddress); - XrForceFeedbackCurlApplyLocationsMNDX.validate(locations); - } - return callPPI(handTracker.address(), locations, __functionAddress); - } + } + // --- [ xrApplyForceFeedbackCurlMNDX ] --- + + /** Unsafe version of: {@link #xrApplyForceFeedbackCurlMNDX ApplyForceFeedbackCurlMNDX} */ + public static int nxrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, long locations) { + long __functionAddress = handTracker.getCapabilities().xrApplyForceFeedbackCurlMNDX; + if (CHECKS) { + check(__functionAddress); + XrForceFeedbackCurlApplyLocationsMNDX.validate(locations); + } + return callPPI(handTracker.address(), locations, __functionAddress); + } + /** * Applies force feedback to a set of locations. * @@ -141,10 +141,10 @@ public static int nxrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, lo * * @param handTracker an {@code XrHandTrackerEXT} handle previously created with {@link EXTHandTracking#xrCreateHandTrackerEXT CreateHandTrackerEXT}. * @param locations an {@link XrForceFeedbackCurlApplyLocationsMNDX} containing a set of locations to apply force feedback to. - */ - @NativeType("XrResult") - public static int xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, @NativeType("XrForceFeedbackCurlApplyLocationsMNDX const *") XrForceFeedbackCurlApplyLocationsMNDX locations) { - return nxrApplyForceFeedbackCurlMNDX(handTracker, locations.address()); - } + */ + @NativeType("XrResult") + public static int xrApplyForceFeedbackCurlMNDX(XrHandTrackerEXT handTracker, @NativeType("XrForceFeedbackCurlApplyLocationsMNDX const *") XrForceFeedbackCurlApplyLocationsMNDX locations) { + return nxrApplyForceFeedbackCurlMNDX(handTracker, locations.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTCompositionLayerReprojection.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTCompositionLayerReprojection.java index 65221711fe..f6687e48e9 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTCompositionLayerReprojection.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTCompositionLayerReprojection.java @@ -4,30 +4,30 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import javax.annotation.*; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_MSFT_composition_layer_reprojection extension. * *This extension enables an application to provide additional reprojection information for a projection composition layer to help the runtime produce better hologram stability and visual quality.
- */ -public class MSFTCompositionLayerReprojection { - - /** The extension specification version. */ - public static final int XR_MSFT_composition_layer_reprojection_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_MSFT_COMPOSITION_LAYER_REPROJECTION_EXTENSION_NAME = "XR_MSFT_composition_layer_reprojection"; - + */ +public class MSFTCompositionLayerReprojection { + + /** The extension specification version. */ + public static final int XR_MSFT_composition_layer_reprojection_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_MSFT_COMPOSITION_LAYER_REPROJECTION_EXTENSION_NAME = "XR_MSFT_composition_layer_reprojection"; + /** * Extends {@code XrStructureType}. * @@ -37,14 +37,14 @@ public class MSFTCompositionLayerReprojection { *When the application passes {@link #XR_REPROJECTION_MODE_DEPTH_MSFT REPROJECTION_MODE_DEPTH_MSFT} or {@link #XR_REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT} mode, it should also provide the depth buffer for the corresponding layer using {@link XrCompositionLayerDepthInfoKHR} in {@link KHRCompositionLayerDepth XR_KHR_composition_layer_depth} extension. However, if the application does not submit this depth buffer, the runtime must apply a runtime defined fallback reprojection mode, and must not fail the {@link XR10#xrEndFrame EndFrame} function because of this missing depth.
+ *When the application passes {@link #XR_REPROJECTION_MODE_DEPTH_MSFT REPROJECTION_MODE_DEPTH_MSFT} or {@link #XR_REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT} mode, it should also provide the depth buffer for the corresponding layer using {@link XrCompositionLayerDepthInfoKHR} in XR_KHR_composition_layer_depth extension. However, if the application does not submit this depth buffer, the runtime must apply a runtime defined fallback reprojection mode, and must not fail the {@link XR10#xrEndFrame EndFrame} function because of this missing depth.
* - *When the application passes {@link #XR_REPROJECTION_MODE_PLANAR_MANUAL_MSFT REPROJECTION_MODE_PLANAR_MANUAL_MSFT} or {@link #XR_REPROJECTION_MODE_ORIENTATION_ONLY_MSFT REPROJECTION_MODE_ORIENTATION_ONLY_MSFT} mode, it should avoid providing a depth buffer for the corresponding layer using {@link XrCompositionLayerDepthInfoKHR} in {@link KHRCompositionLayerDepth XR_KHR_composition_layer_depth} extension. However, if the application does submit this depth buffer, the runtime must not fail the {@link XR10#xrEndFrame EndFrame} function because of this unused depth data.
+ *When the application passes {@link #XR_REPROJECTION_MODE_PLANAR_MANUAL_MSFT REPROJECTION_MODE_PLANAR_MANUAL_MSFT} or {@link #XR_REPROJECTION_MODE_ORIENTATION_ONLY_MSFT REPROJECTION_MODE_ORIENTATION_ONLY_MSFT} mode, it should avoid providing a depth buffer for the corresponding layer using {@link XrCompositionLayerDepthInfoKHR} in XR_KHR_composition_layer_depth extension. However, if the application does submit this depth buffer, the runtime must not fail the {@link XR10#xrEndFrame EndFrame} function because of this unused depth data.
* *{@link XrCompositionLayerReprojectionInfoMSFT}, {@link #xrEnumerateReprojectionModesMSFT EnumerateReprojectionModesMSFT}
- */ + */ public static final int - XR_REPROJECTION_MODE_DEPTH_MSFT = 1, - XR_REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT = 2, - XR_REPROJECTION_MODE_PLANAR_MANUAL_MSFT = 3, - XR_REPROJECTION_MODE_ORIENTATION_ONLY_MSFT = 4; + XR_REPROJECTION_MODE_DEPTH_MSFT = 1, + XR_REPROJECTION_MODE_PLANAR_FROM_DEPTH_MSFT = 2, + XR_REPROJECTION_MODE_PLANAR_MANUAL_MSFT = 3, + XR_REPROJECTION_MODE_ORIENTATION_ONLY_MSFT = 4; protected MSFTCompositionLayerReprojection() { throw new UnsupportedOperationException(); - } - - // --- [ xrEnumerateReprojectionModesMSFT ] --- + } + // --- [ xrEnumerateReprojectionModesMSFT ] --- + /** * Unsafe version of: {@link #xrEnumerateReprojectionModesMSFT EnumerateReprojectionModesMSFT} * * @param modeCapacityInput the capacity of the array, or 0 to indicate a request to retrieve the required capacity. - */ - public static int nxrEnumerateReprojectionModesMSFT(XrInstance instance, long systemId, int viewConfigurationType, int modeCapacityInput, long modeCountOutput, long modes) { - long __functionAddress = instance.getCapabilities().xrEnumerateReprojectionModesMSFT; - if (CHECKS) { - check(__functionAddress); - } - return callPJPPI(instance.address(), systemId, viewConfigurationType, modeCapacityInput, modeCountOutput, modes, __functionAddress); - } - + */ + public static int nxrEnumerateReprojectionModesMSFT(XrInstance instance, long systemId, int viewConfigurationType, int modeCapacityInput, long modeCountOutput, long modes) { + long __functionAddress = instance.getCapabilities().xrEnumerateReprojectionModesMSFT; + if (CHECKS) { + check(__functionAddress); + } + return callPJPPI(instance.address(), systemId, viewConfigurationType, modeCapacityInput, modeCountOutput, modes, __functionAddress); + } + /** * Queries the supported reprojection modes. * @@ -145,13 +145,13 @@ public static int nxrEnumerateReprojectionModesMSFT(XrInstance instance, long sy * @param viewConfigurationType the {@code XrViewConfigurationType} to enumerate. * @param modeCountOutput a pointer to the count of the array, or a pointer to the required capacity in the case that {@code modeCapacityInput} is insufficient. * @param modes a pointer to an application-allocated array that will be filled with the {@code XrReprojectionModeMSFT} values that are supported by the runtime. It can be {@code NULL} if {@code modeCapacityInput} is 0. - */ - @NativeType("XrResult") - public static int xrEnumerateReprojectionModesMSFT(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("uint32_t *") IntBuffer modeCountOutput, @Nullable @NativeType("XrReprojectionModeMSFT *") IntBuffer modes) { - if (CHECKS) { - check(modeCountOutput, 1); - } - return nxrEnumerateReprojectionModesMSFT(instance, systemId, viewConfigurationType, remainingSafe(modes), memAddress(modeCountOutput), memAddressSafe(modes)); - } + */ + @NativeType("XrResult") + public static int xrEnumerateReprojectionModesMSFT(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("uint32_t *") IntBuffer modeCountOutput, @Nullable @NativeType("XrReprojectionModeMSFT *") IntBuffer modes) { + if (CHECKS) { + check(modeCountOutput, 1); + } + return nxrEnumerateReprojectionModesMSFT(instance, systemId, viewConfigurationType, remainingSafe(modes), memAddress(modeCountOutput), memAddressSafe(modes)); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTControllerModel.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTControllerModel.java index 371037ce7b..18c46b095c 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTControllerModel.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTControllerModel.java @@ -4,35 +4,35 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import javax.annotation.*; - + import java.nio.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_MSFT_controller_model extension. * *This extension provides a mechanism to load a GLTF model for controllers. An application can render the controller model using the real time pose input from controller’s grip action pose and animate controller parts representing the user’s interactions, such as pressing a button, or pulling a trigger.
* *This extension supports any controller interaction profile that supports subpathname:/grip/pose. The returned controller model represents the physical controller held in the user’s hands, and it may be different from the current interaction profile.
- */ -public class MSFTControllerModel { - - /** The extension specification version. */ - public static final int XR_MSFT_controller_model_SPEC_VERSION = 2; - - /** The extension name. */ - public static final String XR_MSFT_CONTROLLER_MODEL_EXTENSION_NAME = "XR_MSFT_controller_model"; - - /** XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT */ - public static final int XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT = 64; - + */ +public class MSFTControllerModel { + + /** The extension specification version. */ + public static final int XR_MSFT_controller_model_SPEC_VERSION = 2; + + /** The extension name. */ + public static final String XR_MSFT_CONTROLLER_MODEL_EXTENSION_NAME = "XR_MSFT_controller_model"; + + /** XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT */ + public static final int XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT = 64; + /** * Extends {@code XrStructureType}. * @@ -45,35 +45,35 @@ public class MSFTControllerModel { *Because this is a first-person view of the scene, applications can share a common culling and instanced rendering pass with their primary view renders. However, the view state (pose and FOV) of the first-person observer view will not match the view state of any of the primary views. Applications enabling this view configuration must call {@link XR10#xrLocateViews LocateViews} a second time each frame to explicitly query the view state for the {@link #XR_VIEW_CONFIGURATION_TYPE_SECONDARY_MONO_FIRST_PERSON_OBSERVER_MSFT VIEW_CONFIGURATION_TYPE_SECONDARY_MONO_FIRST_PERSON_OBSERVER_MSFT} configuration.
* *This secondary view configuration may support a different set of environment blend modes than the primary view configuration. For example, a device that only supports additive blending for its primary display may support alpha-blending when composing the first-person observer view with camera frames. The application should render with assets and shaders that produce output acceptable to both the primary and observer view configuration’s environment blend modes when sharing render passes across both view configurations.
- */ -public final class MSFTFirstPersonObserver { - - /** The extension specification version. */ - public static final int XR_MSFT_first_person_observer_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_MSFT_FIRST_PERSON_OBSERVER_EXTENSION_NAME = "XR_MSFT_first_person_observer"; - - /** Extends {@code XrViewConfigurationType}. */ - public static final int XR_VIEW_CONFIGURATION_TYPE_SECONDARY_MONO_FIRST_PERSON_OBSERVER_MSFT = 1000054000; + */ +public final class MSFTFirstPersonObserver { + + /** The extension specification version. */ + public static final int XR_MSFT_first_person_observer_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_MSFT_FIRST_PERSON_OBSERVER_EXTENSION_NAME = "XR_MSFT_first_person_observer"; + + /** Extends {@code XrViewConfigurationType}. */ + public static final int XR_VIEW_CONFIGURATION_TYPE_SECONDARY_MONO_FIRST_PERSON_OBSERVER_MSFT = 1000054000; - private MSFTFirstPersonObserver() {} + private MSFTFirstPersonObserver() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandInteraction.java index 37cec01416..21ad19a7da 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandInteraction.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandInteraction.java @@ -4,20 +4,20 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_MSFT_hand_interaction extension. * *This extension defines a new interaction profile for near interactions and far interactions driven by directly-tracked hands.
- */ -public final class MSFTHandInteraction { - - /** The extension specification version. */ - public static final int XR_MSFT_hand_interaction_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_MSFT_HAND_INTERACTION_EXTENSION_NAME = "XR_MSFT_hand_interaction"; + */ +public final class MSFTHandInteraction { + + /** The extension specification version. */ + public static final int XR_MSFT_hand_interaction_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_MSFT_HAND_INTERACTION_EXTENSION_NAME = "XR_MSFT_hand_interaction"; - private MSFTHandInteraction() {} + private MSFTHandInteraction() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandTrackingMesh.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandTrackingMesh.java index 859cc2ed67..ffcec1a96b 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandTrackingMesh.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHandTrackingMesh.java @@ -4,30 +4,30 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_MSFT_hand_tracking_mesh extension. * *This extension enables hand tracking inputs represented as a dynamic hand mesh. It enables applications to render hands in XR experiences and interact with virtual objects using hand meshes.
* *The application must also enable the {@link EXTHandTracking XR_EXT_hand_tracking} extension in order to use this extension.
- */ -public class MSFTHandTrackingMesh { - - /** The extension specification version. */ - public static final int XR_MSFT_hand_tracking_mesh_SPEC_VERSION = 4; - - /** The extension name. */ - public static final String XR_MSFT_HAND_TRACKING_MESH_EXTENSION_NAME = "XR_MSFT_hand_tracking_mesh"; - + */ +public class MSFTHandTrackingMesh { + + /** The extension specification version. */ + public static final int XR_MSFT_hand_tracking_mesh_SPEC_VERSION = 4; + + /** The extension name. */ + public static final String XR_MSFT_HAND_TRACKING_MESH_EXTENSION_NAME = "XR_MSFT_hand_tracking_mesh"; + /** * Extends {@code XrStructureType}. * @@ -40,14 +40,14 @@ public class MSFTHandTrackingMesh { *{@link XrHandMeshSpaceCreateInfoMSFT}, {@link XrHandMeshUpdateInfoMSFT}, {@link XrHandPoseTypeInfoMSFT}, {@link XrHandTrackerCreateInfoEXT}, {@link EXTHandTracking#xrCreateHandTrackerEXT CreateHandTrackerEXT}
- */ + */ public static final int - XR_HAND_POSE_TYPE_TRACKED_MSFT = 0, - XR_HAND_POSE_TYPE_REFERENCE_OPEN_PALM_MSFT = 1; + XR_HAND_POSE_TYPE_TRACKED_MSFT = 0, + XR_HAND_POSE_TYPE_REFERENCE_OPEN_PALM_MSFT = 1; protected MSFTHandTrackingMesh() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateHandMeshSpaceMSFT ] --- - - /** Unsafe version of: {@link #xrCreateHandMeshSpaceMSFT CreateHandMeshSpaceMSFT} */ - public static int nxrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, long createInfo, long space) { - long __functionAddress = handTracker.getCapabilities().xrCreateHandMeshSpaceMSFT; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(handTracker.address(), createInfo, space, __functionAddress); - } - + } + + // --- [ xrCreateHandMeshSpaceMSFT ] --- + + /** Unsafe version of: {@link #xrCreateHandMeshSpaceMSFT CreateHandMeshSpaceMSFT} */ + public static int nxrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, long createInfo, long space) { + long __functionAddress = handTracker.getCapabilities().xrCreateHandMeshSpaceMSFT; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(handTracker.address(), createInfo, space, __functionAddress); + } + /** * Create a space for hand mesh tracking. * @@ -151,26 +151,26 @@ public static int nxrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, long * @param handTracker an {@code XrHandTrackerEXT} handle previously created with the {@link EXTHandTracking#xrCreateHandTrackerEXT CreateHandTrackerEXT} function. * @param createInfo the {@link XrHandMeshSpaceCreateInfoMSFT} used to specify the hand mesh space. * @param space the returned {@code XrSpace} handle of the new hand mesh space. - */ - @NativeType("XrResult") - public static int xrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, @NativeType("XrHandMeshSpaceCreateInfoMSFT const *") XrHandMeshSpaceCreateInfoMSFT createInfo, @NativeType("XrSpace *") PointerBuffer space) { - if (CHECKS) { - check(space, 1); - } - return nxrCreateHandMeshSpaceMSFT(handTracker, createInfo.address(), memAddress(space)); - } - - // --- [ xrUpdateHandMeshMSFT ] --- - - /** Unsafe version of: {@link #xrUpdateHandMeshMSFT UpdateHandMeshMSFT} */ - public static int nxrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, long updateInfo, long handMesh) { - long __functionAddress = handTracker.getCapabilities().xrUpdateHandMeshMSFT; - if (CHECKS) { - check(__functionAddress); - } - return callPPPI(handTracker.address(), updateInfo, handMesh, __functionAddress); - } - + */ + @NativeType("XrResult") + public static int xrCreateHandMeshSpaceMSFT(XrHandTrackerEXT handTracker, @NativeType("XrHandMeshSpaceCreateInfoMSFT const *") XrHandMeshSpaceCreateInfoMSFT createInfo, @NativeType("XrSpace *") PointerBuffer space) { + if (CHECKS) { + check(space, 1); + } + return nxrCreateHandMeshSpaceMSFT(handTracker, createInfo.address(), memAddress(space)); + } + + // --- [ xrUpdateHandMeshMSFT ] --- + + /** Unsafe version of: {@link #xrUpdateHandMeshMSFT UpdateHandMeshMSFT} */ + public static int nxrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, long updateInfo, long handMesh) { + long __functionAddress = handTracker.getCapabilities().xrUpdateHandMeshMSFT; + if (CHECKS) { + check(__functionAddress); + } + return callPPPI(handTracker.address(), updateInfo, handMesh, __functionAddress); + } + /** * Update hand mesh buffers. * @@ -228,10 +228,10 @@ public static int nxrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, long updat * @param handTracker an {@code XrHandTrackerEXT} handle previously created with {@link EXTHandTracking#xrCreateHandTrackerEXT CreateHandTrackerEXT}. * @param updateInfo an {@link XrHandMeshUpdateInfoMSFT} which contains information to query the hand mesh. * @param handMesh an {@link XrHandMeshMSFT} structure to receive the updates of hand mesh data. - */ - @NativeType("XrResult") - public static int xrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, @NativeType("XrHandMeshUpdateInfoMSFT const *") XrHandMeshUpdateInfoMSFT updateInfo, @NativeType("XrHandMeshMSFT *") XrHandMeshMSFT handMesh) { - return nxrUpdateHandMeshMSFT(handTracker, updateInfo.address(), handMesh.address()); - } + */ + @NativeType("XrResult") + public static int xrUpdateHandMeshMSFT(XrHandTrackerEXT handTracker, @NativeType("XrHandMeshUpdateInfoMSFT const *") XrHandMeshUpdateInfoMSFT updateInfo, @NativeType("XrHandMeshMSFT *") XrHandMeshMSFT handMesh) { + return nxrUpdateHandMeshMSFT(handTracker, updateInfo.address(), handMesh.address()); + } } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHolographicWindowAttachment.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHolographicWindowAttachment.java index 577c87fa41..cb2bb8a730 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHolographicWindowAttachment.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTHolographicWindowAttachment.java @@ -4,23 +4,23 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + /** * The XR_MSFT_holographic_window_attachment extension. * *This extension enables the runtime to attach to app-provided HolographicSpace and CoreWindow WinRT objects when an {@code XrSession} is created. Applications may use this extension to create and control the CoreWindow/App View objects, allowing the app to subscribe to keyboard input events and react to activation event arguments. These events and data would otherwise be inaccessible if the application simply managed the app state and lifetime exclusively through the OpenXR API. This extension is only valid to use where an application can create a CoreWindow, such as UWP applications on the HoloLens.
- */ -public final class MSFTHolographicWindowAttachment { - - /** The extension specification version. */ - public static final int XR_MSFT_holographic_window_attachment_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_MSFT_HOLOGRAPHIC_WINDOW_ATTACHMENT_EXTENSION_NAME = "XR_MSFT_holographic_window_attachment"; - - /** Extends {@code XrStructureType}. */ - public static final int XR_TYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFT = 1000063000; + */ +public final class MSFTHolographicWindowAttachment { + + /** The extension specification version. */ + public static final int XR_MSFT_holographic_window_attachment_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_MSFT_HOLOGRAPHIC_WINDOW_ATTACHMENT_EXTENSION_NAME = "XR_MSFT_holographic_window_attachment"; + + /** Extends {@code XrStructureType}. */ + public static final int XR_TYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFT = 1000063000; - private MSFTHolographicWindowAttachment() {} + private MSFTHolographicWindowAttachment() {} } \ No newline at end of file diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTPerceptionAnchorInterop.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTPerceptionAnchorInterop.java index c33de7d64e..527f86fc78 100644 --- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTPerceptionAnchorInterop.java +++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTPerceptionAnchorInterop.java @@ -4,50 +4,50 @@ * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; - + import org.lwjgl.*; - -import org.lwjgl.system.*; - -import static org.lwjgl.system.Checks.*; -import static org.lwjgl.system.JNI.*; -import static org.lwjgl.system.MemoryUtil.*; - + +import org.lwjgl.system.*; + +import static org.lwjgl.system.Checks.*; +import static org.lwjgl.system.JNI.*; +import static org.lwjgl.system.MemoryUtil.*; + /** * The XR_MSFT_perception_anchor_interop extension. * - *This extension supports conversion between {@code XrSpatialAnchorMSFT} and Windows.Perception.Spatial.SpatialAnchor. An application can use this extension to persist spatial anchors on the Windows device through SpatialAnchorStore or transfer spatial anchors between devices through SpatialAnchorTransferManager.
- */ -public class MSFTPerceptionAnchorInterop { - - /** The extension specification version. */ - public static final int XR_MSFT_perception_anchor_interop_SPEC_VERSION = 1; - - /** The extension name. */ - public static final String XR_MSFT_PERCEPTION_ANCHOR_INTEROP_EXTENSION_NAME = "XR_MSFT_perception_anchor_interop"; + *This extension supports conversion between {@code XrSpatialAnchorMSFT} and Windows.Perception.Spatial.SpatialAnchor. An application can use this extension to persist spatial anchors on the Windows device through SpatialAnchorStore or transfer spatial anchors between devices through SpatialAnchorTransferManager.
+ */ +public class MSFTPerceptionAnchorInterop { + + /** The extension specification version. */ + public static final int XR_MSFT_perception_anchor_interop_SPEC_VERSION = 1; + + /** The extension name. */ + public static final String XR_MSFT_PERCEPTION_ANCHOR_INTEROP_EXTENSION_NAME = "XR_MSFT_perception_anchor_interop"; protected MSFTPerceptionAnchorInterop() { throw new UnsupportedOperationException(); - } - - // --- [ xrCreateSpatialAnchorFromPerceptionAnchorMSFT ] --- - - /** Unsafe version of: {@link #xrCreateSpatialAnchorFromPerceptionAnchorMSFT CreateSpatialAnchorFromPerceptionAnchorMSFT} */ - public static int nxrCreateSpatialAnchorFromPerceptionAnchorMSFT(XrSession session, long perceptionAnchor, long anchor) { - long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorFromPerceptionAnchorMSFT; - if (CHECKS) { - check(__functionAddress); - check(perceptionAnchor); - } - return callPPPI(session.address(), perceptionAnchor, anchor, __functionAddress); - } + } + // --- [ xrCreateSpatialAnchorFromPerceptionAnchorMSFT ] --- + + /** Unsafe version of: {@link #xrCreateSpatialAnchorFromPerceptionAnchorMSFT CreateSpatialAnchorFromPerceptionAnchorMSFT} */ + public static int nxrCreateSpatialAnchorFromPerceptionAnchorMSFT(XrSession session, long perceptionAnchor, long anchor) { + long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorFromPerceptionAnchorMSFT; + if (CHECKS) { + check(__functionAddress); + check(perceptionAnchor); + } + return callPPPI(session.address(), perceptionAnchor, anchor, __functionAddress); + } + /** * Create an {@code XrSpatialAnchorMSFT} from a Windows SpatialAnchor pointer. * *The {@link #xrCreateSpatialAnchorFromPerceptionAnchorMSFT CreateSpatialAnchorFromPerceptionAnchorMSFT} function creates a {@code XrSpatialAnchorMSFT} handle from an {@code IUnknown} pointer to Windows.Perception.Spatial.SpatialAnchor.
+ *The {@link #xrCreateSpatialAnchorFromPerceptionAnchorMSFT CreateSpatialAnchorFromPerceptionAnchorMSFT} function creates a {@code XrSpatialAnchorMSFT} handle from an {@code IUnknown} pointer to Windows.Perception.Spatial.SpatialAnchor.
* *
* XrResult xrCreateSpatialAnchorFromPerceptionAnchorMSFT(
@@ -57,7 +57,7 @@ public static int nxrCreateSpatialAnchorFromPerceptionAnchorMSFT(XrSession sessi
*
* Description
*
- * The input {@code perceptionAnchor} must support successful {@code QueryInterface} to Windows.Perception.Spatial.SpatialAnchor , otherwise the runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE}.
+ * The input {@code perceptionAnchor} must support successful {@code QueryInterface} to Windows.Perception.Spatial.SpatialAnchor , otherwise the runtime must return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE}.
*
* If the function successfully returned, the output {@code anchor} must be a valid handle. This also increments the refcount of the {@code perceptionAnchor} object.
*
@@ -93,34 +93,34 @@ public static int nxrCreateSpatialAnchorFromPerceptionAnchorMSFT(XrSession sessi
*
*
* @param session the specified {@code XrSession}.
- * @param perceptionAnchor an IUnknown pointer to a Windows.Perception.Spatial.SpatialAnchor object.
+ * @param perceptionAnchor an IUnknown pointer to a Windows.Perception.Spatial.SpatialAnchor object.
* @param anchor a pointer to {@code XrSpatialAnchorMSFT} to receive the returned anchor handle.
- */
- @NativeType("XrResult")
- public static int xrCreateSpatialAnchorFromPerceptionAnchorMSFT(XrSession session, @NativeType("IUnknown *") long perceptionAnchor, @NativeType("XrSpatialAnchorMSFT *") PointerBuffer anchor) {
- if (CHECKS) {
- check(anchor, 1);
- }
- return nxrCreateSpatialAnchorFromPerceptionAnchorMSFT(session, perceptionAnchor, memAddress(anchor));
- }
-
- // --- [ xrTryGetPerceptionAnchorFromSpatialAnchorMSFT ] ---
-
- /** Unsafe version of: {@link #xrTryGetPerceptionAnchorFromSpatialAnchorMSFT TryGetPerceptionAnchorFromSpatialAnchorMSFT} */
- public static int nxrTryGetPerceptionAnchorFromSpatialAnchorMSFT(XrSession session, XrSpatialAnchorMSFT anchor, long perceptionAnchor) {
- long __functionAddress = session.getCapabilities().xrTryGetPerceptionAnchorFromSpatialAnchorMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(session.address(), anchor.address(), perceptionAnchor, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSpatialAnchorFromPerceptionAnchorMSFT(XrSession session, @NativeType("IUnknown *") long perceptionAnchor, @NativeType("XrSpatialAnchorMSFT *") PointerBuffer anchor) {
+ if (CHECKS) {
+ check(anchor, 1);
+ }
+ return nxrCreateSpatialAnchorFromPerceptionAnchorMSFT(session, perceptionAnchor, memAddress(anchor));
+ }
+ // --- [ xrTryGetPerceptionAnchorFromSpatialAnchorMSFT ] ---
+
+ /** Unsafe version of: {@link #xrTryGetPerceptionAnchorFromSpatialAnchorMSFT TryGetPerceptionAnchorFromSpatialAnchorMSFT} */
+ public static int nxrTryGetPerceptionAnchorFromSpatialAnchorMSFT(XrSession session, XrSpatialAnchorMSFT anchor, long perceptionAnchor) {
+ long __functionAddress = session.getCapabilities().xrTryGetPerceptionAnchorFromSpatialAnchorMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(session.address(), anchor.address(), perceptionAnchor, __functionAddress);
+ }
+
/**
* Convert an {@code XrSpatialAnchorMSFT} to a Windows SpatialAnchor.
*
* C Specification
*
- * The {@link #xrTryGetPerceptionAnchorFromSpatialAnchorMSFT TryGetPerceptionAnchorFromSpatialAnchorMSFT} function converts a {@code XrSpatialAnchorMSFT} handle into an {@code IUnknown} pointer to Windows.Perception.Spatial.SpatialAnchor.
+ * The {@link #xrTryGetPerceptionAnchorFromSpatialAnchorMSFT TryGetPerceptionAnchorFromSpatialAnchorMSFT} function converts a {@code XrSpatialAnchorMSFT} handle into an {@code IUnknown} pointer to Windows.Perception.Spatial.SpatialAnchor.
*
*
* XrResult xrTryGetPerceptionAnchorFromSpatialAnchorMSFT(
@@ -130,9 +130,9 @@ public static int nxrTryGetPerceptionAnchorFromSpatialAnchorMSFT(XrSession sessi
*
* Description
*
- * If the runtime can convert the {@code anchor} to a Windows.Perception.Spatial.SpatialAnchor object, this function must return {@link XR10#XR_SUCCESS SUCCESS}, and the output {@code IUnknown} in the pointer of {@code perceptionAnchor} must be not {@code NULL}. This also increments the refcount of the object. The application can then use {@code QueryInterface} to get the pointer for Windows.Perception.Spatial.SpatialAnchor object. The application should release the COM pointer after done with the object, or attach it to a smart COM pointer such as {@code winrt::com_ptr}.
+ * If the runtime can convert the {@code anchor} to a Windows.Perception.Spatial.SpatialAnchor object, this function must return {@link XR10#XR_SUCCESS SUCCESS}, and the output {@code IUnknown} in the pointer of {@code perceptionAnchor} must be not {@code NULL}. This also increments the refcount of the object. The application can then use {@code QueryInterface} to get the pointer for Windows.Perception.Spatial.SpatialAnchor object. The application should release the COM pointer after done with the object, or attach it to a smart COM pointer such as {@code winrt::com_ptr}.
*
- * If the runtime cannot convert the {@code anchor} to a Windows.Perception.Spatial.SpatialAnchor object, the function must return {@link XR10#XR_SUCCESS SUCCESS}, and the output {@code IUnknown} in the pointer of {@code perceptionAnchor} must be {@code NULL}.
+ * If the runtime cannot convert the {@code anchor} to a Windows.Perception.Spatial.SpatialAnchor object, the function must return {@link XR10#XR_SUCCESS SUCCESS}, and the output {@code IUnknown} in the pointer of {@code perceptionAnchor} must be {@code NULL}.
*
* Valid Usage (Implicit)
*
@@ -165,14 +165,14 @@ public static int nxrTryGetPerceptionAnchorFromSpatialAnchorMSFT(XrSession sessi
*
* @param session the specified {@code XrSession}.
* @param anchor a valid {@code XrSpatialAnchorMSFT} handle.
- * @param perceptionAnchor a valid pointer to IUnknown pointer to receive the output Windows.Perception.Spatial.SpatialAnchor object.
- */
- @NativeType("XrResult")
- public static int xrTryGetPerceptionAnchorFromSpatialAnchorMSFT(XrSession session, XrSpatialAnchorMSFT anchor, @NativeType("IUnknown **") PointerBuffer perceptionAnchor) {
- if (CHECKS) {
- check(perceptionAnchor, 1);
- }
- return nxrTryGetPerceptionAnchorFromSpatialAnchorMSFT(session, anchor, memAddress(perceptionAnchor));
- }
+ * @param perceptionAnchor a valid pointer to IUnknown pointer to receive the output Windows.Perception.Spatial.SpatialAnchor object.
+ */
+ @NativeType("XrResult")
+ public static int xrTryGetPerceptionAnchorFromSpatialAnchorMSFT(XrSession session, XrSpatialAnchorMSFT anchor, @NativeType("IUnknown **") PointerBuffer perceptionAnchor) {
+ if (CHECKS) {
+ check(perceptionAnchor, 1);
+ }
+ return nxrTryGetPerceptionAnchorFromSpatialAnchorMSFT(session, anchor, memAddress(perceptionAnchor));
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstanding.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstanding.java
index 2f1bd0ddd9..09a1014b7e 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstanding.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstanding.java
@@ -4,19 +4,19 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
+
import org.lwjgl.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_MSFT_scene_understanding extension.
*
@@ -42,15 +42,15 @@
* Get properties of scene components using {@link #xrGetSceneComponentsMSFT GetSceneComponentsMSFT}.
* Locate scene components using {@link #xrLocateSceneComponentsMSFT LocateSceneComponentsMSFT}.
*
- */
-public class MSFTSceneUnderstanding {
-
- /** The extension specification version. */
- public static final int XR_MSFT_scene_understanding_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_MSFT_SCENE_UNDERSTANDING_EXTENSION_NAME = "XR_MSFT_scene_understanding";
-
+ */
+public class MSFTSceneUnderstanding {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_scene_understanding_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_MSFT_SCENE_UNDERSTANDING_EXTENSION_NAME = "XR_MSFT_scene_understanding";
+
/**
* Extends {@code XrObjectType}.
*
@@ -60,11 +60,11 @@ public class MSFTSceneUnderstanding {
* {@link #XR_OBJECT_TYPE_SCENE_OBSERVER_MSFT OBJECT_TYPE_SCENE_OBSERVER_MSFT}
* {@link #XR_OBJECT_TYPE_SCENE_MSFT OBJECT_TYPE_SCENE_MSFT}
*
- */
+ */
public static final int
- XR_OBJECT_TYPE_SCENE_OBSERVER_MSFT = 1000097000,
- XR_OBJECT_TYPE_SCENE_MSFT = 1000097001;
-
+ XR_OBJECT_TYPE_SCENE_OBSERVER_MSFT = 1000097000,
+ XR_OBJECT_TYPE_SCENE_MSFT = 1000097001;
+
/**
* Extends {@code XrStructureType}.
*
@@ -91,28 +91,28 @@ public class MSFTSceneUnderstanding {
* {@link #XR_TYPE_SCENE_MESH_INDICES_UINT32_MSFT TYPE_SCENE_MESH_INDICES_UINT32_MSFT}
* {@link #XR_TYPE_SCENE_MESH_INDICES_UINT16_MSFT TYPE_SCENE_MESH_INDICES_UINT16_MSFT}
*
- */
+ */
public static final int
- XR_TYPE_SCENE_OBSERVER_CREATE_INFO_MSFT = 1000097000,
- XR_TYPE_SCENE_CREATE_INFO_MSFT = 1000097001,
- XR_TYPE_NEW_SCENE_COMPUTE_INFO_MSFT = 1000097002,
- XR_TYPE_VISUAL_MESH_COMPUTE_LOD_INFO_MSFT = 1000097003,
- XR_TYPE_SCENE_COMPONENTS_MSFT = 1000097004,
- XR_TYPE_SCENE_COMPONENTS_GET_INFO_MSFT = 1000097005,
- XR_TYPE_SCENE_COMPONENT_LOCATIONS_MSFT = 1000097006,
- XR_TYPE_SCENE_COMPONENTS_LOCATE_INFO_MSFT = 1000097007,
- XR_TYPE_SCENE_OBJECTS_MSFT = 1000097008,
- XR_TYPE_SCENE_COMPONENT_PARENT_FILTER_INFO_MSFT = 1000097009,
- XR_TYPE_SCENE_OBJECT_TYPES_FILTER_INFO_MSFT = 1000097010,
- XR_TYPE_SCENE_PLANES_MSFT = 1000097011,
- XR_TYPE_SCENE_PLANE_ALIGNMENT_FILTER_INFO_MSFT = 1000097012,
- XR_TYPE_SCENE_MESHES_MSFT = 1000097013,
- XR_TYPE_SCENE_MESH_BUFFERS_GET_INFO_MSFT = 1000097014,
- XR_TYPE_SCENE_MESH_BUFFERS_MSFT = 1000097015,
- XR_TYPE_SCENE_MESH_VERTEX_BUFFER_MSFT = 1000097016,
- XR_TYPE_SCENE_MESH_INDICES_UINT32_MSFT = 1000097017,
- XR_TYPE_SCENE_MESH_INDICES_UINT16_MSFT = 1000097018;
-
+ XR_TYPE_SCENE_OBSERVER_CREATE_INFO_MSFT = 1000097000,
+ XR_TYPE_SCENE_CREATE_INFO_MSFT = 1000097001,
+ XR_TYPE_NEW_SCENE_COMPUTE_INFO_MSFT = 1000097002,
+ XR_TYPE_VISUAL_MESH_COMPUTE_LOD_INFO_MSFT = 1000097003,
+ XR_TYPE_SCENE_COMPONENTS_MSFT = 1000097004,
+ XR_TYPE_SCENE_COMPONENTS_GET_INFO_MSFT = 1000097005,
+ XR_TYPE_SCENE_COMPONENT_LOCATIONS_MSFT = 1000097006,
+ XR_TYPE_SCENE_COMPONENTS_LOCATE_INFO_MSFT = 1000097007,
+ XR_TYPE_SCENE_OBJECTS_MSFT = 1000097008,
+ XR_TYPE_SCENE_COMPONENT_PARENT_FILTER_INFO_MSFT = 1000097009,
+ XR_TYPE_SCENE_OBJECT_TYPES_FILTER_INFO_MSFT = 1000097010,
+ XR_TYPE_SCENE_PLANES_MSFT = 1000097011,
+ XR_TYPE_SCENE_PLANE_ALIGNMENT_FILTER_INFO_MSFT = 1000097012,
+ XR_TYPE_SCENE_MESHES_MSFT = 1000097013,
+ XR_TYPE_SCENE_MESH_BUFFERS_GET_INFO_MSFT = 1000097014,
+ XR_TYPE_SCENE_MESH_BUFFERS_MSFT = 1000097015,
+ XR_TYPE_SCENE_MESH_VERTEX_BUFFER_MSFT = 1000097016,
+ XR_TYPE_SCENE_MESH_INDICES_UINT32_MSFT = 1000097017,
+ XR_TYPE_SCENE_MESH_INDICES_UINT16_MSFT = 1000097018;
+
/**
* Extends {@code XrResult}.
*
@@ -126,15 +126,15 @@ public class MSFTSceneUnderstanding {
* {@link #XR_ERROR_SCENE_COMPUTE_FEATURE_INCOMPATIBLE_MSFT ERROR_SCENE_COMPUTE_FEATURE_INCOMPATIBLE_MSFT}
* {@link #XR_ERROR_SCENE_COMPUTE_CONSISTENCY_MISMATCH_MSFT ERROR_SCENE_COMPUTE_CONSISTENCY_MISMATCH_MSFT}
*
- */
+ */
public static final int
- XR_ERROR_COMPUTE_NEW_SCENE_NOT_COMPLETED_MSFT = -1000097000,
- XR_ERROR_SCENE_COMPONENT_ID_INVALID_MSFT = -1000097001,
- XR_ERROR_SCENE_COMPONENT_TYPE_MISMATCH_MSFT = -1000097002,
- XR_ERROR_SCENE_MESH_BUFFER_ID_INVALID_MSFT = -1000097003,
- XR_ERROR_SCENE_COMPUTE_FEATURE_INCOMPATIBLE_MSFT = -1000097004,
- XR_ERROR_SCENE_COMPUTE_CONSISTENCY_MISMATCH_MSFT = -1000097005;
-
+ XR_ERROR_COMPUTE_NEW_SCENE_NOT_COMPLETED_MSFT = -1000097000,
+ XR_ERROR_SCENE_COMPONENT_ID_INVALID_MSFT = -1000097001,
+ XR_ERROR_SCENE_COMPONENT_TYPE_MISMATCH_MSFT = -1000097002,
+ XR_ERROR_SCENE_MESH_BUFFER_ID_INVALID_MSFT = -1000097003,
+ XR_ERROR_SCENE_COMPUTE_FEATURE_INCOMPATIBLE_MSFT = -1000097004,
+ XR_ERROR_SCENE_COMPUTE_CONSISTENCY_MISMATCH_MSFT = -1000097005;
+
/**
* XrSceneComputeFeatureMSFT - Scene compute feature
*
@@ -159,13 +159,13 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link XrNewSceneComputeInfoMSFT}, {@link #xrComputeNewSceneMSFT ComputeNewSceneMSFT}, {@link #xrEnumerateSceneComputeFeaturesMSFT EnumerateSceneComputeFeaturesMSFT}
- */
+ */
public static final int
- XR_SCENE_COMPUTE_FEATURE_PLANE_MSFT = 1,
- XR_SCENE_COMPUTE_FEATURE_PLANE_MESH_MSFT = 2,
- XR_SCENE_COMPUTE_FEATURE_VISUAL_MESH_MSFT = 3,
- XR_SCENE_COMPUTE_FEATURE_COLLIDER_MESH_MSFT = 4;
-
+ XR_SCENE_COMPUTE_FEATURE_PLANE_MSFT = 1,
+ XR_SCENE_COMPUTE_FEATURE_PLANE_MESH_MSFT = 2,
+ XR_SCENE_COMPUTE_FEATURE_VISUAL_MESH_MSFT = 3,
+ XR_SCENE_COMPUTE_FEATURE_COLLIDER_MESH_MSFT = 4;
+
/**
* XrSceneComputeConsistencyMSFT - Scene compute consistency
*
@@ -180,12 +180,12 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link XrNewSceneComputeInfoMSFT}, {@link #xrComputeNewSceneMSFT ComputeNewSceneMSFT}
- */
+ */
public static final int
- XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT = 1,
- XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT = 2,
- XR_SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT = 3;
-
+ XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_COMPLETE_MSFT = 1,
+ XR_SCENE_COMPUTE_CONSISTENCY_SNAPSHOT_INCOMPLETE_FAST_MSFT = 2,
+ XR_SCENE_COMPUTE_CONSISTENCY_OCCLUSION_OPTIMIZED_MSFT = 3;
+
/**
* XrMeshComputeLodMSFT - Mesh compute level of detail enumeration
*
@@ -201,13 +201,13 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link XrVisualMeshComputeLodInfoMSFT}
- */
+ */
public static final int
- XR_MESH_COMPUTE_LOD_COARSE_MSFT = 1,
- XR_MESH_COMPUTE_LOD_MEDIUM_MSFT = 2,
- XR_MESH_COMPUTE_LOD_FINE_MSFT = 3,
- XR_MESH_COMPUTE_LOD_UNLIMITED_MSFT = 4;
-
+ XR_MESH_COMPUTE_LOD_COARSE_MSFT = 1,
+ XR_MESH_COMPUTE_LOD_MEDIUM_MSFT = 2,
+ XR_MESH_COMPUTE_LOD_FINE_MSFT = 3,
+ XR_MESH_COMPUTE_LOD_UNLIMITED_MSFT = 4;
+
/**
* XrSceneComponentTypeMSFT - Scene component type
*
@@ -224,14 +224,14 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link XrSceneComponentMSFT}, {@link XrSceneComponentsGetInfoMSFT}
- */
+ */
public static final int
- XR_SCENE_COMPONENT_TYPE_INVALID_MSFT = -1,
- XR_SCENE_COMPONENT_TYPE_OBJECT_MSFT = 1,
- XR_SCENE_COMPONENT_TYPE_PLANE_MSFT = 2,
- XR_SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT = 3,
- XR_SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT = 4;
-
+ XR_SCENE_COMPONENT_TYPE_INVALID_MSFT = -1,
+ XR_SCENE_COMPONENT_TYPE_OBJECT_MSFT = 1,
+ XR_SCENE_COMPONENT_TYPE_PLANE_MSFT = 2,
+ XR_SCENE_COMPONENT_TYPE_VISUAL_MESH_MSFT = 3,
+ XR_SCENE_COMPONENT_TYPE_COLLIDER_MESH_MSFT = 4;
+
/**
* XrSceneObjectTypeMSFT - Scene object type
*
@@ -250,16 +250,16 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link XrNewSceneComputeInfoMSFT}, {@link XrSceneObjectMSFT}, {@link XrSceneObjectTypesFilterInfoMSFT}
- */
+ */
public static final int
- XR_SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT = -1,
- XR_SCENE_OBJECT_TYPE_BACKGROUND_MSFT = 1,
- XR_SCENE_OBJECT_TYPE_WALL_MSFT = 2,
- XR_SCENE_OBJECT_TYPE_FLOOR_MSFT = 3,
- XR_SCENE_OBJECT_TYPE_CEILING_MSFT = 4,
- XR_SCENE_OBJECT_TYPE_PLATFORM_MSFT = 5,
- XR_SCENE_OBJECT_TYPE_INFERRED_MSFT = 6;
-
+ XR_SCENE_OBJECT_TYPE_UNCATEGORIZED_MSFT = -1,
+ XR_SCENE_OBJECT_TYPE_BACKGROUND_MSFT = 1,
+ XR_SCENE_OBJECT_TYPE_WALL_MSFT = 2,
+ XR_SCENE_OBJECT_TYPE_FLOOR_MSFT = 3,
+ XR_SCENE_OBJECT_TYPE_CEILING_MSFT = 4,
+ XR_SCENE_OBJECT_TYPE_PLATFORM_MSFT = 5,
+ XR_SCENE_OBJECT_TYPE_INFERRED_MSFT = 6;
+
/**
* XrScenePlaneAlignmentTypeMSFT - Scene plane alignment type
*
@@ -274,12 +274,12 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link XrScenePlaneAlignmentFilterInfoMSFT}, {@link XrScenePlaneMSFT}
- */
+ */
public static final int
- XR_SCENE_PLANE_ALIGNMENT_TYPE_NON_ORTHOGONAL_MSFT = 0,
- XR_SCENE_PLANE_ALIGNMENT_TYPE_HORIZONTAL_MSFT = 1,
- XR_SCENE_PLANE_ALIGNMENT_TYPE_VERTICAL_MSFT = 2;
-
+ XR_SCENE_PLANE_ALIGNMENT_TYPE_NON_ORTHOGONAL_MSFT = 0,
+ XR_SCENE_PLANE_ALIGNMENT_TYPE_HORIZONTAL_MSFT = 1,
+ XR_SCENE_PLANE_ALIGNMENT_TYPE_VERTICAL_MSFT = 2;
+
/**
* XrSceneComputeStateMSFT - Scene compute state type
*
@@ -295,32 +295,32 @@ public class MSFTSceneUnderstanding {
* See Also
*
* {@link #xrGetSceneComputeStateMSFT GetSceneComputeStateMSFT}
- */
+ */
public static final int
- XR_SCENE_COMPUTE_STATE_NONE_MSFT = 0,
- XR_SCENE_COMPUTE_STATE_UPDATING_MSFT = 1,
- XR_SCENE_COMPUTE_STATE_COMPLETED_MSFT = 2,
- XR_SCENE_COMPUTE_STATE_COMPLETED_WITH_ERROR_MSFT = 3;
+ XR_SCENE_COMPUTE_STATE_NONE_MSFT = 0,
+ XR_SCENE_COMPUTE_STATE_UPDATING_MSFT = 1,
+ XR_SCENE_COMPUTE_STATE_COMPLETED_MSFT = 2,
+ XR_SCENE_COMPUTE_STATE_COMPLETED_WITH_ERROR_MSFT = 3;
protected MSFTSceneUnderstanding() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrEnumerateSceneComputeFeaturesMSFT ] ---
+ }
+ // --- [ xrEnumerateSceneComputeFeaturesMSFT ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateSceneComputeFeaturesMSFT EnumerateSceneComputeFeaturesMSFT}
*
* @param featureCapacityInput the capacity of the array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, long systemId, int featureCapacityInput, long featureCountOutput, long features) {
- long __functionAddress = instance.getCapabilities().xrEnumerateSceneComputeFeaturesMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPJPPI(instance.address(), systemId, featureCapacityInput, featureCountOutput, features, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, long systemId, int featureCapacityInput, long featureCountOutput, long features) {
+ long __functionAddress = instance.getCapabilities().xrEnumerateSceneComputeFeaturesMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPJPPI(instance.address(), systemId, featureCapacityInput, featureCountOutput, features, __functionAddress);
+ }
+
/**
* Enumerates scene compute features.
*
@@ -328,7 +328,7 @@ public static int nxrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, long
*
* The {@link #xrEnumerateSceneComputeFeaturesMSFT EnumerateSceneComputeFeaturesMSFT} function enumerates the supported scene compute features of the given system.
*
- * This function follows the two-call idiom for filling the {@code features} array.
+ * This function follows the two-call idiom for filling the {@code features} array.
*
*
* XrResult xrEnumerateSceneComputeFeaturesMSFT(
@@ -375,26 +375,26 @@ public static int nxrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, long
* @param systemId the {@code XrSystemId} whose scene compute features will be enumerated.
* @param featureCountOutput a pointer to the count of scene compute features, or a pointer to the required capacity in the case that {@code featureCapacityInput} is insufficient.
* @param features an array of {@code XrSceneComputeFeatureMSFT}.
- */
- @NativeType("XrResult")
- public static int xrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("uint32_t *") IntBuffer featureCountOutput, @Nullable @NativeType("XrSceneComputeFeatureMSFT *") IntBuffer features) {
- if (CHECKS) {
- check(featureCountOutput, 1);
- }
- return nxrEnumerateSceneComputeFeaturesMSFT(instance, systemId, remainingSafe(features), memAddress(featureCountOutput), memAddressSafe(features));
- }
-
- // --- [ xrCreateSceneObserverMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSceneObserverMSFT CreateSceneObserverMSFT} */
- public static int nxrCreateSceneObserverMSFT(XrSession session, long createInfo, long sceneObserver) {
- long __functionAddress = session.getCapabilities().xrCreateSceneObserverMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(session.address(), createInfo, sceneObserver, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateSceneComputeFeaturesMSFT(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("uint32_t *") IntBuffer featureCountOutput, @Nullable @NativeType("XrSceneComputeFeatureMSFT *") IntBuffer features) {
+ if (CHECKS) {
+ check(featureCountOutput, 1);
+ }
+ return nxrEnumerateSceneComputeFeaturesMSFT(instance, systemId, remainingSafe(features), memAddress(featureCountOutput), memAddressSafe(features));
+ }
+ // --- [ xrCreateSceneObserverMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSceneObserverMSFT CreateSceneObserverMSFT} */
+ public static int nxrCreateSceneObserverMSFT(XrSession session, long createInfo, long sceneObserver) {
+ long __functionAddress = session.getCapabilities().xrCreateSceneObserverMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(session.address(), createInfo, sceneObserver, __functionAddress);
+ }
+
/**
* Create a scene observer handle.
*
@@ -445,17 +445,17 @@ public static int nxrCreateSceneObserverMSFT(XrSession session, long createInfo,
* @param session an {@code XrSession} in which the scene observer will be active.
* @param createInfo exists for extensibility purposes, it is {@code NULL} or a pointer to a valid {@link XrSceneObserverCreateInfoMSFT} structure.
* @param sceneObserver the returned {@code XrSceneObserverMSFT} handle.
- */
- @NativeType("XrResult")
- public static int xrCreateSceneObserverMSFT(XrSession session, @Nullable @NativeType("XrSceneObserverCreateInfoMSFT const *") XrSceneObserverCreateInfoMSFT createInfo, @NativeType("XrSceneObserverMSFT *") PointerBuffer sceneObserver) {
- if (CHECKS) {
- check(sceneObserver, 1);
- }
- return nxrCreateSceneObserverMSFT(session, memAddressSafe(createInfo), memAddress(sceneObserver));
- }
-
- // --- [ xrDestroySceneObserverMSFT ] ---
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSceneObserverMSFT(XrSession session, @Nullable @NativeType("XrSceneObserverCreateInfoMSFT const *") XrSceneObserverCreateInfoMSFT createInfo, @NativeType("XrSceneObserverMSFT *") PointerBuffer sceneObserver) {
+ if (CHECKS) {
+ check(sceneObserver, 1);
+ }
+ return nxrCreateSceneObserverMSFT(session, memAddressSafe(createInfo), memAddress(sceneObserver));
+ }
+ // --- [ xrDestroySceneObserverMSFT ] ---
+
/**
* Destroy a scene observer handle.
*
@@ -499,27 +499,27 @@ public static int xrCreateSceneObserverMSFT(XrSession session, @Nullable @Native
* {@link #xrCreateSceneObserverMSFT CreateSceneObserverMSFT}
*
* @param sceneObserver an {@code XrSceneObserverMSFT} previously created by {@link #xrCreateSceneObserverMSFT CreateSceneObserverMSFT}.
- */
- @NativeType("XrResult")
- public static int xrDestroySceneObserverMSFT(XrSceneObserverMSFT sceneObserver) {
- long __functionAddress = sceneObserver.getCapabilities().xrDestroySceneObserverMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(sceneObserver.address(), __functionAddress);
- }
-
- // --- [ xrCreateSceneMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSceneMSFT CreateSceneMSFT} */
- public static int nxrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, long createInfo, long scene) {
- long __functionAddress = sceneObserver.getCapabilities().xrCreateSceneMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(sceneObserver.address(), createInfo, scene, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySceneObserverMSFT(XrSceneObserverMSFT sceneObserver) {
+ long __functionAddress = sceneObserver.getCapabilities().xrDestroySceneObserverMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(sceneObserver.address(), __functionAddress);
+ }
+ // --- [ xrCreateSceneMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSceneMSFT CreateSceneMSFT} */
+ public static int nxrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, long createInfo, long scene) {
+ long __functionAddress = sceneObserver.getCapabilities().xrCreateSceneMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(sceneObserver.address(), createInfo, scene, __functionAddress);
+ }
+
/**
* Create a scene handle.
*
@@ -575,17 +575,17 @@ public static int nxrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, long cre
* @param sceneObserver a handle to an {@code XrSceneObserverMSFT}.
* @param createInfo exists for extensibility purposes, it is {@code NULL} or a pointer to a valid {@link XrSceneCreateInfoMSFT} structure.
* @param scene the returned {@code XrSceneMSFT} handle.
- */
- @NativeType("XrResult")
- public static int xrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, @Nullable @NativeType("XrSceneCreateInfoMSFT const *") XrSceneCreateInfoMSFT createInfo, @NativeType("XrSceneMSFT *") PointerBuffer scene) {
- if (CHECKS) {
- check(scene, 1);
- }
- return nxrCreateSceneMSFT(sceneObserver, memAddressSafe(createInfo), memAddress(scene));
- }
-
- // --- [ xrDestroySceneMSFT ] ---
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, @Nullable @NativeType("XrSceneCreateInfoMSFT const *") XrSceneCreateInfoMSFT createInfo, @NativeType("XrSceneMSFT *") PointerBuffer scene) {
+ if (CHECKS) {
+ check(scene, 1);
+ }
+ return nxrCreateSceneMSFT(sceneObserver, memAddressSafe(createInfo), memAddress(scene));
+ }
+ // --- [ xrDestroySceneMSFT ] ---
+
/**
* Destroy a scene handle.
*
@@ -629,28 +629,28 @@ public static int xrCreateSceneMSFT(XrSceneObserverMSFT sceneObserver, @Nullable
* {@link #xrCreateSceneMSFT CreateSceneMSFT}
*
* @param scene an {@code XrSceneMSFT} previously created by {@link #xrCreateSceneMSFT CreateSceneMSFT}.
- */
- @NativeType("XrResult")
- public static int xrDestroySceneMSFT(XrSceneMSFT scene) {
- long __functionAddress = scene.getCapabilities().xrDestroySceneMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(scene.address(), __functionAddress);
- }
-
- // --- [ xrComputeNewSceneMSFT ] ---
-
- /** Unsafe version of: {@link #xrComputeNewSceneMSFT ComputeNewSceneMSFT} */
- public static int nxrComputeNewSceneMSFT(XrSceneObserverMSFT sceneObserver, long computeInfo) {
- long __functionAddress = sceneObserver.getCapabilities().xrComputeNewSceneMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrNewSceneComputeInfoMSFT.validate(computeInfo);
- }
- return callPPI(sceneObserver.address(), computeInfo, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySceneMSFT(XrSceneMSFT scene) {
+ long __functionAddress = scene.getCapabilities().xrDestroySceneMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(scene.address(), __functionAddress);
+ }
+ // --- [ xrComputeNewSceneMSFT ] ---
+
+ /** Unsafe version of: {@link #xrComputeNewSceneMSFT ComputeNewSceneMSFT} */
+ public static int nxrComputeNewSceneMSFT(XrSceneObserverMSFT sceneObserver, long computeInfo) {
+ long __functionAddress = sceneObserver.getCapabilities().xrComputeNewSceneMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrNewSceneComputeInfoMSFT.validate(computeInfo);
+ }
+ return callPPI(sceneObserver.address(), computeInfo, __functionAddress);
+ }
+
/**
* Compute new scene.
*
@@ -774,23 +774,23 @@ public static int nxrComputeNewSceneMSFT(XrSceneObserverMSFT sceneObserver, long
*
* @param sceneObserver a handle to an {@code XrSceneObserverMSFT}.
* @param computeInfo a pointer to an {@link XrNewSceneComputeInfoMSFT} structure.
- */
- @NativeType("XrResult")
- public static int xrComputeNewSceneMSFT(XrSceneObserverMSFT sceneObserver, @NativeType("XrNewSceneComputeInfoMSFT const *") XrNewSceneComputeInfoMSFT computeInfo) {
- return nxrComputeNewSceneMSFT(sceneObserver, computeInfo.address());
- }
-
- // --- [ xrGetSceneComputeStateMSFT ] ---
-
- /** Unsafe version of: {@link #xrGetSceneComputeStateMSFT GetSceneComputeStateMSFT} */
- public static int nxrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver, long state) {
- long __functionAddress = sceneObserver.getCapabilities().xrGetSceneComputeStateMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPI(sceneObserver.address(), state, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrComputeNewSceneMSFT(XrSceneObserverMSFT sceneObserver, @NativeType("XrNewSceneComputeInfoMSFT const *") XrNewSceneComputeInfoMSFT computeInfo) {
+ return nxrComputeNewSceneMSFT(sceneObserver, computeInfo.address());
+ }
+ // --- [ xrGetSceneComputeStateMSFT ] ---
+
+ /** Unsafe version of: {@link #xrGetSceneComputeStateMSFT GetSceneComputeStateMSFT} */
+ public static int nxrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver, long state) {
+ long __functionAddress = sceneObserver.getCapabilities().xrGetSceneComputeStateMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPI(sceneObserver.address(), state, __functionAddress);
+ }
+
/**
* Get the scene compute state.
*
@@ -833,32 +833,32 @@ public static int nxrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver,
*
* @param sceneObserver a handle to an {@code XrSceneObserverMSFT}.
* @param state the returned {@code XrSceneComputeStateMSFT} value.
- */
- @NativeType("XrResult")
- public static int xrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver, @NativeType("XrSceneComputeStateMSFT *") IntBuffer state) {
- if (CHECKS) {
- check(state, 1);
- }
- return nxrGetSceneComputeStateMSFT(sceneObserver, memAddress(state));
- }
-
- // --- [ xrGetSceneComponentsMSFT ] ---
-
- /** Unsafe version of: {@link #xrGetSceneComponentsMSFT GetSceneComponentsMSFT} */
- public static int nxrGetSceneComponentsMSFT(XrSceneMSFT scene, long getInfo, long components) {
- long __functionAddress = scene.getCapabilities().xrGetSceneComponentsMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(scene.address(), getInfo, components, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrGetSceneComputeStateMSFT(XrSceneObserverMSFT sceneObserver, @NativeType("XrSceneComputeStateMSFT *") IntBuffer state) {
+ if (CHECKS) {
+ check(state, 1);
+ }
+ return nxrGetSceneComputeStateMSFT(sceneObserver, memAddress(state));
+ }
+ // --- [ xrGetSceneComponentsMSFT ] ---
+
+ /** Unsafe version of: {@link #xrGetSceneComponentsMSFT GetSceneComponentsMSFT} */
+ public static int nxrGetSceneComponentsMSFT(XrSceneMSFT scene, long getInfo, long components) {
+ long __functionAddress = scene.getCapabilities().xrGetSceneComponentsMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(scene.address(), getInfo, components, __functionAddress);
+ }
+
/**
* Get scene components from a scene.
*
* C Specification
*
- * Scene components are read from an {@code XrSceneMSFT} using {@link #xrGetSceneComponentsMSFT GetSceneComponentsMSFT} and passing one {@code XrSceneComponentTypeMSFT}. This function follows the two-call idiom for filling multiple buffers in a struct. Different scene component types may have additional properties that can be read by chaining additional structures to {@link XrSceneComponentsMSFT}. Those additional structures must have an array size that is at least as large as {@link XrSceneComponentsMSFT}::componentCapacityInput, otherwise the runtime must return {@link XR10#XR_ERROR_SIZE_INSUFFICIENT ERROR_SIZE_INSUFFICIENT}.
+ * Scene components are read from an {@code XrSceneMSFT} using {@link #xrGetSceneComponentsMSFT GetSceneComponentsMSFT} and passing one {@code XrSceneComponentTypeMSFT}. This function follows the two-call idiom for filling multiple buffers in a struct. Different scene component types may have additional properties that can be read by chaining additional structures to {@link XrSceneComponentsMSFT}. Those additional structures must have an array size that is at least as large as {@link XrSceneComponentsMSFT}::componentCapacityInput, otherwise the runtime must return {@link XR10#XR_ERROR_SIZE_INSUFFICIENT ERROR_SIZE_INSUFFICIENT}.
*
*
* - If {@link #XR_SCENE_COMPONENT_TYPE_OBJECT_MSFT SCENE_COMPONENT_TYPE_OBJECT_MSFT} is passed to {@link #xrGetSceneComponentsMSFT GetSceneComponentsMSFT}, then {@link XrSceneObjectsMSFT} may be included in the {@link XrSceneComponentsMSFT}{@code ::next} chain.
@@ -910,24 +910,24 @@ public static int nxrGetSceneComponentsMSFT(XrSceneMSFT scene, long getInfo, lon
* @param scene an {@code XrSceneMSFT} previously created by {@link #xrCreateSceneMSFT CreateSceneMSFT}.
* @param getInfo a pointer to an {@link XrSceneComponentsGetInfoMSFT} structure.
* @param components the {@link XrSceneComponentsMSFT} output structure.
- */
- @NativeType("XrResult")
- public static int xrGetSceneComponentsMSFT(XrSceneMSFT scene, @NativeType("XrSceneComponentsGetInfoMSFT const *") XrSceneComponentsGetInfoMSFT getInfo, @NativeType("XrSceneComponentsMSFT *") XrSceneComponentsMSFT components) {
- return nxrGetSceneComponentsMSFT(scene, getInfo.address(), components.address());
- }
-
- // --- [ xrLocateSceneComponentsMSFT ] ---
-
- /** Unsafe version of: {@link #xrLocateSceneComponentsMSFT LocateSceneComponentsMSFT} */
- public static int nxrLocateSceneComponentsMSFT(XrSceneMSFT scene, long locateInfo, long locations) {
- long __functionAddress = scene.getCapabilities().xrLocateSceneComponentsMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrSceneComponentsLocateInfoMSFT.validate(locateInfo);
- }
- return callPPPI(scene.address(), locateInfo, locations, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrGetSceneComponentsMSFT(XrSceneMSFT scene, @NativeType("XrSceneComponentsGetInfoMSFT const *") XrSceneComponentsGetInfoMSFT getInfo, @NativeType("XrSceneComponentsMSFT *") XrSceneComponentsMSFT components) {
+ return nxrGetSceneComponentsMSFT(scene, getInfo.address(), components.address());
+ }
+ // --- [ xrLocateSceneComponentsMSFT ] ---
+
+ /** Unsafe version of: {@link #xrLocateSceneComponentsMSFT LocateSceneComponentsMSFT} */
+ public static int nxrLocateSceneComponentsMSFT(XrSceneMSFT scene, long locateInfo, long locations) {
+ long __functionAddress = scene.getCapabilities().xrLocateSceneComponentsMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrSceneComponentsLocateInfoMSFT.validate(locateInfo);
+ }
+ return callPPPI(scene.address(), locateInfo, locations, __functionAddress);
+ }
+
/**
* Locate scene components.
*
@@ -988,23 +988,23 @@ public static int nxrLocateSceneComponentsMSFT(XrSceneMSFT scene, long locateInf
* @param scene a handle to an {@code XrSceneMSFT}.
* @param locateInfo a pointer to {@link XrSceneComponentsLocateInfoMSFT} describing information to locate scene components.
* @param locations a pointer to {@link XrSceneComponentLocationsMSFT} receiving the returned scene component locations.
- */
- @NativeType("XrResult")
- public static int xrLocateSceneComponentsMSFT(XrSceneMSFT scene, @NativeType("XrSceneComponentsLocateInfoMSFT const *") XrSceneComponentsLocateInfoMSFT locateInfo, @NativeType("XrSceneComponentLocationsMSFT *") XrSceneComponentLocationsMSFT locations) {
- return nxrLocateSceneComponentsMSFT(scene, locateInfo.address(), locations.address());
- }
-
- // --- [ xrGetSceneMeshBuffersMSFT ] ---
-
- /** Unsafe version of: {@link #xrGetSceneMeshBuffersMSFT GetSceneMeshBuffersMSFT} */
- public static int nxrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, long getInfo, long buffers) {
- long __functionAddress = scene.getCapabilities().xrGetSceneMeshBuffersMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(scene.address(), getInfo, buffers, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrLocateSceneComponentsMSFT(XrSceneMSFT scene, @NativeType("XrSceneComponentsLocateInfoMSFT const *") XrSceneComponentsLocateInfoMSFT locateInfo, @NativeType("XrSceneComponentLocationsMSFT *") XrSceneComponentLocationsMSFT locations) {
+ return nxrLocateSceneComponentsMSFT(scene, locateInfo.address(), locations.address());
+ }
+ // --- [ xrGetSceneMeshBuffersMSFT ] ---
+
+ /** Unsafe version of: {@link #xrGetSceneMeshBuffersMSFT GetSceneMeshBuffersMSFT} */
+ public static int nxrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, long getInfo, long buffers) {
+ long __functionAddress = scene.getCapabilities().xrGetSceneMeshBuffersMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(scene.address(), getInfo, buffers, __functionAddress);
+ }
+
/**
* Get scene mesh buffers.
*
@@ -1075,10 +1075,10 @@ public static int nxrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, long getInfo, lo
* @param scene an {@code XrSceneMSFT} previously created by {@link #xrCreateSceneMSFT CreateSceneMSFT}.
* @param getInfo a pointer to an {@link XrSceneMeshBuffersGetInfoMSFT} structure.
* @param buffers a pointer to an {@link XrSceneMeshBuffersMSFT} structure for reading a scene mesh buffer.
- */
- @NativeType("XrResult")
- public static int xrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, @NativeType("XrSceneMeshBuffersGetInfoMSFT const *") XrSceneMeshBuffersGetInfoMSFT getInfo, @NativeType("XrSceneMeshBuffersMSFT *") XrSceneMeshBuffersMSFT buffers) {
- return nxrGetSceneMeshBuffersMSFT(scene, getInfo.address(), buffers.address());
- }
+ */
+ @NativeType("XrResult")
+ public static int xrGetSceneMeshBuffersMSFT(XrSceneMSFT scene, @NativeType("XrSceneMeshBuffersGetInfoMSFT const *") XrSceneMeshBuffersGetInfoMSFT getInfo, @NativeType("XrSceneMeshBuffersMSFT *") XrSceneMeshBuffersMSFT buffers) {
+ return nxrGetSceneMeshBuffersMSFT(scene, getInfo.address(), buffers.address());
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstandingSerialization.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstandingSerialization.java
index 3b984e2d8a..e71f94d196 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstandingSerialization.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSceneUnderstandingSerialization.java
@@ -4,30 +4,30 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_MSFT_scene_understanding_serialization extension.
*
* This extension extends the scene understanding extension and enables scenes to be serialized or deserialized. It enables computing a new scene into a serialized binary stream and it enables deserializing a binary stream into an {@code XrSceneMSFT} handle.
- */
-public class MSFTSceneUnderstandingSerialization {
-
- /** The extension specification version. */
- public static final int XR_MSFT_scene_understanding_serialization_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME = "XR_MSFT_scene_understanding_serialization";
-
+ */
+public class MSFTSceneUnderstandingSerialization {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_scene_understanding_serialization_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_MSFT_SCENE_UNDERSTANDING_SERIALIZATION_EXTENSION_NAME = "XR_MSFT_scene_understanding_serialization";
+
/**
* Extends {@code XrStructureType}.
*
@@ -37,32 +37,32 @@ public class MSFTSceneUnderstandingSerialization {
* - {@link #XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT}
* - {@link #XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT TYPE_SCENE_DESERIALIZE_INFO_MSFT}
*
- */
+ */
public static final int
- XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT = 1000098000,
- XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT = 1000098001;
-
- /** Extends {@code XrSceneComputeFeatureMSFT}. */
- public static final int XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT = 1000098000;
-
- /** Extends {@code XrSceneComponentTypeMSFT}. */
- public static final int XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT = 1000098000;
+ XR_TYPE_SERIALIZED_SCENE_FRAGMENT_DATA_GET_INFO_MSFT = 1000098000,
+ XR_TYPE_SCENE_DESERIALIZE_INFO_MSFT = 1000098001;
+
+ /** Extends {@code XrSceneComputeFeatureMSFT}. */
+ public static final int XR_SCENE_COMPUTE_FEATURE_SERIALIZE_SCENE_MSFT = 1000098000;
+
+ /** Extends {@code XrSceneComponentTypeMSFT}. */
+ public static final int XR_SCENE_COMPONENT_TYPE_SERIALIZED_SCENE_FRAGMENT_MSFT = 1000098000;
protected MSFTSceneUnderstandingSerialization() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrDeserializeSceneMSFT ] ---
-
- /** Unsafe version of: {@link #xrDeserializeSceneMSFT DeserializeSceneMSFT} */
- public static int nxrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, long deserializeInfo) {
- long __functionAddress = sceneObserver.getCapabilities().xrDeserializeSceneMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPI(sceneObserver.address(), deserializeInfo, __functionAddress);
- }
-
+ }
+
+ // --- [ xrDeserializeSceneMSFT ] ---
+
+ /** Unsafe version of: {@link #xrDeserializeSceneMSFT DeserializeSceneMSFT} */
+ public static int nxrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, long deserializeInfo) {
+ long __functionAddress = sceneObserver.getCapabilities().xrDeserializeSceneMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPI(sceneObserver.address(), deserializeInfo, __functionAddress);
+ }
+
/**
* Deserialize scene.
*
@@ -120,27 +120,27 @@ public static int nxrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, lon
*
* @param sceneObserver a handle to an {@code XrSceneObserverMSFT} previously created with {@link MSFTSceneUnderstanding#xrCreateSceneObserverMSFT CreateSceneObserverMSFT}.
* @param deserializeInfo a pointer to an {@link XrSceneDeserializeInfoMSFT} structure.
- */
- @NativeType("XrResult")
- public static int xrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, @NativeType("XrSceneDeserializeInfoMSFT const *") XrSceneDeserializeInfoMSFT deserializeInfo) {
- return nxrDeserializeSceneMSFT(sceneObserver, deserializeInfo.address());
- }
-
- // --- [ xrGetSerializedSceneFragmentDataMSFT ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrDeserializeSceneMSFT(XrSceneObserverMSFT sceneObserver, @NativeType("XrSceneDeserializeInfoMSFT const *") XrSceneDeserializeInfoMSFT deserializeInfo) {
+ return nxrDeserializeSceneMSFT(sceneObserver, deserializeInfo.address());
+ }
+
+ // --- [ xrGetSerializedSceneFragmentDataMSFT ] ---
+
/**
* Unsafe version of: {@link #xrGetSerializedSceneFragmentDataMSFT GetSerializedSceneFragmentDataMSFT}
*
* @param countInput the number of bytes that should be read.
- */
- public static int nxrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, long getInfo, int countInput, long readOutput, long buffer) {
- long __functionAddress = scene.getCapabilities().xrGetSerializedSceneFragmentDataMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPPI(scene.address(), getInfo, countInput, readOutput, buffer, __functionAddress);
- }
-
+ */
+ public static int nxrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, long getInfo, int countInput, long readOutput, long buffer) {
+ long __functionAddress = scene.getCapabilities().xrGetSerializedSceneFragmentDataMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPPI(scene.address(), getInfo, countInput, readOutput, buffer, __functionAddress);
+ }
+
/**
* Get serialized scene fragment data.
*
@@ -202,13 +202,13 @@ public static int nxrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, long
* @param getInfo a pointer to an {@link XrSerializedSceneFragmentDataGetInfoMSFT} structure.
* @param readOutput the number of bytes read.
* @param buffer a pointer to the buffer where the data should be copied.
- */
- @NativeType("XrResult")
- public static int xrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, @NativeType("XrSerializedSceneFragmentDataGetInfoMSFT const *") XrSerializedSceneFragmentDataGetInfoMSFT getInfo, @NativeType("uint32_t *") IntBuffer readOutput, @Nullable @NativeType("uint8_t *") ByteBuffer buffer) {
- if (CHECKS) {
- check(readOutput, 1);
- }
- return nxrGetSerializedSceneFragmentDataMSFT(scene, getInfo.address(), remainingSafe(buffer), memAddress(readOutput), memAddressSafe(buffer));
- }
+ */
+ @NativeType("XrResult")
+ public static int xrGetSerializedSceneFragmentDataMSFT(XrSceneMSFT scene, @NativeType("XrSerializedSceneFragmentDataGetInfoMSFT const *") XrSerializedSceneFragmentDataGetInfoMSFT getInfo, @NativeType("uint32_t *") IntBuffer readOutput, @Nullable @NativeType("uint8_t *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(readOutput, 1);
+ }
+ return nxrGetSerializedSceneFragmentDataMSFT(scene, getInfo.address(), remainingSafe(buffer), memAddress(readOutput), memAddressSafe(buffer));
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSecondaryViewConfiguration.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSecondaryViewConfiguration.java
index 429549f086..35e3895dc9 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSecondaryViewConfiguration.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSecondaryViewConfiguration.java
@@ -4,7 +4,7 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_MSFT_secondary_view_configuration extension.
*
@@ -22,15 +22,15 @@
* Locate the secondary view configuration views using the {@link XR10#xrLocateViews LocateViews} function with the active secondary view configuration type.
* Submit the composition layers using the swapchain images for an active secondary view configuration using the {@link XR10#xrEndFrame EndFrame} function with the {@link XrSecondaryViewConfigurationFrameEndInfoMSFT} chained extension structure.
*
- */
-public final class MSFTSecondaryViewConfiguration {
-
- /** The extension specification version. */
- public static final int XR_MSFT_secondary_view_configuration_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_MSFT_SECONDARY_VIEW_CONFIGURATION_EXTENSION_NAME = "XR_MSFT_secondary_view_configuration";
-
+ */
+public final class MSFTSecondaryViewConfiguration {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_secondary_view_configuration_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_MSFT_SECONDARY_VIEW_CONFIGURATION_EXTENSION_NAME = "XR_MSFT_secondary_view_configuration";
+
/**
* Extends {@code XrStructureType}.
*
@@ -44,18 +44,18 @@ public final class MSFTSecondaryViewConfiguration {
* {@link #XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT}
* {@link #XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT}
*
- */
+ */
public static final int
- XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFT = 1000053000,
- XR_TYPE_SECONDARY_VIEW_CONFIGURATION_STATE_MSFT = 1000053001,
- XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_STATE_MSFT = 1000053002,
- XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_END_INFO_MSFT = 1000053003,
- XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT = 1000053004,
- XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT = 1000053005;
-
- /** Extends {@code XrResult}. */
- public static final int XR_ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT = -1000053000;
+ XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SESSION_BEGIN_INFO_MSFT = 1000053000,
+ XR_TYPE_SECONDARY_VIEW_CONFIGURATION_STATE_MSFT = 1000053001,
+ XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_STATE_MSFT = 1000053002,
+ XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_END_INFO_MSFT = 1000053003,
+ XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT = 1000053004,
+ XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT = 1000053005;
+
+ /** Extends {@code XrResult}. */
+ public static final int XR_ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT = -1000053000;
- private MSFTSecondaryViewConfiguration() {}
+ private MSFTSecondaryViewConfiguration() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchor.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchor.java
index 6840d4e7e9..c6b389097d 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchor.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchor.java
@@ -4,28 +4,28 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import org.lwjgl.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_MSFT_spatial_anchor extension.
*
* This extension allows an application to create a spatial anchor, an arbitrary freespace point in the user’s physical environment that will then be tracked by the runtime. The runtime should then adjust the position and orientation of that anchor’s origin over time as needed, independently of all other spaces and anchors, to ensure that it maintains its original mapping to the real world.
- */
-public class MSFTSpatialAnchor {
-
- /** The extension specification version. */
- public static final int XR_MSFT_spatial_anchor_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_MSFT_SPATIAL_ANCHOR_EXTENSION_NAME = "XR_MSFT_spatial_anchor";
-
+ */
+public class MSFTSpatialAnchor {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_spatial_anchor_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_MSFT_SPATIAL_ANCHOR_EXTENSION_NAME = "XR_MSFT_spatial_anchor";
+
/**
* Extends {@code XrStructureType}.
*
@@ -35,33 +35,33 @@ public class MSFTSpatialAnchor {
* {@link #XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT}
* {@link #XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT}
*
- */
+ */
public static final int
- XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT = 1000039000,
- XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT = 1000039001;
-
- /** Extends {@code XrObjectType}. */
- public static final int XR_OBJECT_TYPE_SPATIAL_ANCHOR_MSFT = 1000039000;
-
- /** Extends {@code XrResult}. */
- public static final int XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT = -1000039001;
+ XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT = 1000039000,
+ XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT = 1000039001;
+
+ /** Extends {@code XrObjectType}. */
+ public static final int XR_OBJECT_TYPE_SPATIAL_ANCHOR_MSFT = 1000039000;
+
+ /** Extends {@code XrResult}. */
+ public static final int XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT = -1000039001;
protected MSFTSpatialAnchor() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrCreateSpatialAnchorMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSpatialAnchorMSFT CreateSpatialAnchorMSFT} */
- public static int nxrCreateSpatialAnchorMSFT(XrSession session, long createInfo, long anchor) {
- long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrSpatialAnchorCreateInfoMSFT.validate(createInfo);
- }
- return callPPPI(session.address(), createInfo, anchor, __functionAddress);
- }
+ }
+ // --- [ xrCreateSpatialAnchorMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSpatialAnchorMSFT CreateSpatialAnchorMSFT} */
+ public static int nxrCreateSpatialAnchorMSFT(XrSession session, long createInfo, long anchor) {
+ long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrSpatialAnchorCreateInfoMSFT.validate(createInfo);
+ }
+ return callPPPI(session.address(), createInfo, anchor, __functionAddress);
+ }
+
/**
* Creates a spatial anchor.
*
@@ -79,8 +79,6 @@ public static int nxrCreateSpatialAnchorMSFT(XrSession session, long createInfo,
*
* Creates an {@code XrSpatialAnchorMSFT} handle representing a spatial anchor that will track a fixed location in the physical world over time. That real-world location is specified by the position and orientation of the specified {@code pose} within {@code space} at {@code time}.
*
- * The runtime must avoid long blocking operations such as networking or disk operations for {@link #xrCreateSpatialAnchorMSFT CreateSpatialAnchorMSFT} function. The application may safely use this function in UI thread. Though, the created anchor handle may not be ready immediately for certain operations yet. For example, the corresponding anchor space may not return valid location, or its location may not be successfully saved in anchor store.
- *
* If {@code space} cannot be located relative to the environment at the moment of the call to {@link #xrCreateSpatialAnchorMSFT CreateSpatialAnchorMSFT}, the runtime must return {@link #XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT}.
*
* After the anchor is created, the runtime should then adjust its position and orientation over time relative to other spaces so as to maintain maximum alignment to its original real-world location, even if that changes the anchor’s relationship to the original {@code space} used to initialize it.
@@ -124,27 +122,27 @@ public static int nxrCreateSpatialAnchorMSFT(XrSession session, long createInfo,
* @param session a handle to an {@code XrSession}.
* @param createInfo a pointer to an {@link XrSpatialAnchorCreateInfoMSFT} structure containing information about how to create the anchor.
* @param anchor a pointer to a handle in which the created {@code XrSpatialAnchorMSFT} is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateSpatialAnchorMSFT(XrSession session, @NativeType("XrSpatialAnchorCreateInfoMSFT const *") XrSpatialAnchorCreateInfoMSFT createInfo, @NativeType("XrSpatialAnchorMSFT *") PointerBuffer anchor) {
- if (CHECKS) {
- check(anchor, 1);
- }
- return nxrCreateSpatialAnchorMSFT(session, createInfo.address(), memAddress(anchor));
- }
-
- // --- [ xrCreateSpatialAnchorSpaceMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSpatialAnchorSpaceMSFT CreateSpatialAnchorSpaceMSFT} */
- public static int nxrCreateSpatialAnchorSpaceMSFT(XrSession session, long createInfo, long space) {
- long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorSpaceMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrSpatialAnchorSpaceCreateInfoMSFT.validate(createInfo);
- }
- return callPPPI(session.address(), createInfo, space, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSpatialAnchorMSFT(XrSession session, @NativeType("XrSpatialAnchorCreateInfoMSFT const *") XrSpatialAnchorCreateInfoMSFT createInfo, @NativeType("XrSpatialAnchorMSFT *") PointerBuffer anchor) {
+ if (CHECKS) {
+ check(anchor, 1);
+ }
+ return nxrCreateSpatialAnchorMSFT(session, createInfo.address(), memAddress(anchor));
+ }
+ // --- [ xrCreateSpatialAnchorSpaceMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSpatialAnchorSpaceMSFT CreateSpatialAnchorSpaceMSFT} */
+ public static int nxrCreateSpatialAnchorSpaceMSFT(XrSession session, long createInfo, long space) {
+ long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorSpaceMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrSpatialAnchorSpaceCreateInfoMSFT.validate(createInfo);
+ }
+ return callPPPI(session.address(), createInfo, space, __functionAddress);
+ }
+
/**
* Creates a space from a spatial anchor.
*
@@ -201,17 +199,17 @@ public static int nxrCreateSpatialAnchorSpaceMSFT(XrSession session, long create
* @param session a handle to an {@code XrSession}.
* @param createInfo a pointer to an {@link XrSpatialAnchorSpaceCreateInfoMSFT} structure containing information about how to create the anchor.
* @param space a pointer to a handle in which the created {@code XrSpace} is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateSpatialAnchorSpaceMSFT(XrSession session, @NativeType("XrSpatialAnchorSpaceCreateInfoMSFT const *") XrSpatialAnchorSpaceCreateInfoMSFT createInfo, @NativeType("XrSpace *") PointerBuffer space) {
- if (CHECKS) {
- check(space, 1);
- }
- return nxrCreateSpatialAnchorSpaceMSFT(session, createInfo.address(), memAddress(space));
- }
-
- // --- [ xrDestroySpatialAnchorMSFT ] ---
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSpatialAnchorSpaceMSFT(XrSession session, @NativeType("XrSpatialAnchorSpaceCreateInfoMSFT const *") XrSpatialAnchorSpaceCreateInfoMSFT createInfo, @NativeType("XrSpace *") PointerBuffer space) {
+ if (CHECKS) {
+ check(space, 1);
+ }
+ return nxrCreateSpatialAnchorSpaceMSFT(session, createInfo.address(), memAddress(space));
+ }
+ // --- [ xrDestroySpatialAnchorMSFT ] ---
+
/**
* Destroys a spatial anchor.
*
@@ -259,14 +257,14 @@ public static int xrCreateSpatialAnchorSpaceMSFT(XrSession session, @NativeType(
* {@link #xrCreateSpatialAnchorMSFT CreateSpatialAnchorMSFT}
*
* @param anchor a handle to an {@code XrSpatialAnchorMSFT} previously created by {@link #xrCreateSpatialAnchorMSFT CreateSpatialAnchorMSFT}.
- */
- @NativeType("XrResult")
- public static int xrDestroySpatialAnchorMSFT(XrSpatialAnchorMSFT anchor) {
- long __functionAddress = anchor.getCapabilities().xrDestroySpatialAnchorMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(anchor.address(), __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySpatialAnchorMSFT(XrSpatialAnchorMSFT anchor) {
+ long __functionAddress = anchor.getCapabilities().xrDestroySpatialAnchorMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(anchor.address(), __functionAddress);
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchorPersistence.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchorPersistence.java
index 95b7e88e56..a4398659c2 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchorPersistence.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialAnchorPersistence.java
@@ -4,35 +4,35 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
+
import org.lwjgl.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_MSFT_spatial_anchor_persistence extension.
*
* This extension allows persistence and retrieval of spatial anchors sharing and localization across application sessions on a device. Spatial anchors persisted during an application session on a device will only be able to be retrieved during sessions of that same application on the same device. This extension requires {@link MSFTSpatialAnchor XR_MSFT_spatial_anchor} to also be enabled.
- */
-public class MSFTSpatialAnchorPersistence {
-
- /** The extension specification version. */
- public static final int XR_MSFT_spatial_anchor_persistence_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_MSFT_SPATIAL_ANCHOR_PERSISTENCE_EXTENSION_NAME = "XR_MSFT_spatial_anchor_persistence";
-
- /** Extends {@code XrObjectType}. */
- public static final int XR_OBJECT_TYPE_SPATIAL_ANCHOR_STORE_CONNECTION_MSFT = 1000142000;
-
+ */
+public class MSFTSpatialAnchorPersistence {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_spatial_anchor_persistence_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_MSFT_SPATIAL_ANCHOR_PERSISTENCE_EXTENSION_NAME = "XR_MSFT_spatial_anchor_persistence";
+
+ /** Extends {@code XrObjectType}. */
+ public static final int XR_OBJECT_TYPE_SPATIAL_ANCHOR_STORE_CONNECTION_MSFT = 1000142000;
+
/**
* Extends {@code XrStructureType}.
*
@@ -42,11 +42,11 @@ public class MSFTSpatialAnchorPersistence {
* {@link #XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT}
* {@link #XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT}
*
- */
+ */
public static final int
- XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT = 1000142000,
- XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT = 1000142001;
-
+ XR_TYPE_SPATIAL_ANCHOR_PERSISTENCE_INFO_MSFT = 1000142000,
+ XR_TYPE_SPATIAL_ANCHOR_FROM_PERSISTED_ANCHOR_CREATE_INFO_MSFT = 1000142001;
+
/**
* Extends {@code XrResult}.
*
@@ -56,29 +56,29 @@ public class MSFTSpatialAnchorPersistence {
* {@link #XR_ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT}
* {@link #XR_ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT}
*
- */
+ */
public static final int
- XR_ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT = -1000142001,
- XR_ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT = -1000142002;
-
- /** XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT */
- public static final int XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT = 256;
+ XR_ERROR_SPATIAL_ANCHOR_NAME_NOT_FOUND_MSFT = -1000142001,
+ XR_ERROR_SPATIAL_ANCHOR_NAME_INVALID_MSFT = -1000142002;
+
+ /** XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT */
+ public static final int XR_MAX_SPATIAL_ANCHOR_NAME_SIZE_MSFT = 256;
protected MSFTSpatialAnchorPersistence() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrCreateSpatialAnchorStoreConnectionMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSpatialAnchorStoreConnectionMSFT CreateSpatialAnchorStoreConnectionMSFT} */
- public static int nxrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, long spatialAnchorStore) {
- long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorStoreConnectionMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPI(session.address(), spatialAnchorStore, __functionAddress);
- }
-
+ }
+
+ // --- [ xrCreateSpatialAnchorStoreConnectionMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSpatialAnchorStoreConnectionMSFT CreateSpatialAnchorStoreConnectionMSFT} */
+ public static int nxrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, long spatialAnchorStore) {
+ long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorStoreConnectionMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPI(session.address(), spatialAnchorStore, __functionAddress);
+ }
+
/**
* Create a handle to track a connection to the spatial anchor store.
*
@@ -123,17 +123,17 @@ public static int nxrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, l
*
* @param session the {@code XrSession} the anchor was created with.
* @param spatialAnchorStore a pointer to the {@code XrSpatialAnchorStoreConnectionMSFT} handle.
- */
- @NativeType("XrResult")
- public static int xrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, @NativeType("XrSpatialAnchorStoreConnectionMSFT *") PointerBuffer spatialAnchorStore) {
- if (CHECKS) {
- check(spatialAnchorStore, 1);
- }
- return nxrCreateSpatialAnchorStoreConnectionMSFT(session, memAddress(spatialAnchorStore));
- }
-
- // --- [ xrDestroySpatialAnchorStoreConnectionMSFT ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, @NativeType("XrSpatialAnchorStoreConnectionMSFT *") PointerBuffer spatialAnchorStore) {
+ if (CHECKS) {
+ check(spatialAnchorStore, 1);
+ }
+ return nxrCreateSpatialAnchorStoreConnectionMSFT(session, memAddress(spatialAnchorStore));
+ }
+
+ // --- [ xrDestroySpatialAnchorStoreConnectionMSFT ] ---
+
/**
* Destroys the anchor store handle.
*
@@ -174,28 +174,28 @@ public static int xrCreateSpatialAnchorStoreConnectionMSFT(XrSession session, @N
*
*
* @param spatialAnchorStore the {@code XrSpatialAnchorStoreConnectionMSFT} to be destroyed.
- */
- @NativeType("XrResult")
- public static int xrDestroySpatialAnchorStoreConnectionMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore) {
- long __functionAddress = spatialAnchorStore.getCapabilities().xrDestroySpatialAnchorStoreConnectionMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(spatialAnchorStore.address(), __functionAddress);
- }
-
- // --- [ xrPersistSpatialAnchorMSFT ] ---
-
- /** Unsafe version of: {@link #xrPersistSpatialAnchorMSFT PersistSpatialAnchorMSFT} */
- public static int nxrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, long spatialAnchorPersistenceInfo) {
- long __functionAddress = spatialAnchorStore.getCapabilities().xrPersistSpatialAnchorMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrSpatialAnchorPersistenceInfoMSFT.validate(spatialAnchorPersistenceInfo);
- }
- return callPPI(spatialAnchorStore.address(), spatialAnchorPersistenceInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySpatialAnchorStoreConnectionMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore) {
+ long __functionAddress = spatialAnchorStore.getCapabilities().xrDestroySpatialAnchorStoreConnectionMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(spatialAnchorStore.address(), __functionAddress);
+ }
+
+ // --- [ xrPersistSpatialAnchorMSFT ] ---
+
+ /** Unsafe version of: {@link #xrPersistSpatialAnchorMSFT PersistSpatialAnchorMSFT} */
+ public static int nxrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, long spatialAnchorPersistenceInfo) {
+ long __functionAddress = spatialAnchorStore.getCapabilities().xrPersistSpatialAnchorMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrSpatialAnchorPersistenceInfoMSFT.validate(spatialAnchorPersistenceInfo);
+ }
+ return callPPI(spatialAnchorStore.address(), spatialAnchorPersistenceInfo, __functionAddress);
+ }
+
/**
* Persist the spatial anchor in the spatial anchor store.
*
@@ -242,33 +242,33 @@ public static int nxrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT
*
* @param spatialAnchorStore the {@code XrSpatialAnchorStoreConnectionMSFT} with which to persist the {@code spatialAnchor}.
* @param spatialAnchorPersistenceInfo a pointer to {@link XrSpatialAnchorPersistenceInfoMSFT} structure to specify the anchor and its name to persist.
- */
- @NativeType("XrResult")
- public static int xrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, @NativeType("XrSpatialAnchorPersistenceInfoMSFT const *") XrSpatialAnchorPersistenceInfoMSFT spatialAnchorPersistenceInfo) {
- return nxrPersistSpatialAnchorMSFT(spatialAnchorStore, spatialAnchorPersistenceInfo.address());
- }
-
- // --- [ xrEnumeratePersistedSpatialAnchorNamesMSFT ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrPersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, @NativeType("XrSpatialAnchorPersistenceInfoMSFT const *") XrSpatialAnchorPersistenceInfoMSFT spatialAnchorPersistenceInfo) {
+ return nxrPersistSpatialAnchorMSFT(spatialAnchorStore, spatialAnchorPersistenceInfo.address());
+ }
+
+ // --- [ xrEnumeratePersistedSpatialAnchorNamesMSFT ] ---
+
/**
* Unsafe version of: {@link #xrEnumeratePersistedSpatialAnchorNamesMSFT EnumeratePersistedSpatialAnchorNamesMSFT}
*
* @param spatialAnchorNamesCapacityInput the capacity of the {@code spatialAnchorNames} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, int spatialAnchorNamesCapacityInput, long spatialAnchorNamesCountOutput, long persistedAnchorNames) {
- long __functionAddress = spatialAnchorStore.getCapabilities().xrEnumeratePersistedSpatialAnchorNamesMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(spatialAnchorStore.address(), spatialAnchorNamesCapacityInput, spatialAnchorNamesCountOutput, persistedAnchorNames, __functionAddress);
- }
-
+ */
+ public static int nxrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, int spatialAnchorNamesCapacityInput, long spatialAnchorNamesCountOutput, long persistedAnchorNames) {
+ long __functionAddress = spatialAnchorStore.getCapabilities().xrEnumeratePersistedSpatialAnchorNamesMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(spatialAnchorStore.address(), spatialAnchorNamesCapacityInput, spatialAnchorNamesCountOutput, persistedAnchorNames, __functionAddress);
+ }
+
/**
* Enumerate the names of currently persisted spatial anchors in the spatial anchor store.
*
* C Specification
*
- * The application can use the {@link #xrEnumeratePersistedSpatialAnchorNamesMSFT EnumeratePersistedSpatialAnchorNamesMSFT} function to enumerate the names of all spatial anchors currently persisted in the spatial anchor store for this application. This function follows the two-call idiom for filling the {@code spatialAnchorNames}.
+ * The application can use the {@link #xrEnumeratePersistedSpatialAnchorNamesMSFT EnumeratePersistedSpatialAnchorNamesMSFT} function to enumerate the names of all spatial anchors currently persisted in the spatial anchor store for this application. This function follows the two-call idiom for filling the {@code spatialAnchorNames}.
*
*
* XrResult xrEnumeratePersistedSpatialAnchorNamesMSFT(
@@ -313,27 +313,27 @@ public static int nxrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorSto
* @param spatialAnchorStore the {@code XrSpatialAnchorStoreConnectionMSFT} anchor store to perform the enumeration operation on.
* @param spatialAnchorNamesCountOutput filled in by the runtime with the count of anchor names written or the required capacity in the case that {@code spatialAnchorNamesCapacityInput} is insufficient.
* @param persistedAnchorNames a pointer to an array of {@link XrSpatialAnchorPersistenceNameMSFT} structures, but can be {@code NULL} if propertyCapacityInput is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, @Nullable @NativeType("uint32_t *") IntBuffer spatialAnchorNamesCountOutput, @Nullable @NativeType("XrSpatialAnchorPersistenceNameMSFT *") XrSpatialAnchorPersistenceNameMSFT.Buffer persistedAnchorNames) {
- if (CHECKS) {
- checkSafe(spatialAnchorNamesCountOutput, 1);
- }
- return nxrEnumeratePersistedSpatialAnchorNamesMSFT(spatialAnchorStore, remainingSafe(persistedAnchorNames), memAddressSafe(spatialAnchorNamesCountOutput), memAddressSafe(persistedAnchorNames));
- }
-
- // --- [ xrCreateSpatialAnchorFromPersistedNameMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSpatialAnchorFromPersistedNameMSFT CreateSpatialAnchorFromPersistedNameMSFT} */
- public static int nxrCreateSpatialAnchorFromPersistedNameMSFT(XrSession session, long spatialAnchorCreateInfo, long spatialAnchor) {
- long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorFromPersistedNameMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT.validate(spatialAnchorCreateInfo);
- }
- return callPPPI(session.address(), spatialAnchorCreateInfo, spatialAnchor, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumeratePersistedSpatialAnchorNamesMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, @Nullable @NativeType("uint32_t *") IntBuffer spatialAnchorNamesCountOutput, @Nullable @NativeType("XrSpatialAnchorPersistenceNameMSFT *") XrSpatialAnchorPersistenceNameMSFT.Buffer persistedAnchorNames) {
+ if (CHECKS) {
+ checkSafe(spatialAnchorNamesCountOutput, 1);
+ }
+ return nxrEnumeratePersistedSpatialAnchorNamesMSFT(spatialAnchorStore, remainingSafe(persistedAnchorNames), memAddressSafe(spatialAnchorNamesCountOutput), memAddressSafe(persistedAnchorNames));
+ }
+
+ // --- [ xrCreateSpatialAnchorFromPersistedNameMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSpatialAnchorFromPersistedNameMSFT CreateSpatialAnchorFromPersistedNameMSFT} */
+ public static int nxrCreateSpatialAnchorFromPersistedNameMSFT(XrSession session, long spatialAnchorCreateInfo, long spatialAnchor) {
+ long __functionAddress = session.getCapabilities().xrCreateSpatialAnchorFromPersistedNameMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT.validate(spatialAnchorCreateInfo);
+ }
+ return callPPPI(session.address(), spatialAnchorCreateInfo, spatialAnchor, __functionAddress);
+ }
+
/**
* Create a spatial anchor from the spatial anchor store by name.
*
@@ -385,26 +385,26 @@ public static int nxrCreateSpatialAnchorFromPersistedNameMSFT(XrSession session,
* @param session a handle to an {@code XrSession} previously created with {@link XR10#xrCreateSession CreateSession}.
* @param spatialAnchorCreateInfo a pointer to the {@link XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT}.
* @param spatialAnchor a pointer to an {@code XrSpatialAnchorMSFT} handle that will be set by the runtime on successful load.
- */
- @NativeType("XrResult")
- public static int xrCreateSpatialAnchorFromPersistedNameMSFT(XrSession session, @NativeType("XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT const *") XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT spatialAnchorCreateInfo, @NativeType("XrSpatialAnchorMSFT *") PointerBuffer spatialAnchor) {
- if (CHECKS) {
- check(spatialAnchor, 1);
- }
- return nxrCreateSpatialAnchorFromPersistedNameMSFT(session, spatialAnchorCreateInfo.address(), memAddress(spatialAnchor));
- }
-
- // --- [ xrUnpersistSpatialAnchorMSFT ] ---
-
- /** Unsafe version of: {@link #xrUnpersistSpatialAnchorMSFT UnpersistSpatialAnchorMSFT} */
- public static int nxrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, long spatialAnchorPersistenceName) {
- long __functionAddress = spatialAnchorStore.getCapabilities().xrUnpersistSpatialAnchorMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPI(spatialAnchorStore.address(), spatialAnchorPersistenceName, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSpatialAnchorFromPersistedNameMSFT(XrSession session, @NativeType("XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT const *") XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT spatialAnchorCreateInfo, @NativeType("XrSpatialAnchorMSFT *") PointerBuffer spatialAnchor) {
+ if (CHECKS) {
+ check(spatialAnchor, 1);
+ }
+ return nxrCreateSpatialAnchorFromPersistedNameMSFT(session, spatialAnchorCreateInfo.address(), memAddress(spatialAnchor));
+ }
+
+ // --- [ xrUnpersistSpatialAnchorMSFT ] ---
+
+ /** Unsafe version of: {@link #xrUnpersistSpatialAnchorMSFT UnpersistSpatialAnchorMSFT} */
+ public static int nxrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, long spatialAnchorPersistenceName) {
+ long __functionAddress = spatialAnchorStore.getCapabilities().xrUnpersistSpatialAnchorMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPI(spatialAnchorStore.address(), spatialAnchorPersistenceName, __functionAddress);
+ }
+
/**
* Removes an anchor from the store.
*
@@ -452,14 +452,14 @@ public static int nxrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMS
*
* @param spatialAnchorStore an {@code XrSpatialAnchorStoreConnectionMSFT} anchor store to perform the unpersist operation on.
* @param spatialAnchorPersistenceName a pointer to the {@link XrSpatialAnchorPersistenceNameMSFT}.
- */
- @NativeType("XrResult")
- public static int xrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, @NativeType("XrSpatialAnchorPersistenceNameMSFT const *") XrSpatialAnchorPersistenceNameMSFT spatialAnchorPersistenceName) {
- return nxrUnpersistSpatialAnchorMSFT(spatialAnchorStore, spatialAnchorPersistenceName.address());
- }
-
- // --- [ xrClearSpatialAnchorStoreMSFT ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore, @NativeType("XrSpatialAnchorPersistenceNameMSFT const *") XrSpatialAnchorPersistenceNameMSFT spatialAnchorPersistenceName) {
+ return nxrUnpersistSpatialAnchorMSFT(spatialAnchorStore, spatialAnchorPersistenceName.address());
+ }
+
+ // --- [ xrClearSpatialAnchorStoreMSFT ] ---
+
/**
* Clear all spatial anchors from the spatial anchor store.
*
@@ -498,14 +498,14 @@ public static int xrUnpersistSpatialAnchorMSFT(XrSpatialAnchorStoreConnectionMSF
*
*
* @param spatialAnchorStore {@code XrSpatialAnchorStoreConnectionMSFT} to perform the clear operation on.
- */
- @NativeType("XrResult")
- public static int xrClearSpatialAnchorStoreMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore) {
- long __functionAddress = spatialAnchorStore.getCapabilities().xrClearSpatialAnchorStoreMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(spatialAnchorStore.address(), __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrClearSpatialAnchorStoreMSFT(XrSpatialAnchorStoreConnectionMSFT spatialAnchorStore) {
+ long __functionAddress = spatialAnchorStore.getCapabilities().xrClearSpatialAnchorStoreMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(spatialAnchorStore.address(), __functionAddress);
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialGraphBridge.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialGraphBridge.java
index d97ae554a6..1bcb200fbe 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialGraphBridge.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTSpatialGraphBridge.java
@@ -4,36 +4,36 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import org.lwjgl.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_MSFT_spatial_graph_bridge extension.
*
* This extension enables applications to interop between {@code XrSpace} handles and other Windows Mixed Reality device platform libraries or APIs. These libraries represent a spatially tracked point, also known as a "spatial graph node", with a GUID value. This extension enables applications to create {@code XrSpace} handles from spatial graph nodes. Applications can also try to get a spatial graph node from an {@code XrSpace} handle.
- */
-public class MSFTSpatialGraphBridge {
-
- /** The extension specification version. */
- public static final int XR_MSFT_spatial_graph_bridge_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME = "XR_MSFT_spatial_graph_bridge";
-
- /** XR_GUID_SIZE_MSFT */
- public static final int XR_GUID_SIZE_MSFT = 16;
-
- /** Extends {@code XrObjectType}. */
- public static final int XR_OBJECT_TYPE_SPATIAL_GRAPH_NODE_BINDING_MSFT = 1000049000;
-
+ */
+public class MSFTSpatialGraphBridge {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_spatial_graph_bridge_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_MSFT_SPATIAL_GRAPH_BRIDGE_EXTENSION_NAME = "XR_MSFT_spatial_graph_bridge";
+
+ /** XR_GUID_SIZE_MSFT */
+ public static final int XR_GUID_SIZE_MSFT = 16;
+
+ /** Extends {@code XrObjectType}. */
+ public static final int XR_OBJECT_TYPE_SPATIAL_GRAPH_NODE_BINDING_MSFT = 1000049000;
+
/**
* Extends {@code XrStructureType}.
*
@@ -45,13 +45,13 @@ public class MSFTSpatialGraphBridge {
* {@link #XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT}
* {@link #XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT}
*
- */
+ */
public static final int
- XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT = 1000049000,
- XR_TYPE_SPATIAL_GRAPH_STATIC_NODE_BINDING_CREATE_INFO_MSFT = 1000049001,
- XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT = 1000049002,
- XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT = 1000049003;
-
+ XR_TYPE_SPATIAL_GRAPH_NODE_SPACE_CREATE_INFO_MSFT = 1000049000,
+ XR_TYPE_SPATIAL_GRAPH_STATIC_NODE_BINDING_CREATE_INFO_MSFT = 1000049001,
+ XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_GET_INFO_MSFT = 1000049002,
+ XR_TYPE_SPATIAL_GRAPH_NODE_BINDING_PROPERTIES_MSFT = 1000049003;
+
/**
* XrSpatialGraphNodeTypeMSFT - The type of spatial graph node.
*
@@ -66,26 +66,26 @@ public class MSFTSpatialGraphBridge {
* See Also
*
* {@link XrSpatialGraphNodeSpaceCreateInfoMSFT}, {@link #xrCreateSpatialGraphNodeSpaceMSFT CreateSpatialGraphNodeSpaceMSFT}
- */
+ */
public static final int
- XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT = 1,
- XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT = 2;
+ XR_SPATIAL_GRAPH_NODE_TYPE_STATIC_MSFT = 1,
+ XR_SPATIAL_GRAPH_NODE_TYPE_DYNAMIC_MSFT = 2;
protected MSFTSpatialGraphBridge() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrCreateSpatialGraphNodeSpaceMSFT ] ---
-
- /** Unsafe version of: {@link #xrCreateSpatialGraphNodeSpaceMSFT CreateSpatialGraphNodeSpaceMSFT} */
- public static int nxrCreateSpatialGraphNodeSpaceMSFT(XrSession session, long createInfo, long space) {
- long __functionAddress = session.getCapabilities().xrCreateSpatialGraphNodeSpaceMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(session.address(), createInfo, space, __functionAddress);
- }
+ }
+ // --- [ xrCreateSpatialGraphNodeSpaceMSFT ] ---
+
+ /** Unsafe version of: {@link #xrCreateSpatialGraphNodeSpaceMSFT CreateSpatialGraphNodeSpaceMSFT} */
+ public static int nxrCreateSpatialGraphNodeSpaceMSFT(XrSession session, long createInfo, long space) {
+ long __functionAddress = session.getCapabilities().xrCreateSpatialGraphNodeSpaceMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(session.address(), createInfo, space, __functionAddress);
+ }
+
/**
* Create an {@code XrSpace} from a spatial graph node.
*
@@ -136,33 +136,33 @@ public static int nxrCreateSpatialGraphNodeSpaceMSFT(XrSession session, long cre
* @param session the {@code XrSession} which will use the created space.
* @param createInfo an {@link XrSpatialGraphNodeSpaceCreateInfoMSFT} specifying the space to be created.
* @param space the returned {@code XrSpace} handle for the given spatial node ID.
- */
- @NativeType("XrResult")
- public static int xrCreateSpatialGraphNodeSpaceMSFT(XrSession session, @NativeType("XrSpatialGraphNodeSpaceCreateInfoMSFT const *") XrSpatialGraphNodeSpaceCreateInfoMSFT createInfo, @NativeType("XrSpace *") PointerBuffer space) {
- if (CHECKS) {
- check(space, 1);
- }
- return nxrCreateSpatialGraphNodeSpaceMSFT(session, createInfo.address(), memAddress(space));
- }
-
- // --- [ xrTryCreateSpatialGraphStaticNodeBindingMSFT ] ---
-
- /** Unsafe version of: {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT} */
- public static int nxrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, long createInfo, long nodeBinding) {
- long __functionAddress = session.getCapabilities().xrTryCreateSpatialGraphStaticNodeBindingMSFT;
- if (CHECKS) {
- check(__functionAddress);
- XrSpatialGraphStaticNodeBindingCreateInfoMSFT.validate(createInfo);
- }
- return callPPPI(session.address(), createInfo, nodeBinding, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSpatialGraphNodeSpaceMSFT(XrSession session, @NativeType("XrSpatialGraphNodeSpaceCreateInfoMSFT const *") XrSpatialGraphNodeSpaceCreateInfoMSFT createInfo, @NativeType("XrSpace *") PointerBuffer space) {
+ if (CHECKS) {
+ check(space, 1);
+ }
+ return nxrCreateSpatialGraphNodeSpaceMSFT(session, createInfo.address(), memAddress(space));
+ }
+ // --- [ xrTryCreateSpatialGraphStaticNodeBindingMSFT ] ---
+
+ /** Unsafe version of: {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT} */
+ public static int nxrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, long createInfo, long nodeBinding) {
+ long __functionAddress = session.getCapabilities().xrTryCreateSpatialGraphStaticNodeBindingMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ XrSpatialGraphStaticNodeBindingCreateInfoMSFT.validate(createInfo);
+ }
+ return callPPPI(session.address(), createInfo, nodeBinding, __functionAddress);
+ }
+
/**
* Try create spatial graph static node binding.
*
* C Specification
*
- * The {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT} function tries to create a binding to the best spatial graph static node relative to the given location and returns an {@code XrSpatialGraphNodeBindingMSFT} handle.
+ * The {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT} function tries to create a spatial graph static node binding nearest to the given location and returns an {@code XrSpatialGraphNodeBindingMSFT} handle.
*
*
* XrResult xrTryCreateSpatialGraphStaticNodeBindingMSFT(
@@ -174,8 +174,6 @@ public static int nxrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession sessio
*
* The runtime may return {@link XR10#XR_SUCCESS SUCCESS} and set {@code nodeBinding} to {@link XR10#XR_NULL_HANDLE NULL_HANDLE} if it is unable to create a spatial graph static node binding. This may happen when the given {@code XrSpace} cannot be properly tracked at the moment. The application can retry creating the {@code XrSpatialGraphNodeBindingMSFT} handle again after a reasonable period of time when tracking is regained.
*
- * The {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT} function may be a slow operation and therefore should be invoked from a non-timing critical thread.
- *
* Valid Usage (Implicit)
*
*
@@ -215,17 +213,17 @@ public static int nxrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession sessio
* @param session the specified {@code XrSession}.
* @param createInfo the {@link XrSpatialGraphStaticNodeBindingCreateInfoMSFT} input structure.
* @param nodeBinding the {@code XrSpatialGraphNodeBindingMSFT} output structure.
- */
- @NativeType("XrResult")
- public static int xrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, @NativeType("XrSpatialGraphStaticNodeBindingCreateInfoMSFT const *") XrSpatialGraphStaticNodeBindingCreateInfoMSFT createInfo, @NativeType("XrSpatialGraphNodeBindingMSFT *") PointerBuffer nodeBinding) {
- if (CHECKS) {
- check(nodeBinding, 1);
- }
- return nxrTryCreateSpatialGraphStaticNodeBindingMSFT(session, createInfo.address(), memAddress(nodeBinding));
- }
-
- // --- [ xrDestroySpatialGraphNodeBindingMSFT ] ---
+ */
+ @NativeType("XrResult")
+ public static int xrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session, @NativeType("XrSpatialGraphStaticNodeBindingCreateInfoMSFT const *") XrSpatialGraphStaticNodeBindingCreateInfoMSFT createInfo, @NativeType("XrSpatialGraphNodeBindingMSFT *") PointerBuffer nodeBinding) {
+ if (CHECKS) {
+ check(nodeBinding, 1);
+ }
+ return nxrTryCreateSpatialGraphStaticNodeBindingMSFT(session, createInfo.address(), memAddress(nodeBinding));
+ }
+ // --- [ xrDestroySpatialGraphNodeBindingMSFT ] ---
+
/**
* Destroy a spatial graph node handle.
*
@@ -269,27 +267,27 @@ public static int xrTryCreateSpatialGraphStaticNodeBindingMSFT(XrSession session
* {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT}
*
* @param nodeBinding an {@code XrSpatialGraphNodeBindingMSFT} previously created by {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT}.
- */
- @NativeType("XrResult")
- public static int xrDestroySpatialGraphNodeBindingMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding) {
- long __functionAddress = nodeBinding.getCapabilities().xrDestroySpatialGraphNodeBindingMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(nodeBinding.address(), __functionAddress);
- }
-
- // --- [ xrGetSpatialGraphNodeBindingPropertiesMSFT ] ---
-
- /** Unsafe version of: {@link #xrGetSpatialGraphNodeBindingPropertiesMSFT GetSpatialGraphNodeBindingPropertiesMSFT} */
- public static int nxrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, long getInfo, long properties) {
- long __functionAddress = nodeBinding.getCapabilities().xrGetSpatialGraphNodeBindingPropertiesMSFT;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(nodeBinding.address(), getInfo, properties, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySpatialGraphNodeBindingMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding) {
+ long __functionAddress = nodeBinding.getCapabilities().xrDestroySpatialGraphNodeBindingMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(nodeBinding.address(), __functionAddress);
+ }
+ // --- [ xrGetSpatialGraphNodeBindingPropertiesMSFT ] ---
+
+ /** Unsafe version of: {@link #xrGetSpatialGraphNodeBindingPropertiesMSFT GetSpatialGraphNodeBindingPropertiesMSFT} */
+ public static int nxrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, long getInfo, long properties) {
+ long __functionAddress = nodeBinding.getCapabilities().xrGetSpatialGraphNodeBindingPropertiesMSFT;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(nodeBinding.address(), getInfo, properties, __functionAddress);
+ }
+
/**
* Destroy a spatial graph node handle.
*
@@ -339,10 +337,10 @@ public static int nxrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNode
* @param nodeBinding an {@code XrSpatialGraphNodeBindingMSFT} previously created by {@link #xrTryCreateSpatialGraphStaticNodeBindingMSFT TryCreateSpatialGraphStaticNodeBindingMSFT}.
* @param getInfo a pointer to an {@link XrSpatialGraphNodeBindingPropertiesGetInfoMSFT} input structure.
* @param properties a pointer to an {@link XrSpatialGraphNodeBindingPropertiesMSFT} output structure.
- */
- @NativeType("XrResult")
- public static int xrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, @Nullable @NativeType("XrSpatialGraphNodeBindingPropertiesGetInfoMSFT const *") XrSpatialGraphNodeBindingPropertiesGetInfoMSFT getInfo, @NativeType("XrSpatialGraphNodeBindingPropertiesMSFT *") XrSpatialGraphNodeBindingPropertiesMSFT properties) {
- return nxrGetSpatialGraphNodeBindingPropertiesMSFT(nodeBinding, memAddressSafe(getInfo), properties.address());
- }
+ */
+ @NativeType("XrResult")
+ public static int xrGetSpatialGraphNodeBindingPropertiesMSFT(XrSpatialGraphNodeBindingMSFT nodeBinding, @Nullable @NativeType("XrSpatialGraphNodeBindingPropertiesGetInfoMSFT const *") XrSpatialGraphNodeBindingPropertiesGetInfoMSFT getInfo, @NativeType("XrSpatialGraphNodeBindingPropertiesMSFT *") XrSpatialGraphNodeBindingPropertiesMSFT properties) {
+ return nxrGetSpatialGraphNodeBindingPropertiesMSFT(nodeBinding, memAddressSafe(getInfo), properties.address());
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTUnboundedReferenceSpace.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTUnboundedReferenceSpace.java
index d80cdee65e..53d97f2f6f 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTUnboundedReferenceSpace.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/MSFTUnboundedReferenceSpace.java
@@ -4,7 +4,7 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_MSFT_unbounded_reference_space extension.
*
@@ -25,18 +25,18 @@
* If the viewer moves far enough away from the origin of an {@code UNBOUNDED_MSFT} reference space that floating point error would introduce noticeable error when locating the viewer within that space, the runtime may recenter the space’s origin to a new location closer to the viewer. If such recentering occurs, the runtime must queue the {@link XrEventDataReferenceSpaceChangePending} event with {@code poseValid} set to true.
*
* Runtimes must support the {@code UNBOUNDED_MSFT} reference space when this extension is enabled.
- */
-public final class MSFTUnboundedReferenceSpace {
-
- /** The extension specification version. */
- public static final int XR_MSFT_unbounded_reference_space_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_MSFT_UNBOUNDED_REFERENCE_SPACE_EXTENSION_NAME = "XR_MSFT_unbounded_reference_space";
-
- /** Extends {@code XrReferenceSpaceType}. */
- public static final int XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT = 1000038000;
+ */
+public final class MSFTUnboundedReferenceSpace {
+
+ /** The extension specification version. */
+ public static final int XR_MSFT_unbounded_reference_space_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_MSFT_UNBOUNDED_REFERENCE_SPACE_EXTENSION_NAME = "XR_MSFT_unbounded_reference_space";
+
+ /** Extends {@code XrReferenceSpaceType}. */
+ public static final int XR_REFERENCE_SPACE_TYPE_UNBOUNDED_MSFT = 1000038000;
- private MSFTUnboundedReferenceSpace() {}
+ private MSFTUnboundedReferenceSpace() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSAudioDeviceGuid.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSAudioDeviceGuid.java
index 475fa8d6c5..1077f79bc8 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSAudioDeviceGuid.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSAudioDeviceGuid.java
@@ -4,48 +4,48 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import java.nio.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_OCULUS_audio_device_guid extension.
*
* This extension enables the querying of audio device information associated with an OpenXR instance.
*
* On Windows, there may be multiple audio devices available on the system. This extensions allows applications to query the runtime for the appropriate audio devices for the active HMD.
- */
-public class OCULUSAudioDeviceGuid {
-
- /** The extension specification version. */
- public static final int XR_OCULUS_audio_device_guid_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME = "XR_OCULUS_audio_device_guid";
-
- /** XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS */
- public static final int XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS = 128;
+ */
+public class OCULUSAudioDeviceGuid {
+
+ /** The extension specification version. */
+ public static final int XR_OCULUS_audio_device_guid_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_OCULUS_AUDIO_DEVICE_GUID_EXTENSION_NAME = "XR_OCULUS_audio_device_guid";
+
+ /** XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS */
+ public static final int XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS = 128;
protected OCULUSAudioDeviceGuid() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrGetAudioOutputDeviceGuidOculus ] ---
-
- /** Unsafe version of: {@link #xrGetAudioOutputDeviceGuidOculus GetAudioOutputDeviceGuidOculus} */
- public static int nxrGetAudioOutputDeviceGuidOculus(XrInstance instance, long buffer) {
- long __functionAddress = instance.getCapabilities().xrGetAudioOutputDeviceGuidOculus;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPI(instance.address(), buffer, __functionAddress);
- }
+ }
+ // --- [ xrGetAudioOutputDeviceGuidOculus ] ---
+
+ /** Unsafe version of: {@link #xrGetAudioOutputDeviceGuidOculus GetAudioOutputDeviceGuidOculus} */
+ public static int nxrGetAudioOutputDeviceGuidOculus(XrInstance instance, long buffer) {
+ long __functionAddress = instance.getCapabilities().xrGetAudioOutputDeviceGuidOculus;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPI(instance.address(), buffer, __functionAddress);
+ }
+
/**
* Query the GUID for the active audio output device.
*
@@ -87,27 +87,27 @@ public static int nxrGetAudioOutputDeviceGuidOculus(XrInstance instance, long bu
* {@link #xrGetAudioInputDeviceGuidOculus GetAudioInputDeviceGuidOculus}
*
* @param instance the {@code XrInstance} to query the audio device state in.
- * @param buffer a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.
- */
- @NativeType("XrResult")
- public static int xrGetAudioOutputDeviceGuidOculus(XrInstance instance, @NativeType("wchar_t *") ByteBuffer buffer) {
- if (CHECKS) {
- check(buffer, XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS);
- }
- return nxrGetAudioOutputDeviceGuidOculus(instance, memAddress(buffer));
- }
-
- // --- [ xrGetAudioInputDeviceGuidOculus ] ---
-
- /** Unsafe version of: {@link #xrGetAudioInputDeviceGuidOculus GetAudioInputDeviceGuidOculus} */
- public static int nxrGetAudioInputDeviceGuidOculus(XrInstance instance, long buffer) {
- long __functionAddress = instance.getCapabilities().xrGetAudioInputDeviceGuidOculus;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPI(instance.address(), buffer, __functionAddress);
- }
+ * @param buffer a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.
+ */
+ @NativeType("XrResult")
+ public static int xrGetAudioOutputDeviceGuidOculus(XrInstance instance, @NativeType("wchar_t *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(buffer, XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS);
+ }
+ return nxrGetAudioOutputDeviceGuidOculus(instance, memAddress(buffer));
+ }
+ // --- [ xrGetAudioInputDeviceGuidOculus ] ---
+
+ /** Unsafe version of: {@link #xrGetAudioInputDeviceGuidOculus GetAudioInputDeviceGuidOculus} */
+ public static int nxrGetAudioInputDeviceGuidOculus(XrInstance instance, long buffer) {
+ long __functionAddress = instance.getCapabilities().xrGetAudioInputDeviceGuidOculus;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPI(instance.address(), buffer, __functionAddress);
+ }
+
/**
* Query the GUID for the active audio input device.
*
@@ -149,14 +149,14 @@ public static int nxrGetAudioInputDeviceGuidOculus(XrInstance instance, long buf
* {@link #xrGetAudioOutputDeviceGuidOculus GetAudioOutputDeviceGuidOculus}
*
* @param instance the {@code XrInstance} to query the audio device state in.
- * @param buffer a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.
- */
- @NativeType("XrResult")
- public static int xrGetAudioInputDeviceGuidOculus(XrInstance instance, @NativeType("wchar_t *") ByteBuffer buffer) {
- if (CHECKS) {
- check(buffer, XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS);
- }
- return nxrGetAudioInputDeviceGuidOculus(instance, memAddress(buffer));
- }
+ * @param buffer a fixed size buffer which will contain the audio device GUID. The format of this data matches the IMMDevice::GetId API.
+ */
+ @NativeType("XrResult")
+ public static int xrGetAudioInputDeviceGuidOculus(XrInstance instance, @NativeType("wchar_t *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(buffer, XR_MAX_AUDIO_DEVICE_STR_SIZE_OCULUS);
+ }
+ return nxrGetAudioInputDeviceGuidOculus(instance, memAddress(buffer));
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSExternalCamera.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSExternalCamera.java
index 1f09a3b90c..92b34f3bac 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSExternalCamera.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OCULUSExternalCamera.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_OCULUS_external_camera extension.
*
@@ -29,21 +29,21 @@
* - Camera extrinsics are everything external to the camera: relative pose, attached to, etc.
* - We do not expect the camera intrinsics to change frequently. We expect the camera extrinsics to change frequently.
*
- */
-public class OCULUSExternalCamera {
-
- /** The extension specification version. */
- public static final int XR_OCULUS_external_camera_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_OCULUS_EXTERNAL_CAMERA_EXTENSION_NAME = "XR_OCULUS_external_camera";
-
- /** Extends {@code XrStructureType}. */
- public static final int XR_TYPE_EXTERNAL_CAMERA_OCULUS = 1000226000;
-
- /** XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS */
- public static final int XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS = 32;
-
+ */
+public class OCULUSExternalCamera {
+
+ /** The extension specification version. */
+ public static final int XR_OCULUS_external_camera_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_OCULUS_EXTERNAL_CAMERA_EXTENSION_NAME = "XR_OCULUS_external_camera";
+
+ /** Extends {@code XrStructureType}. */
+ public static final int XR_TYPE_EXTERNAL_CAMERA_OCULUS = 1000226000;
+
+ /** XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS */
+ public static final int XR_MAX_EXTERNAL_CAMERA_NAME_SIZE_OCULUS = 32;
+
/**
* XrExternalCameraAttachedToDeviceOCULUS - XrExternalCameraAttachedToDeviceOCULUS
*
@@ -62,13 +62,13 @@ public class OCULUSExternalCamera {
* See Also
*
* {@link XrExternalCameraExtrinsicsOCULUS}
- */
+ */
public static final int
- XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_NONE_OCULUS = 0,
- XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_HMD_OCULUS = 1,
- XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_LTOUCH_OCULUS = 2,
- XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_RTOUCH_OCULUS = 3;
-
+ XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_NONE_OCULUS = 0,
+ XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_HMD_OCULUS = 1,
+ XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_LTOUCH_OCULUS = 2,
+ XR_EXTERNAL_CAMERA_ATTACHED_TO_DEVICE_RTOUCH_OCULUS = 3;
+
/**
* XrExternalCameraStatusFlagBitsOCULUS - XrExternalCameraStatusFlagBitsOCULUS
*
@@ -81,33 +81,33 @@ public class OCULUSExternalCamera {
* {@link #XR_EXTERNAL_CAMERA_STATUS_CALIBRATED_BIT_OCULUS EXTERNAL_CAMERA_STATUS_CALIBRATED_BIT_OCULUS} — External camera has tried and passed calibration
* {@link #XR_EXTERNAL_CAMERA_STATUS_CAPTURING_BIT_OCULUS EXTERNAL_CAMERA_STATUS_CAPTURING_BIT_OCULUS} — External camera is capturing
*
- */
+ */
public static final int
- XR_EXTERNAL_CAMERA_STATUS_CONNECTED_BIT_OCULUS = 0x1,
- XR_EXTERNAL_CAMERA_STATUS_CALIBRATING_BIT_OCULUS = 0x2,
- XR_EXTERNAL_CAMERA_STATUS_CALIBRATION_FAILED_BIT_OCULUS = 0x4,
- XR_EXTERNAL_CAMERA_STATUS_CALIBRATED_BIT_OCULUS = 0x8,
- XR_EXTERNAL_CAMERA_STATUS_CAPTURING_BIT_OCULUS = 0x10;
+ XR_EXTERNAL_CAMERA_STATUS_CONNECTED_BIT_OCULUS = 0x1,
+ XR_EXTERNAL_CAMERA_STATUS_CALIBRATING_BIT_OCULUS = 0x2,
+ XR_EXTERNAL_CAMERA_STATUS_CALIBRATION_FAILED_BIT_OCULUS = 0x4,
+ XR_EXTERNAL_CAMERA_STATUS_CALIBRATED_BIT_OCULUS = 0x8,
+ XR_EXTERNAL_CAMERA_STATUS_CAPTURING_BIT_OCULUS = 0x10;
protected OCULUSExternalCamera() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrEnumerateExternalCamerasOCULUS ] ---
+ }
+ // --- [ xrEnumerateExternalCamerasOCULUS ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateExternalCamerasOCULUS EnumerateExternalCamerasOCULUS}
*
* @param cameraCapacityInput the capacity of the {@code cameras} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateExternalCamerasOCULUS(XrSession session, int cameraCapacityInput, long cameraCountOutput, long cameras) {
- long __functionAddress = session.getCapabilities().xrEnumerateExternalCamerasOCULUS;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(session.address(), cameraCapacityInput, cameraCountOutput, cameras, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateExternalCamerasOCULUS(XrSession session, int cameraCapacityInput, long cameraCountOutput, long cameras) {
+ long __functionAddress = session.getCapabilities().xrEnumerateExternalCamerasOCULUS;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(session.address(), cameraCapacityInput, cameraCountOutput, cameras, __functionAddress);
+ }
+
/**
* Enumerates all the external cameras that are supported by the runtime.
*
@@ -159,13 +159,13 @@ public static int nxrEnumerateExternalCamerasOCULUS(XrSession session, int camer
* @param session the {@code XrSession} to query the external cameras in
* @param cameraCountOutput filled in by the runtime with the count of {@code cameras} written or the required capacity in the case that {@code cameraCapacityInput} is insufficient.
* @param cameras an array of {@link XrExternalCameraOCULUS} filled in by the runtime which contains all the available external cameras, but can be {@code NULL} if {@code cameraCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateExternalCamerasOCULUS(XrSession session, @NativeType("uint32_t *") IntBuffer cameraCountOutput, @Nullable @NativeType("XrExternalCameraOCULUS *") XrExternalCameraOCULUS.Buffer cameras) {
- if (CHECKS) {
- check(cameraCountOutput, 1);
- }
- return nxrEnumerateExternalCamerasOCULUS(session, remainingSafe(cameras), memAddress(cameraCountOutput), memAddressSafe(cameras));
- }
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateExternalCamerasOCULUS(XrSession session, @NativeType("uint32_t *") IntBuffer cameraCountOutput, @Nullable @NativeType("XrExternalCameraOCULUS *") XrExternalCameraOCULUS.Buffer cameras) {
+ if (CHECKS) {
+ check(cameraCountOutput, 1);
+ }
+ return nxrEnumerateExternalCamerasOCULUS(session, remainingSafe(cameras), memAddress(cameraCountOutput), memAddressSafe(cameras));
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OPPOControllerInteraction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OPPOControllerInteraction.java
index 2eedb7d5b0..e8b17d191b 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OPPOControllerInteraction.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/OPPOControllerInteraction.java
@@ -4,20 +4,20 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_OPPO_controller_interaction extension.
*
* This extension defines a new interaction profile for the OPPO Controller, including but not limited to OPPO MR Glasses Controller.
- */
-public final class OPPOControllerInteraction {
-
- /** The extension specification version. */
- public static final int XR_OPPO_controller_interaction_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_OPPO_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_OPPO_controller_interaction";
+ */
+public final class OPPOControllerInteraction {
+
+ /** The extension specification version. */
+ public static final int XR_OPPO_controller_interaction_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_OPPO_CONTROLLER_INTERACTION_EXTENSION_NAME = "XR_OPPO_controller_interaction";
- private OPPOControllerInteraction() {}
+ private OPPOControllerInteraction() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/QCOMTrackingOptimizationSettings.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/QCOMTrackingOptimizationSettings.java
index e9be581ca3..a91ba0e4ab 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/QCOMTrackingOptimizationSettings.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/QCOMTrackingOptimizationSettings.java
@@ -4,12 +4,12 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+
/**
* The XR_QCOM_tracking_optimization_settings extension.
*
@@ -20,18 +20,18 @@
* This allows the application to tailor the tracking algorithms to specific use-cases and scene-scales in order to provide the best experience possible.
*
* Summary: provide domain hints to the run-time about which parameters to optimize tracking for.
- */
-public class QCOMTrackingOptimizationSettings {
-
- /** The extension specification version. */
- public static final int XR_QCOM_tracking_optimization_settings_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_QCOM_TRACKING_OPTIMIZATION_SETTINGS_EXTENSION_NAME = "XR_QCOM_tracking_optimization_settings";
-
- /** Extends {@code XrResult}. */
- public static final int XR_ERROR_HINT_ALREADY_SET_QCOM = -1000306000;
-
+ */
+public class QCOMTrackingOptimizationSettings {
+
+ /** The extension specification version. */
+ public static final int XR_QCOM_tracking_optimization_settings_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_QCOM_TRACKING_OPTIMIZATION_SETTINGS_EXTENSION_NAME = "XR_QCOM_tracking_optimization_settings";
+
+ /** Extends {@code XrResult}. */
+ public static final int XR_ERROR_HINT_ALREADY_SET_QCOM = -1000306000;
+
/**
* XrTrackingOptimizationSettingsDomainQCOM - Domains to apply tracking optimization hints
*
@@ -44,9 +44,9 @@ public class QCOMTrackingOptimizationSettings {
* See Also
*
* {@link #xrSetTrackingOptimizationSettingsHintQCOM SetTrackingOptimizationSettingsHintQCOM}
- */
- public static final int XR_TRACKING_OPTIMIZATION_SETTINGS_DOMAIN_ALL_QCOM = 1;
-
+ */
+ public static final int XR_TRACKING_OPTIMIZATION_SETTINGS_DOMAIN_ALL_QCOM = 1;
+
/**
* XrTrackingOptimizationSettingsHintQCOM - Hints for prioritizing different tracking goals
*
@@ -63,20 +63,20 @@ public class QCOMTrackingOptimizationSettings {
* See Also
*
* {@link #xrSetTrackingOptimizationSettingsHintQCOM SetTrackingOptimizationSettingsHintQCOM}
- */
+ */
public static final int
- XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_NONE_QCOM = 0,
- XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORIZATION_QCOM = 1,
- XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORIZATION_QCOM = 2,
- XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORIZATION_QCOM = 3,
- XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORIZATION_QCOM = 4;
+ XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_NONE_QCOM = 0,
+ XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LONG_RANGE_PRIORIZATION_QCOM = 1,
+ XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_CLOSE_RANGE_PRIORIZATION_QCOM = 2,
+ XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_LOW_POWER_PRIORIZATION_QCOM = 3,
+ XR_TRACKING_OPTIMIZATION_SETTINGS_HINT_HIGH_POWER_PRIORIZATION_QCOM = 4;
protected QCOMTrackingOptimizationSettings() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrSetTrackingOptimizationSettingsHintQCOM ] ---
+ }
+ // --- [ xrSetTrackingOptimizationSettingsHintQCOM ] ---
+
/**
* Submit a tracking optimization hint.
*
@@ -132,14 +132,14 @@ protected QCOMTrackingOptimizationSettings() {
* @param session a valid {@code XrSession} handle.
* @param domain the tracking domain for which the hint is applied
* @param hint the hint to be applied
- */
- @NativeType("XrResult")
- public static int xrSetTrackingOptimizationSettingsHintQCOM(XrSession session, @NativeType("XrTrackingOptimizationSettingsDomainQCOM") int domain, @NativeType("XrTrackingOptimizationSettingsHintQCOM") int hint) {
- long __functionAddress = session.getCapabilities().xrSetTrackingOptimizationSettingsHintQCOM;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(session.address(), domain, hint, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrSetTrackingOptimizationSettingsHintQCOM(XrSession session, @NativeType("XrTrackingOptimizationSettingsDomainQCOM") int domain, @NativeType("XrTrackingOptimizationSettingsHintQCOM") int hint) {
+ long __functionAddress = session.getCapabilities().xrSetTrackingOptimizationSettingsHintQCOM;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(session.address(), domain, hint, __functionAddress);
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ULTRALEAPHandTrackingForearm.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ULTRALEAPHandTrackingForearm.java
index 4c4a2a0963..d3a3971f8b 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ULTRALEAPHandTrackingForearm.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/ULTRALEAPHandTrackingForearm.java
@@ -4,25 +4,25 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_ULTRALEAP_hand_tracking_forearm extension.
*
* This extension augments the {@link EXTHandTracking XR_EXT_hand_tracking} extension to enable applications to request the default set of 26 hand joints, with the addition a joint representing the user’s elbow.
*
* The application must also enable the {@link EXTHandTracking XR_EXT_hand_tracking} extension in order to use this extension.
- */
-public final class ULTRALEAPHandTrackingForearm {
-
- /** The extension specification version. */
- public static final int XR_ULTRALEAP_hand_tracking_forearm_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_ULTRALEAP_HAND_TRACKING_FOREARM_EXTENSION_NAME = "XR_ULTRALEAP_hand_tracking_forearm";
-
- /** Extends {@code XrHandJointSetEXT}. */
- public static final int XR_HAND_JOINT_SET_HAND_WITH_FOREARM_ULTRALEAP = 1000149000;
-
+ */
+public final class ULTRALEAPHandTrackingForearm {
+
+ /** The extension specification version. */
+ public static final int XR_ULTRALEAP_hand_tracking_forearm_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_ULTRALEAP_HAND_TRACKING_FOREARM_EXTENSION_NAME = "XR_ULTRALEAP_hand_tracking_forearm";
+
+ /** Extends {@code XrHandJointSetEXT}. */
+ public static final int XR_HAND_JOINT_SET_HAND_WITH_FOREARM_ULTRALEAP = 1000149000;
+
/**
* XrHandForearmJointULTRALEAP - The name of hand joints that can be tracked including the elbow
*
@@ -64,36 +64,36 @@ public final class ULTRALEAPHandTrackingForearm {
* {@link #XR_HAND_FOREARM_JOINT_LITTLE_TIP_ULTRALEAP HAND_FOREARM_JOINT_LITTLE_TIP_ULTRALEAP}
* {@link #XR_HAND_FOREARM_JOINT_ELBOW_ULTRALEAP HAND_FOREARM_JOINT_ELBOW_ULTRALEAP}
*
- */
+ */
public static final int
- XR_HAND_FOREARM_JOINT_PALM_ULTRALEAP = 0,
- XR_HAND_FOREARM_JOINT_WRIST_ULTRALEAP = 1,
- XR_HAND_FOREARM_JOINT_THUMB_METACARPAL_ULTRALEAP = 2,
- XR_HAND_FOREARM_JOINT_THUMB_PROXIMAL_ULTRALEAP = 3,
- XR_HAND_FOREARM_JOINT_THUMB_DISTAL_ULTRALEAP = 4,
- XR_HAND_FOREARM_JOINT_THUMB_TIP_ULTRALEAP = 5,
- XR_HAND_FOREARM_JOINT_INDEX_METACARPAL_ULTRALEAP = 6,
- XR_HAND_FOREARM_JOINT_INDEX_PROXIMAL_ULTRALEAP = 7,
- XR_HAND_FOREARM_JOINT_INDEX_INTERMEDIATE_ULTRALEAP = 8,
- XR_HAND_FOREARM_JOINT_INDEX_DISTAL_ULTRALEAP = 9,
- XR_HAND_FOREARM_JOINT_INDEX_TIP_ULTRALEAP = 10,
- XR_HAND_FOREARM_JOINT_MIDDLE_METACARPAL_ULTRALEAP = 11,
- XR_HAND_FOREARM_JOINT_MIDDLE_PROXIMAL_ULTRALEAP = 12,
- XR_HAND_FOREARM_JOINT_MIDDLE_INTERMEDIATE_ULTRALEAP = 13,
- XR_HAND_FOREARM_JOINT_MIDDLE_DISTAL_ULTRALEAP = 14,
- XR_HAND_FOREARM_JOINT_MIDDLE_TIP_ULTRALEAP = 15,
- XR_HAND_FOREARM_JOINT_RING_METACARPAL_ULTRALEAP = 16,
- XR_HAND_FOREARM_JOINT_RING_PROXIMAL_ULTRALEAP = 17,
- XR_HAND_FOREARM_JOINT_RING_INTERMEDIATE_ULTRALEAP = 18,
- XR_HAND_FOREARM_JOINT_RING_DISTAL_ULTRALEAP = 19,
- XR_HAND_FOREARM_JOINT_RING_TIP_ULTRALEAP = 20,
- XR_HAND_FOREARM_JOINT_LITTLE_METACARPAL_ULTRALEAP = 21,
- XR_HAND_FOREARM_JOINT_LITTLE_PROXIMAL_ULTRALEAP = 22,
- XR_HAND_FOREARM_JOINT_LITTLE_INTERMEDIATE_ULTRALEAP = 23,
- XR_HAND_FOREARM_JOINT_LITTLE_DISTAL_ULTRALEAP = 24,
- XR_HAND_FOREARM_JOINT_LITTLE_TIP_ULTRALEAP = 25,
- XR_HAND_FOREARM_JOINT_ELBOW_ULTRALEAP = 26;
+ XR_HAND_FOREARM_JOINT_PALM_ULTRALEAP = 0,
+ XR_HAND_FOREARM_JOINT_WRIST_ULTRALEAP = 1,
+ XR_HAND_FOREARM_JOINT_THUMB_METACARPAL_ULTRALEAP = 2,
+ XR_HAND_FOREARM_JOINT_THUMB_PROXIMAL_ULTRALEAP = 3,
+ XR_HAND_FOREARM_JOINT_THUMB_DISTAL_ULTRALEAP = 4,
+ XR_HAND_FOREARM_JOINT_THUMB_TIP_ULTRALEAP = 5,
+ XR_HAND_FOREARM_JOINT_INDEX_METACARPAL_ULTRALEAP = 6,
+ XR_HAND_FOREARM_JOINT_INDEX_PROXIMAL_ULTRALEAP = 7,
+ XR_HAND_FOREARM_JOINT_INDEX_INTERMEDIATE_ULTRALEAP = 8,
+ XR_HAND_FOREARM_JOINT_INDEX_DISTAL_ULTRALEAP = 9,
+ XR_HAND_FOREARM_JOINT_INDEX_TIP_ULTRALEAP = 10,
+ XR_HAND_FOREARM_JOINT_MIDDLE_METACARPAL_ULTRALEAP = 11,
+ XR_HAND_FOREARM_JOINT_MIDDLE_PROXIMAL_ULTRALEAP = 12,
+ XR_HAND_FOREARM_JOINT_MIDDLE_INTERMEDIATE_ULTRALEAP = 13,
+ XR_HAND_FOREARM_JOINT_MIDDLE_DISTAL_ULTRALEAP = 14,
+ XR_HAND_FOREARM_JOINT_MIDDLE_TIP_ULTRALEAP = 15,
+ XR_HAND_FOREARM_JOINT_RING_METACARPAL_ULTRALEAP = 16,
+ XR_HAND_FOREARM_JOINT_RING_PROXIMAL_ULTRALEAP = 17,
+ XR_HAND_FOREARM_JOINT_RING_INTERMEDIATE_ULTRALEAP = 18,
+ XR_HAND_FOREARM_JOINT_RING_DISTAL_ULTRALEAP = 19,
+ XR_HAND_FOREARM_JOINT_RING_TIP_ULTRALEAP = 20,
+ XR_HAND_FOREARM_JOINT_LITTLE_METACARPAL_ULTRALEAP = 21,
+ XR_HAND_FOREARM_JOINT_LITTLE_PROXIMAL_ULTRALEAP = 22,
+ XR_HAND_FOREARM_JOINT_LITTLE_INTERMEDIATE_ULTRALEAP = 23,
+ XR_HAND_FOREARM_JOINT_LITTLE_DISTAL_ULTRALEAP = 24,
+ XR_HAND_FOREARM_JOINT_LITTLE_TIP_ULTRALEAP = 25,
+ XR_HAND_FOREARM_JOINT_ELBOW_ULTRALEAP = 26;
- private ULTRALEAPHandTrackingForearm() {}
+ private ULTRALEAPHandTrackingForearm() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VALVEAnalogThreshold.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VALVEAnalogThreshold.java
index 547896b235..01ddd6b274 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VALVEAnalogThreshold.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VALVEAnalogThreshold.java
@@ -4,25 +4,25 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_VALVE_analog_threshold extension.
*
* This extension allows the application to control the threshold and haptic feedback applied to an analog to digital conversion. See {@link XrInteractionProfileAnalogThresholdVALVE} for more information.
*
* Applications should also enable the {@link KHRBindingModification XR_KHR_binding_modification} extension to be able to define multiple thresholds.
- */
-public final class VALVEAnalogThreshold {
-
- /** The extension specification version. */
- public static final int XR_VALVE_analog_threshold_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_VALVE_ANALOG_THRESHOLD_EXTENSION_NAME = "XR_VALVE_analog_threshold";
-
- /** Extends {@code XrStructureType}. */
- public static final int XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE = 1000079000;
+ */
+public final class VALVEAnalogThreshold {
+
+ /** The extension specification version. */
+ public static final int XR_VALVE_analog_threshold_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_VALVE_ANALOG_THRESHOLD_EXTENSION_NAME = "XR_VALVE_analog_threshold";
+
+ /** Extends {@code XrStructureType}. */
+ public static final int XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE = 1000079000;
- private VALVEAnalogThreshold() {}
+ private VALVEAnalogThreshold() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOCompositionLayerDepthTest.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOCompositionLayerDepthTest.java
index 434383929a..4d34160615 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOCompositionLayerDepthTest.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOCompositionLayerDepthTest.java
@@ -4,27 +4,27 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_VARJO_composition_layer_depth_test extension.
*
* This extension enables depth-based layer composition inside the compositor.
*
- * Core OpenXR specifies that layer compositing must happen in the layer submission order (as described in Compositing). However, an application may want to composite the final image against the other layers based on depth information for proper occlusion. Layers can now provide depth information that will be used to calculate occlusion between those layers, as well as with the environment depth estimator ({@link VARJOEnvironmentDepthEstimation XR_VARJO_environment_depth_estimation}) when enabled.
+ * Core OpenXR specifies that layer compositing must happen in the layer submission order (as described in Compositing). However, an application may want to composite the final image against the other layers based on depth information for proper occlusion. Layers can now provide depth information that will be used to calculate occlusion between those layers, as well as with the environment depth estimator ({@link VARJOEnvironmentDepthEstimation XR_VARJO_environment_depth_estimation}) when enabled.
*
* This extension defines a new type, {@link XrCompositionLayerDepthTestVARJO}, which can be chained to {@link XrCompositionLayerProjection} in order to activate this functionality. An application must also specify a range where depth testing will happen, potentially covering only a subset of the full depth range.
- */
-public final class VARJOCompositionLayerDepthTest {
-
- /** The extension specification version. */
- public static final int XR_VARJO_composition_layer_depth_test_SPEC_VERSION = 2;
-
- /** The extension name. */
- public static final String XR_VARJO_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME = "XR_VARJO_composition_layer_depth_test";
-
- /** Extends {@code XrStructureType}. */
- public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO = 1000122000;
+ */
+public final class VARJOCompositionLayerDepthTest {
+
+ /** The extension specification version. */
+ public static final int XR_VARJO_composition_layer_depth_test_SPEC_VERSION = 2;
+
+ /** The extension name. */
+ public static final String XR_VARJO_COMPOSITION_LAYER_DEPTH_TEST_EXTENSION_NAME = "XR_VARJO_composition_layer_depth_test";
+
+ /** Extends {@code XrStructureType}. */
+ public static final int XR_TYPE_COMPOSITION_LAYER_DEPTH_TEST_VARJO = 1000122000;
- private VARJOCompositionLayerDepthTest() {}
+ private VARJOCompositionLayerDepthTest() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOEnvironmentDepthEstimation.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOEnvironmentDepthEstimation.java
index c0e55b86c2..b99e632f20 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOEnvironmentDepthEstimation.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOEnvironmentDepthEstimation.java
@@ -4,12 +4,12 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+
/**
* The XR_VARJO_environment_depth_estimation extension.
*
@@ -18,21 +18,21 @@
* Mixed reality applications might want to mix real and virtual content based on the depth information for proper occlusion. XR hardware and runtime may offer various ways to estimate the depth of the environment inside the compositor. When this estimation is enabled, the compositor can generate properly occluded final image when layers are submitted with depth information (both {@link KHRCompositionLayerDepth XR_KHR_composition_layer_depth} and {@link VARJOCompositionLayerDepthTest XR_VARJO_composition_layer_depth_test}).
*
* This extension defines a new function, {@link #xrSetEnvironmentDepthEstimationVARJO SetEnvironmentDepthEstimationVARJO}, which can be used to toggle environment depth estimation in the compositor. Toggling depth estimation is an asynchronous operation and the feature may not be activated immediately. Function can be called immediately after the session is created. Composition of the environment layer follows the rules as described in {@link VARJOCompositionLayerDepthTest XR_VARJO_composition_layer_depth_test}.
- */
-public class VARJOEnvironmentDepthEstimation {
-
- /** The extension specification version. */
- public static final int XR_VARJO_environment_depth_estimation_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAME = "XR_VARJO_environment_depth_estimation";
+ */
+public class VARJOEnvironmentDepthEstimation {
+
+ /** The extension specification version. */
+ public static final int XR_VARJO_environment_depth_estimation_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_VARJO_ENVIRONMENT_DEPTH_ESTIMATION_EXTENSION_NAME = "XR_VARJO_environment_depth_estimation";
protected VARJOEnvironmentDepthEstimation() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrSetEnvironmentDepthEstimationVARJO ] ---
+ }
+ // --- [ xrSetEnvironmentDepthEstimationVARJO ] ---
+
/**
* Enable or disable environment depth estimation functionality.
*
@@ -73,14 +73,14 @@ protected VARJOEnvironmentDepthEstimation() {
*
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param enabled a boolean that specifies whether depth estimation functionality should be activated. Compositor will disable depth estimation functionality if environment blend mode is not {@link XR10#XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND ENVIRONMENT_BLEND_MODE_ALPHA_BLEND} and will enable the functionality when environment blend mode is set to {@link XR10#XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND ENVIRONMENT_BLEND_MODE_ALPHA_BLEND}.
- */
- @NativeType("XrResult")
- public static int xrSetEnvironmentDepthEstimationVARJO(XrSession session, @NativeType("XrBool32") boolean enabled) {
- long __functionAddress = session.getCapabilities().xrSetEnvironmentDepthEstimationVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(session.address(), enabled ? 1 : 0, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrSetEnvironmentDepthEstimationVARJO(XrSession session, @NativeType("XrBool32") boolean enabled) {
+ long __functionAddress = session.getCapabilities().xrSetEnvironmentDepthEstimationVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(session.address(), enabled ? 1 : 0, __functionAddress);
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOFoveatedRendering.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOFoveatedRendering.java
index 3c0415ed14..3f3516a2af 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOFoveatedRendering.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOFoveatedRendering.java
@@ -4,7 +4,7 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_VARJO_foveated_rendering extension.
*
@@ -28,15 +28,15 @@
* Check if rendering gaze is available using {@link XR10#xrLocateSpace LocateSpace}.
* Enable foveated rendering when {@link XR10#xrLocateViews LocateViews} is called.
*
- */
-public final class VARJOFoveatedRendering {
-
- /** The extension specification version. */
- public static final int XR_VARJO_foveated_rendering_SPEC_VERSION = 3;
-
- /** The extension name. */
- public static final String XR_VARJO_FOVEATED_RENDERING_EXTENSION_NAME = "XR_VARJO_foveated_rendering";
-
+ */
+public final class VARJOFoveatedRendering {
+
+ /** The extension specification version. */
+ public static final int XR_VARJO_foveated_rendering_SPEC_VERSION = 3;
+
+ /** The extension name. */
+ public static final String XR_VARJO_FOVEATED_RENDERING_EXTENSION_NAME = "XR_VARJO_foveated_rendering";
+
/**
* Extends {@code XrStructureType}.
*
@@ -47,15 +47,15 @@ public final class VARJOFoveatedRendering {
* {@link #XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO}
* {@link #XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO}
*
- */
+ */
public static final int
- XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO = 1000121000,
- XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO = 1000121001,
- XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO = 1000121002;
-
- /** Extends {@code XrReferenceSpaceType}. */
- public static final int XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJO = 1000121000;
+ XR_TYPE_VIEW_LOCATE_FOVEATED_RENDERING_VARJO = 1000121000,
+ XR_TYPE_FOVEATED_VIEW_CONFIGURATION_VIEW_VARJO = 1000121001,
+ XR_TYPE_SYSTEM_FOVEATED_RENDERING_PROPERTIES_VARJO = 1000121002;
+
+ /** Extends {@code XrReferenceSpaceType}. */
+ public static final int XR_REFERENCE_SPACE_TYPE_COMBINED_EYE_VARJO = 1000121000;
- private VARJOFoveatedRendering() {}
+ private VARJOFoveatedRendering() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOMarkerTracking.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOMarkerTracking.java
index bcb0223f3b..601b64fa8e 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOMarkerTracking.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOMarkerTracking.java
@@ -4,34 +4,34 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import org.lwjgl.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
/**
* The XR_VARJO_marker_tracking extension.
*
* Varjo Markers are physical markers tracked by the video cameras of the HMD. Different types of markers can be used for different purposes. As an example, Varjo Markers can be used as cheap replacements for electronic trackers. The cost per printed tracker is significantly lower and the markers require no power to function.
*
- * This extension provides the tracking interface to a set of marker types and sizes. Markers can be printed out from the PDF documents and instructions freely available at https://developer.varjo.com/docs/get-started/varjo-markers#printing-varjo-markers. Note that the printed marker must have the exact physical size for its ID.
+ * This extension provides the tracking interface to a set of marker types and sizes. Markers can be printed out from the PDF documents and instructions freely available at https://developer.varjo.com/docs/get-started/varjo-markers#printing-varjo-markers. Note that the printed marker must have the exact physical size for its ID.
*
* Object markers are used to track static or dynamic objects in the user environment. You may use object markers in both XR and VR applications. Each marker has a unique ID, and you must not use the same physical marker more than once in any given environment. For added precision, an application may use multiple markers to track a single object. For example, you could track a monitor by placing a marker in each corner.
*
* There is a set of marker IDs recognized by runtime and if the application uses ID which is not in the set then runtime must return {@link #XR_ERROR_MARKER_ID_INVALID_VARJO ERROR_MARKER_ID_INVALID_VARJO}.
- */
-public class VARJOMarkerTracking {
-
- /** The extension specification version. */
- public static final int XR_VARJO_marker_tracking_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_VARJO_MARKER_TRACKING_EXTENSION_NAME = "XR_VARJO_marker_tracking";
-
+ */
+public class VARJOMarkerTracking {
+
+ /** The extension specification version. */
+ public static final int XR_VARJO_marker_tracking_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_VARJO_MARKER_TRACKING_EXTENSION_NAME = "XR_VARJO_marker_tracking";
+
/**
* Extends {@code XrStructureType}.
*
@@ -42,12 +42,12 @@ public class VARJOMarkerTracking {
* {@link #XR_TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJO TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJO}
* {@link #XR_TYPE_MARKER_SPACE_CREATE_INFO_VARJO TYPE_MARKER_SPACE_CREATE_INFO_VARJO}
*
- */
+ */
public static final int
- XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJO = 1000124000,
- XR_TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJO = 1000124001,
- XR_TYPE_MARKER_SPACE_CREATE_INFO_VARJO = 1000124002;
-
+ XR_TYPE_SYSTEM_MARKER_TRACKING_PROPERTIES_VARJO = 1000124000,
+ XR_TYPE_EVENT_DATA_MARKER_TRACKING_UPDATE_VARJO = 1000124001,
+ XR_TYPE_MARKER_SPACE_CREATE_INFO_VARJO = 1000124002;
+
/**
* Extends {@code XrResult}.
*
@@ -57,17 +57,17 @@ public class VARJOMarkerTracking {
* {@link #XR_ERROR_MARKER_NOT_TRACKED_VARJO ERROR_MARKER_NOT_TRACKED_VARJO}
* {@link #XR_ERROR_MARKER_ID_INVALID_VARJO ERROR_MARKER_ID_INVALID_VARJO}
*
- */
+ */
public static final int
- XR_ERROR_MARKER_NOT_TRACKED_VARJO = -1000124000,
- XR_ERROR_MARKER_ID_INVALID_VARJO = -1000124001;
+ XR_ERROR_MARKER_NOT_TRACKED_VARJO = -1000124000,
+ XR_ERROR_MARKER_ID_INVALID_VARJO = -1000124001;
protected VARJOMarkerTracking() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrSetMarkerTrackingVARJO ] ---
+ }
+ // --- [ xrSetMarkerTrackingVARJO ] ---
+
/**
* Enables marker tracking.
*
@@ -112,18 +112,18 @@ protected VARJOMarkerTracking() {
*
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param enabled the flag to enable or disable marker tracking.
- */
- @NativeType("XrResult")
- public static int xrSetMarkerTrackingVARJO(XrSession session, @NativeType("XrBool32") boolean enabled) {
- long __functionAddress = session.getCapabilities().xrSetMarkerTrackingVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(session.address(), enabled ? 1 : 0, __functionAddress);
- }
-
- // --- [ xrSetMarkerTrackingTimeoutVARJO ] ---
+ */
+ @NativeType("XrResult")
+ public static int xrSetMarkerTrackingVARJO(XrSession session, @NativeType("XrBool32") boolean enabled) {
+ long __functionAddress = session.getCapabilities().xrSetMarkerTrackingVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(session.address(), enabled ? 1 : 0, __functionAddress);
+ }
+ // --- [ xrSetMarkerTrackingTimeoutVARJO ] ---
+
/**
* Sets marker lifetime duration.
*
@@ -171,18 +171,18 @@ public static int xrSetMarkerTrackingVARJO(XrSession session, @NativeType("XrBoo
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param markerId the unique identifier of the marker for which the timeout will be updated.
* @param timeout the desired lifetime duration for a specified marker.
- */
- @NativeType("XrResult")
- public static int xrSetMarkerTrackingTimeoutVARJO(XrSession session, @NativeType("uint64_t") long markerId, @NativeType("XrDuration") long timeout) {
- long __functionAddress = session.getCapabilities().xrSetMarkerTrackingTimeoutVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPJJI(session.address(), markerId, timeout, __functionAddress);
- }
-
- // --- [ xrSetMarkerTrackingPredictionVARJO ] ---
+ */
+ @NativeType("XrResult")
+ public static int xrSetMarkerTrackingTimeoutVARJO(XrSession session, @NativeType("uint64_t") long markerId, @NativeType("XrDuration") long timeout) {
+ long __functionAddress = session.getCapabilities().xrSetMarkerTrackingTimeoutVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPJJI(session.address(), markerId, timeout, __functionAddress);
+ }
+ // --- [ xrSetMarkerTrackingPredictionVARJO ] ---
+
/**
* Sets marker tracking with prediction.
*
@@ -229,27 +229,27 @@ public static int xrSetMarkerTrackingTimeoutVARJO(XrSession session, @NativeType
*
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param markerId the unique identifier of the marker which should be tracked with prediction.
- */
- @NativeType("XrResult")
- public static int xrSetMarkerTrackingPredictionVARJO(XrSession session, @NativeType("uint64_t") long markerId, @NativeType("XrBool32") boolean enabled) {
- long __functionAddress = session.getCapabilities().xrSetMarkerTrackingPredictionVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPJI(session.address(), markerId, enabled ? 1 : 0, __functionAddress);
- }
-
- // --- [ xrGetMarkerSizeVARJO ] ---
-
- /** Unsafe version of: {@link #xrGetMarkerSizeVARJO GetMarkerSizeVARJO} */
- public static int nxrGetMarkerSizeVARJO(XrSession session, long markerId, long size) {
- long __functionAddress = session.getCapabilities().xrGetMarkerSizeVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPJPI(session.address(), markerId, size, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrSetMarkerTrackingPredictionVARJO(XrSession session, @NativeType("uint64_t") long markerId, @NativeType("XrBool32") boolean enabled) {
+ long __functionAddress = session.getCapabilities().xrSetMarkerTrackingPredictionVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPJI(session.address(), markerId, enabled ? 1 : 0, __functionAddress);
+ }
+ // --- [ xrGetMarkerSizeVARJO ] ---
+
+ /** Unsafe version of: {@link #xrGetMarkerSizeVARJO GetMarkerSizeVARJO} */
+ public static int nxrGetMarkerSizeVARJO(XrSession session, long markerId, long size) {
+ long __functionAddress = session.getCapabilities().xrGetMarkerSizeVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPJPI(session.address(), markerId, size, __functionAddress);
+ }
+
/**
* Gets physical size of marker.
*
@@ -303,23 +303,23 @@ public static int nxrGetMarkerSizeVARJO(XrSession session, long markerId, long s
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param markerId the unique identifier of the marker for which size is requested.
* @param size pointer to the size to populate by the runtime with the physical size of plane marker in meters.
- */
- @NativeType("XrResult")
- public static int xrGetMarkerSizeVARJO(XrSession session, @NativeType("uint64_t") long markerId, @NativeType("XrExtent2Df *") XrExtent2Df size) {
- return nxrGetMarkerSizeVARJO(session, markerId, size.address());
- }
-
- // --- [ xrCreateMarkerSpaceVARJO ] ---
-
- /** Unsafe version of: {@link #xrCreateMarkerSpaceVARJO CreateMarkerSpaceVARJO} */
- public static int nxrCreateMarkerSpaceVARJO(XrSession session, long createInfo, long space) {
- long __functionAddress = session.getCapabilities().xrCreateMarkerSpaceVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPPPI(session.address(), createInfo, space, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrGetMarkerSizeVARJO(XrSession session, @NativeType("uint64_t") long markerId, @NativeType("XrExtent2Df *") XrExtent2Df size) {
+ return nxrGetMarkerSizeVARJO(session, markerId, size.address());
+ }
+ // --- [ xrCreateMarkerSpaceVARJO ] ---
+
+ /** Unsafe version of: {@link #xrCreateMarkerSpaceVARJO CreateMarkerSpaceVARJO} */
+ public static int nxrCreateMarkerSpaceVARJO(XrSession session, long createInfo, long space) {
+ long __functionAddress = session.getCapabilities().xrCreateMarkerSpaceVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPPPI(session.address(), createInfo, space, __functionAddress);
+ }
+
/**
* Creates marker space.
*
@@ -376,13 +376,13 @@ public static int nxrCreateMarkerSpaceVARJO(XrSession session, long createInfo,
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param createInfo the structure containing information about how to create the space based on marker.
* @param space a pointer to a handle in which the created {@code XrSpace} is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateMarkerSpaceVARJO(XrSession session, @NativeType("XrMarkerSpaceCreateInfoVARJO const *") XrMarkerSpaceCreateInfoVARJO createInfo, @NativeType("XrSpace *") PointerBuffer space) {
- if (CHECKS) {
- check(space, 1);
- }
- return nxrCreateMarkerSpaceVARJO(session, createInfo.address(), memAddress(space));
- }
+ */
+ @NativeType("XrResult")
+ public static int xrCreateMarkerSpaceVARJO(XrSession session, @NativeType("XrMarkerSpaceCreateInfoVARJO const *") XrMarkerSpaceCreateInfoVARJO createInfo, @NativeType("XrSpace *") PointerBuffer space) {
+ if (CHECKS) {
+ check(space, 1);
+ }
+ return nxrCreateMarkerSpaceVARJO(session, createInfo.address(), memAddress(space));
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOQuadViews.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOQuadViews.java
index 5428031523..de03dc945f 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOQuadViews.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOQuadViews.java
@@ -4,7 +4,7 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
/**
* The XR_VARJO_quad_views extension.
*
@@ -19,18 +19,18 @@
* The relative position of the inner views relative to the outer views can change at run-time.
*
* The runtime might blend between the views at the edges, so the application should not omit the inner field of view from being generated in the outer view.
- */
-public final class VARJOQuadViews {
-
- /** The extension specification version. */
- public static final int XR_VARJO_quad_views_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_VARJO_QUAD_VIEWS_EXTENSION_NAME = "XR_VARJO_quad_views";
-
- /** Extends {@code XrViewConfigurationType}. */
- public static final int XR_VIEW_CONFIGURATION_TYPE_PRIMARY_QUAD_VARJO = 1000037000;
+ */
+public final class VARJOQuadViews {
+
+ /** The extension specification version. */
+ public static final int XR_VARJO_quad_views_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_VARJO_QUAD_VIEWS_EXTENSION_NAME = "XR_VARJO_quad_views";
+
+ /** Extends {@code XrViewConfigurationType}. */
+ public static final int XR_VIEW_CONFIGURATION_TYPE_PRIMARY_QUAD_VARJO = 1000037000;
- private VARJOQuadViews() {}
+ private VARJOQuadViews() {}
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOViewOffset.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOViewOffset.java
index 8b7a919978..d223871f89 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOViewOffset.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/VARJOViewOffset.java
@@ -4,12 +4,12 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+
/**
* The XR_VARJO_view_offset extension.
*
@@ -20,21 +20,21 @@
* When blending the video pass-through image with virtual content, it is important that their relative geometries – position, size, and disparity – match one another. To achieve this, Varjo’s runtime automatically places the virtual reality cameras in the same position as the physical cameras when the video pass-through feature is enabled (see {@link XR10#XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND ENVIRONMENT_BLEND_MODE_ALPHA_BLEND}). This allows virtual and real-world content to appear at the same distance and on the same plane when viewed together. While this can be observed as an apparent jump in the location of virtual objects compared to VR-only content, this does not cause any distortion in the object geometry or location; it is only the viewer’s location that changes.
*
* In some cases, moving the VR content to match the real-world position may not be desirable. This extension enable the application to control where the VR content is rendered from the location of the user’s eyes while the video pass-through image uses the camera locations. For example, if the virtual object is close the user, or if the application is switching between VR and MR modes. Offset values between 0.0 and 1.0 are supported. You can use this to create a smooth, animated transition between the two rendering positions in case you need to change from one to the other during a session.
- */
-public class VARJOViewOffset {
-
- /** The extension specification version. */
- public static final int XR_VARJO_view_offset_SPEC_VERSION = 1;
-
- /** The extension name. */
- public static final String XR_VARJO_VIEW_OFFSET_EXTENSION_NAME = "XR_VARJO_view_offset";
+ */
+public class VARJOViewOffset {
+
+ /** The extension specification version. */
+ public static final int XR_VARJO_view_offset_SPEC_VERSION = 1;
+
+ /** The extension name. */
+ public static final String XR_VARJO_VIEW_OFFSET_EXTENSION_NAME = "XR_VARJO_view_offset";
protected VARJOViewOffset() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrSetViewOffsetVARJO ] ---
+ }
+ // --- [ xrSetViewOffsetVARJO ] ---
+
/**
* Set view offest.
*
@@ -93,14 +93,14 @@ protected VARJOViewOffset() {
*
* @param session an {@code XrSession} handle previously created with {@link XR10#xrCreateSession CreateSession}.
* @param offset the view offset to be applied. Must be between 0 and 1.
- */
- @NativeType("XrResult")
- public static int xrSetViewOffsetVARJO(XrSession session, float offset) {
- long __functionAddress = session.getCapabilities().xrSetViewOffsetVARJO;
- if (CHECKS) {
- check(__functionAddress);
- }
- return callPI(session.address(), offset, __functionAddress);
- }
+ */
+ @NativeType("XrResult")
+ public static int xrSetViewOffsetVARJO(XrSession session, float offset) {
+ long __functionAddress = session.getCapabilities().xrSetViewOffsetVARJO;
+ if (CHECKS) {
+ check(__functionAddress);
+ }
+ return callPI(session.address(), offset, __functionAddress);
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XR10.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XR10.java
index cd8eb36215..46ba3c4c45 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XR10.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XR10.java
@@ -4,23 +4,23 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
+
import org.lwjgl.*;
-
-import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.JNI.*;
-import static org.lwjgl.system.MemoryStack.*;
-import static org.lwjgl.system.MemoryUtil.*;
-
-/** The core OpenXR 1.0 functionality. */
-public class XR10 {
-
+
+import org.lwjgl.system.*;
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.JNI.*;
+import static org.lwjgl.system.MemoryStack.*;
+import static org.lwjgl.system.MemoryUtil.*;
+
+/** The core OpenXR 1.0 functionality. */
+public class XR10 {
+
/**
* XrResult - Result codes
*
@@ -69,8 +69,8 @@ public class XR10 {
* {@link #XR_ERROR_SIZE_INSUFFICIENT ERROR_SIZE_INSUFFICIENT} The supplied size was smaller than required.
* {@link #XR_ERROR_HANDLE_INVALID ERROR_HANDLE_INVALID} A supplied object handle was invalid.
* {@link #XR_ERROR_INSTANCE_LOST ERROR_INSTANCE_LOST} The {@code XrInstance} was lost or could not be found. It will need to be destroyed and optionally recreated.
- * {@link #XR_ERROR_SESSION_RUNNING ERROR_SESSION_RUNNING} The session is already running.
- * {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} The session is not yet running.
+ * {@link #XR_ERROR_SESSION_RUNNING ERROR_SESSION_RUNNING} The session is already running.
+ * {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} The session is not yet running.
* {@link #XR_ERROR_SESSION_LOST ERROR_SESSION_LOST} The {@code XrSession} was lost. It will need to be destroyed and optionally recreated.
* {@link #XR_ERROR_SYSTEM_INVALID ERROR_SYSTEM_INVALID} The provided {@code XrSystemId} was invalid.
* {@link #XR_ERROR_PATH_INVALID ERROR_PATH_INVALID} The provided {@code XrPath} was not valid.
@@ -137,86 +137,83 @@ public class XR10 {
* {@link FBSpatialEntitySharing#XR_ERROR_SPACE_NETWORK_TIMEOUT_FB ERROR_SPACE_NETWORK_TIMEOUT_FB} Timeout occurred while waiting for network request to complete. (Added by the {@link FBSpatialEntitySharing XR_FB_spatial_entity_sharing} extension)
* {@link FBSpatialEntitySharing#XR_ERROR_SPACE_NETWORK_REQUEST_FAILED_FB ERROR_SPACE_NETWORK_REQUEST_FAILED_FB} The network request failed. (Added by the {@link FBSpatialEntitySharing XR_FB_spatial_entity_sharing} extension)
* {@link FBSpatialEntitySharing#XR_ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB ERROR_SPACE_CLOUD_STORAGE_DISABLED_FB} Cloud storage is required for this operation but is currently disabled. (Added by the {@link FBSpatialEntitySharing XR_FB_spatial_entity_sharing} extension)
- * {@link METAPassthroughColorLut#XR_ERROR_PASSTHROUGH_COLOR_LUT_BUFFER_SIZE_MISMATCH_META ERROR_PASSTHROUGH_COLOR_LUT_BUFFER_SIZE_MISMATCH_META} The provided data buffer did not match the required size. (Added by the {@link METAPassthroughColorLut XR_META_passthrough_color_lut} extension)
* {@link QCOMTrackingOptimizationSettings#XR_ERROR_HINT_ALREADY_SET_QCOM ERROR_HINT_ALREADY_SET_QCOM} Tracking optimization hint is already set for the domain. (Added by the {@link QCOMTrackingOptimizationSettings XR_QCOM_tracking_optimization_settings} extension)
- * {@link EXTPlaneDetection#XR_ERROR_SPACE_NOT_LOCATABLE_EXT ERROR_SPACE_NOT_LOCATABLE_EXT} The space passed to the function was not locatable. (Added by the {@link EXTPlaneDetection XR_EXT_plane_detection} extension)
- * {@link EXTPlaneDetection#XR_ERROR_PLANE_DETECTION_PERMISSION_DENIED_EXT ERROR_PLANE_DETECTION_PERMISSION_DENIED_EXT} The permission for this resource was not granted. (Added by the {@link EXTPlaneDetection XR_EXT_plane_detection} extension)
*
*
*
* See Also
*
* {@link XrEventDataSceneCaptureCompleteFB}, {@link XrEventDataSpaceEraseCompleteFB}, {@link XrEventDataSpaceListSaveCompleteFB}, {@link XrEventDataSpaceQueryCompleteFB}, {@link XrEventDataSpaceSaveCompleteFB}, {@link XrEventDataSpaceSetStatusCompleteFB}, {@link XrEventDataSpaceShareCompleteFB}, {@link XrEventDataSpatialAnchorCreateCompleteFB}, {@link #xrResultToString ResultToString}
- */
+ */
public static final int
- XR_SUCCESS = 0,
- XR_TIMEOUT_EXPIRED = 1,
- XR_SESSION_LOSS_PENDING = 3,
- XR_EVENT_UNAVAILABLE = 4,
- XR_SPACE_BOUNDS_UNAVAILABLE = 7,
- XR_SESSION_NOT_FOCUSED = 8,
- XR_FRAME_DISCARDED = 9,
- XR_ERROR_VALIDATION_FAILURE = -1,
- XR_ERROR_RUNTIME_FAILURE = -2,
- XR_ERROR_OUT_OF_MEMORY = -3,
- XR_ERROR_API_VERSION_UNSUPPORTED = -4,
- XR_ERROR_INITIALIZATION_FAILED = -6,
- XR_ERROR_FUNCTION_UNSUPPORTED = -7,
- XR_ERROR_FEATURE_UNSUPPORTED = -8,
- XR_ERROR_EXTENSION_NOT_PRESENT = -9,
- XR_ERROR_LIMIT_REACHED = -10,
- XR_ERROR_SIZE_INSUFFICIENT = -11,
- XR_ERROR_HANDLE_INVALID = -12,
- XR_ERROR_INSTANCE_LOST = -13,
- XR_ERROR_SESSION_RUNNING = -14,
- XR_ERROR_SESSION_NOT_RUNNING = -16,
- XR_ERROR_SESSION_LOST = -17,
- XR_ERROR_SYSTEM_INVALID = -18,
- XR_ERROR_PATH_INVALID = -19,
- XR_ERROR_PATH_COUNT_EXCEEDED = -20,
- XR_ERROR_PATH_FORMAT_INVALID = -21,
- XR_ERROR_PATH_UNSUPPORTED = -22,
- XR_ERROR_LAYER_INVALID = -23,
- XR_ERROR_LAYER_LIMIT_EXCEEDED = -24,
- XR_ERROR_SWAPCHAIN_RECT_INVALID = -25,
- XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED = -26,
- XR_ERROR_ACTION_TYPE_MISMATCH = -27,
- XR_ERROR_SESSION_NOT_READY = -28,
- XR_ERROR_SESSION_NOT_STOPPING = -29,
- XR_ERROR_TIME_INVALID = -30,
- XR_ERROR_REFERENCE_SPACE_UNSUPPORTED = -31,
- XR_ERROR_FILE_ACCESS_ERROR = -32,
- XR_ERROR_FILE_CONTENTS_INVALID = -33,
- XR_ERROR_FORM_FACTOR_UNSUPPORTED = -34,
- XR_ERROR_FORM_FACTOR_UNAVAILABLE = -35,
- XR_ERROR_API_LAYER_NOT_PRESENT = -36,
- XR_ERROR_CALL_ORDER_INVALID = -37,
- XR_ERROR_GRAPHICS_DEVICE_INVALID = -38,
- XR_ERROR_POSE_INVALID = -39,
- XR_ERROR_INDEX_OUT_OF_RANGE = -40,
- XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED = -41,
- XR_ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED = -42,
- XR_ERROR_NAME_DUPLICATED = -44,
- XR_ERROR_NAME_INVALID = -45,
- XR_ERROR_ACTIONSET_NOT_ATTACHED = -46,
- XR_ERROR_ACTIONSETS_ALREADY_ATTACHED = -47,
- XR_ERROR_LOCALIZED_NAME_DUPLICATED = -48,
- XR_ERROR_LOCALIZED_NAME_INVALID = -49,
- XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING = -50,
- XR_ERROR_RUNTIME_UNAVAILABLE = -51;
-
+ XR_SUCCESS = 0,
+ XR_TIMEOUT_EXPIRED = 1,
+ XR_SESSION_LOSS_PENDING = 3,
+ XR_EVENT_UNAVAILABLE = 4,
+ XR_SPACE_BOUNDS_UNAVAILABLE = 7,
+ XR_SESSION_NOT_FOCUSED = 8,
+ XR_FRAME_DISCARDED = 9,
+ XR_ERROR_VALIDATION_FAILURE = -1,
+ XR_ERROR_RUNTIME_FAILURE = -2,
+ XR_ERROR_OUT_OF_MEMORY = -3,
+ XR_ERROR_API_VERSION_UNSUPPORTED = -4,
+ XR_ERROR_INITIALIZATION_FAILED = -6,
+ XR_ERROR_FUNCTION_UNSUPPORTED = -7,
+ XR_ERROR_FEATURE_UNSUPPORTED = -8,
+ XR_ERROR_EXTENSION_NOT_PRESENT = -9,
+ XR_ERROR_LIMIT_REACHED = -10,
+ XR_ERROR_SIZE_INSUFFICIENT = -11,
+ XR_ERROR_HANDLE_INVALID = -12,
+ XR_ERROR_INSTANCE_LOST = -13,
+ XR_ERROR_SESSION_RUNNING = -14,
+ XR_ERROR_SESSION_NOT_RUNNING = -16,
+ XR_ERROR_SESSION_LOST = -17,
+ XR_ERROR_SYSTEM_INVALID = -18,
+ XR_ERROR_PATH_INVALID = -19,
+ XR_ERROR_PATH_COUNT_EXCEEDED = -20,
+ XR_ERROR_PATH_FORMAT_INVALID = -21,
+ XR_ERROR_PATH_UNSUPPORTED = -22,
+ XR_ERROR_LAYER_INVALID = -23,
+ XR_ERROR_LAYER_LIMIT_EXCEEDED = -24,
+ XR_ERROR_SWAPCHAIN_RECT_INVALID = -25,
+ XR_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED = -26,
+ XR_ERROR_ACTION_TYPE_MISMATCH = -27,
+ XR_ERROR_SESSION_NOT_READY = -28,
+ XR_ERROR_SESSION_NOT_STOPPING = -29,
+ XR_ERROR_TIME_INVALID = -30,
+ XR_ERROR_REFERENCE_SPACE_UNSUPPORTED = -31,
+ XR_ERROR_FILE_ACCESS_ERROR = -32,
+ XR_ERROR_FILE_CONTENTS_INVALID = -33,
+ XR_ERROR_FORM_FACTOR_UNSUPPORTED = -34,
+ XR_ERROR_FORM_FACTOR_UNAVAILABLE = -35,
+ XR_ERROR_API_LAYER_NOT_PRESENT = -36,
+ XR_ERROR_CALL_ORDER_INVALID = -37,
+ XR_ERROR_GRAPHICS_DEVICE_INVALID = -38,
+ XR_ERROR_POSE_INVALID = -39,
+ XR_ERROR_INDEX_OUT_OF_RANGE = -40,
+ XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED = -41,
+ XR_ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED = -42,
+ XR_ERROR_NAME_DUPLICATED = -44,
+ XR_ERROR_NAME_INVALID = -45,
+ XR_ERROR_ACTIONSET_NOT_ATTACHED = -46,
+ XR_ERROR_ACTIONSETS_ALREADY_ATTACHED = -47,
+ XR_ERROR_LOCALIZED_NAME_DUPLICATED = -48,
+ XR_ERROR_LOCALIZED_NAME_INVALID = -49,
+ XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING = -50,
+ XR_ERROR_RUNTIME_UNAVAILABLE = -51;
+
/**
* XrStructureType - Values for type members of structs
*
* Description
*
- * Most structures containing {@code type} members have a value of {@code type} matching the type of the structure, as described more fully in Valid Usage for Structure Types.
+ * Most structures containing {@code type} members have a value of {@code type} matching the type of the structure, as described more fully in Valid Usage for Structure Types.
*
- * Note that all extension enums begin at the extension enum base of 10^9
(base 10). Each extension is assigned a block of 1000 enums, starting at the enum base and arranged by the extension’s number.
+ * Note that all extension enums begin at the extension enum base of 110
(base 10). Each extension is assigned a block of 1000 enums, starting at the enum base and arranged by the extension’s index.
*
* See Also
*
- * {@link XrActionCreateInfo}, {@link XrActionSetCreateInfo}, {@link XrActionSpaceCreateInfo}, {@link XrActionStateBoolean}, {@link XrActionStateFloat}, {@link XrActionStateGetInfo}, {@link XrActionStatePose}, {@link XrActionStateVector2f}, {@link XrActionsSyncInfo}, {@link XrActiveActionSetPrioritiesEXT}, {@link XrApiLayerProperties}, {@link XrBaseInStructure}, {@link XrBaseOutStructure}, {@link XrBindingModificationBaseHeaderKHR}, {@link XrBindingModificationsKHR}, {@link XrBodyJointLocationsFB}, {@link XrBodyJointsLocateInfoFB}, {@link XrBodySkeletonFB}, {@link XrBodyTrackerCreateInfoFB}, {@link XrBoundSourcesForActionEnumerateInfo}, {@link XrBoundary2DFB}, {@link XrCompositionLayerAlphaBlendFB}, {@link XrCompositionLayerBaseHeader}, {@link XrCompositionLayerColorScaleBiasKHR}, {@link XrCompositionLayerCubeKHR}, {@link XrCompositionLayerCylinderKHR}, {@link XrCompositionLayerDepthInfoKHR}, {@link XrCompositionLayerDepthTestFB}, {@link XrCompositionLayerDepthTestVARJO}, {@link XrCompositionLayerEquirect2KHR}, {@link XrCompositionLayerEquirectKHR}, {@link XrCompositionLayerImageLayoutFB}, {@link XrCompositionLayerPassthroughFB}, {@link XrCompositionLayerPassthroughHTC}, {@link XrCompositionLayerProjection}, {@link XrCompositionLayerProjectionView}, {@link XrCompositionLayerQuad}, {@link XrCompositionLayerReprojectionInfoMSFT}, {@link XrCompositionLayerReprojectionPlaneOverrideMSFT}, {@link XrCompositionLayerSecureContentFB}, {@link XrCompositionLayerSettingsFB}, {@link XrCompositionLayerSpaceWarpInfoFB}, {@link XrControllerModelKeyStateMSFT}, {@link XrControllerModelNodePropertiesMSFT}, {@link XrControllerModelNodeStateMSFT}, {@link XrControllerModelPropertiesMSFT}, {@link XrControllerModelStateMSFT}, {@link XrCoordinateSpaceCreateInfoML}, {@link XrDebugUtilsLabelEXT}, {@link XrDebugUtilsMessengerCallbackDataEXT}, {@link XrDebugUtilsMessengerCreateInfoEXT}, {@link XrDebugUtilsObjectNameInfoEXT}, {@link XrDevicePcmSampleRateStateFB}, {@link XrDigitalLensControlALMALENCE}, {@link XrEventDataBaseHeader}, {@link XrEventDataBuffer}, {@link XrEventDataDisplayRefreshRateChangedFB}, {@link XrEventDataEventsLost}, {@link XrEventDataInstanceLossPending}, {@link XrEventDataInteractionProfileChanged}, {@link XrEventDataMainSessionVisibilityChangedEXTX}, {@link XrEventDataMarkerTrackingUpdateVARJO}, {@link XrEventDataPassthroughStateChangedFB}, {@link XrEventDataPerfSettingsEXT}, {@link XrEventDataReferenceSpaceChangePending}, {@link XrEventDataSceneCaptureCompleteFB}, {@link XrEventDataSessionStateChanged}, {@link XrEventDataSpaceEraseCompleteFB}, {@link XrEventDataSpaceListSaveCompleteFB}, {@link XrEventDataSpaceQueryCompleteFB}, {@link XrEventDataSpaceQueryResultsAvailableFB}, {@link XrEventDataSpaceSaveCompleteFB}, {@link XrEventDataSpaceSetStatusCompleteFB}, {@link XrEventDataSpaceShareCompleteFB}, {@link XrEventDataSpatialAnchorCreateCompleteFB}, {@link XrEventDataVirtualKeyboardBackspaceMETA}, {@link XrEventDataVirtualKeyboardCommitTextMETA}, {@link XrEventDataVirtualKeyboardEnterMETA}, {@link XrEventDataVirtualKeyboardHiddenMETA}, {@link XrEventDataVirtualKeyboardShownMETA}, {@link XrEventDataVisibilityMaskChangedKHR}, {@link XrEventDataViveTrackerConnectedHTCX}, {@link XrExtensionProperties}, {@link XrExternalCameraOCULUS}, {@link XrEyeGazeSampleTimeEXT}, {@link XrEyeGazesFB}, {@link XrEyeGazesInfoFB}, {@link XrEyeTrackerCreateInfoFB}, {@link XrFaceExpressionInfoFB}, {@link XrFaceExpressionWeightsFB}, {@link XrFaceTrackerCreateInfoFB}, {@link XrFacialExpressionsHTC}, {@link XrFacialTrackerCreateInfoHTC}, {@link XrForceFeedbackCurlApplyLocationsMNDX}, {@link XrFoveatedViewConfigurationViewVARJO}, {@link XrFoveationApplyInfoHTC}, {@link XrFoveationCustomModeInfoHTC}, {@link XrFoveationDynamicModeInfoHTC}, {@link XrFoveationEyeTrackedProfileCreateInfoMETA}, {@link XrFoveationEyeTrackedStateMETA}, {@link XrFoveationLevelProfileCreateInfoFB}, {@link XrFoveationProfileCreateInfoFB}, {@link XrFrameBeginInfo}, {@link XrFrameEndInfo}, {@link XrFrameEndInfoML}, {@link XrFrameState}, {@link XrFrameWaitInfo}, {@link XrGeometryInstanceCreateInfoFB}, {@link XrGeometryInstanceTransformFB}, {@link XrGlobalDimmerFrameEndInfoML}, {@link XrGraphicsBindingEGLMNDX}, {@link XrGraphicsBindingOpenGLWaylandKHR}, {@link XrGraphicsBindingOpenGLWin32KHR}, {@link XrGraphicsBindingOpenGLXcbKHR}, {@link XrGraphicsBindingOpenGLXlibKHR}, {@link XrGraphicsBindingVulkanKHR}, {@link XrGraphicsRequirementsOpenGLKHR}, {@link XrGraphicsRequirementsVulkanKHR}, {@link XrHandJointLocationsEXT}, {@link XrHandJointVelocitiesEXT}, {@link XrHandJointsLocateInfoEXT}, {@link XrHandJointsMotionRangeInfoEXT}, {@link XrHandMeshMSFT}, {@link XrHandMeshSpaceCreateInfoMSFT}, {@link XrHandMeshUpdateInfoMSFT}, {@link XrHandPoseTypeInfoMSFT}, {@link XrHandTrackerCreateInfoEXT}, {@link XrHandTrackingAimStateFB}, {@link XrHandTrackingCapsulesStateFB}, {@link XrHandTrackingDataSourceInfoEXT}, {@link XrHandTrackingDataSourceStateEXT}, {@link XrHandTrackingMeshFB}, {@link XrHandTrackingScaleFB}, {@link XrHapticActionInfo}, {@link XrHapticAmplitudeEnvelopeVibrationFB}, {@link XrHapticBaseHeader}, {@link XrHapticPcmVibrationFB}, {@link XrHapticVibration}, {@link XrHolographicWindowAttachmentMSFT}, {@link XrInputSourceLocalizedNameGetInfo}, {@link XrInstanceCreateInfo}, {@link XrInstanceProperties}, {@link XrInteractionProfileAnalogThresholdVALVE}, {@link XrInteractionProfileDpadBindingEXT}, {@link XrInteractionProfileState}, {@link XrInteractionProfileSuggestedBinding}, {@link XrKeyboardSpaceCreateInfoFB}, {@link XrKeyboardTrackingQueryFB}, {@link XrLoaderInitInfoBaseHeaderKHR}, {@link XrLocalDimmingFrameEndInfoMETA}, {@link XrMarkerSpaceCreateInfoVARJO}, {@link XrNewSceneComputeInfoMSFT}, {@link XrPassthroughBrightnessContrastSaturationFB}, {@link XrPassthroughColorHTC}, {@link XrPassthroughColorLutCreateInfoMETA}, {@link XrPassthroughColorLutUpdateInfoMETA}, {@link XrPassthroughColorMapInterpolatedLutMETA}, {@link XrPassthroughColorMapLutMETA}, {@link XrPassthroughColorMapMonoToMonoFB}, {@link XrPassthroughColorMapMonoToRgbaFB}, {@link XrPassthroughCreateInfoFB}, {@link XrPassthroughCreateInfoHTC}, {@link XrPassthroughKeyboardHandsIntensityFB}, {@link XrPassthroughLayerCreateInfoFB}, {@link XrPassthroughMeshTransformInfoHTC}, {@link XrPassthroughPreferencesMETA}, {@link XrPassthroughStyleFB}, {@link XrPerformanceMetricsCounterMETA}, {@link XrPerformanceMetricsStateMETA}, {@link XrPlaneDetectorBeginInfoEXT}, {@link XrPlaneDetectorCreateInfoEXT}, {@link XrPlaneDetectorGetInfoEXT}, {@link XrPlaneDetectorLocationEXT}, {@link XrPlaneDetectorLocationsEXT}, {@link XrPlaneDetectorPolygonBufferEXT}, {@link XrReferenceSpaceCreateInfo}, {@link XrRenderModelBufferFB}, {@link XrRenderModelCapabilitiesRequestFB}, {@link XrRenderModelLoadInfoFB}, {@link XrRenderModelPathInfoFB}, {@link XrRenderModelPropertiesFB}, {@link XrRoomLayoutFB}, {@link XrSceneCaptureRequestInfoFB}, {@link XrSceneComponentLocationsMSFT}, {@link XrSceneComponentParentFilterInfoMSFT}, {@link XrSceneComponentsGetInfoMSFT}, {@link XrSceneComponentsLocateInfoMSFT}, {@link XrSceneComponentsMSFT}, {@link XrSceneCreateInfoMSFT}, {@link XrSceneDeserializeInfoMSFT}, {@link XrSceneMeshBuffersGetInfoMSFT}, {@link XrSceneMeshBuffersMSFT}, {@link XrSceneMeshIndicesUint16MSFT}, {@link XrSceneMeshIndicesUint32MSFT}, {@link XrSceneMeshVertexBufferMSFT}, {@link XrSceneMeshesMSFT}, {@link XrSceneObjectTypesFilterInfoMSFT}, {@link XrSceneObjectsMSFT}, {@link XrSceneObserverCreateInfoMSFT}, {@link XrScenePlaneAlignmentFilterInfoMSFT}, {@link XrScenePlanesMSFT}, {@link XrSecondaryViewConfigurationFrameEndInfoMSFT}, {@link XrSecondaryViewConfigurationFrameStateMSFT}, {@link XrSecondaryViewConfigurationLayerInfoMSFT}, {@link XrSecondaryViewConfigurationSessionBeginInfoMSFT}, {@link XrSecondaryViewConfigurationStateMSFT}, {@link XrSecondaryViewConfigurationSwapchainCreateInfoMSFT}, {@link XrSemanticLabelsFB}, {@link XrSemanticLabelsSupportInfoFB}, {@link XrSerializedSceneFragmentDataGetInfoMSFT}, {@link XrSessionActionSetsAttachInfo}, {@link XrSessionBeginInfo}, {@link XrSessionCreateInfo}, {@link XrSessionCreateInfoOverlayEXTX}, {@link XrSpaceComponentFilterInfoFB}, {@link XrSpaceComponentStatusFB}, {@link XrSpaceComponentStatusSetInfoFB}, {@link XrSpaceContainerFB}, {@link XrSpaceEraseInfoFB}, {@link XrSpaceFilterInfoBaseHeaderFB}, {@link XrSpaceListSaveInfoFB}, {@link XrSpaceLocation}, {@link XrSpaceQueryInfoBaseHeaderFB}, {@link XrSpaceQueryInfoFB}, {@link XrSpaceQueryResultsFB}, {@link XrSpaceSaveInfoFB}, {@link XrSpaceShareInfoFB}, {@link XrSpaceStorageLocationFilterInfoFB}, {@link XrSpaceUserCreateInfoFB}, {@link XrSpaceUuidFilterInfoFB}, {@link XrSpaceVelocity}, {@link XrSpatialAnchorCreateInfoFB}, {@link XrSpatialAnchorCreateInfoMSFT}, {@link XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT}, {@link XrSpatialAnchorPersistenceInfoMSFT}, {@link XrSpatialAnchorSpaceCreateInfoMSFT}, {@link XrSpatialGraphNodeBindingPropertiesGetInfoMSFT}, {@link XrSpatialGraphNodeBindingPropertiesMSFT}, {@link XrSpatialGraphNodeSpaceCreateInfoMSFT}, {@link XrSpatialGraphStaticNodeBindingCreateInfoMSFT}, {@link XrSwapchainCreateInfo}, {@link XrSwapchainCreateInfoFoveationFB}, {@link XrSwapchainImageAcquireInfo}, {@link XrSwapchainImageBaseHeader}, {@link XrSwapchainImageFoveationVulkanFB}, {@link XrSwapchainImageOpenGLKHR}, {@link XrSwapchainImageReleaseInfo}, {@link XrSwapchainImageVulkanKHR}, {@link XrSwapchainImageWaitInfo}, {@link XrSwapchainStateBaseHeaderFB}, {@link XrSwapchainStateFoveationFB}, {@link XrSwapchainStateSamplerOpenGLESFB}, {@link XrSwapchainStateSamplerVulkanFB}, {@link XrSystemBodyTrackingPropertiesFB}, {@link XrSystemColorSpacePropertiesFB}, {@link XrSystemEyeGazeInteractionPropertiesEXT}, {@link XrSystemEyeTrackingPropertiesFB}, {@link XrSystemFaceTrackingPropertiesFB}, {@link XrSystemFacialTrackingPropertiesHTC}, {@link XrSystemForceFeedbackCurlPropertiesMNDX}, {@link XrSystemFoveatedRenderingPropertiesVARJO}, {@link XrSystemFoveationEyeTrackedPropertiesMETA}, {@link XrSystemGetInfo}, {@link XrSystemHandTrackingMeshPropertiesMSFT}, {@link XrSystemHandTrackingPropertiesEXT}, {@link XrSystemHeadsetIdPropertiesMETA}, {@link XrSystemKeyboardTrackingPropertiesFB}, {@link XrSystemMarkerTrackingPropertiesVARJO}, {@link XrSystemPassthroughColorLutPropertiesMETA}, {@link XrSystemPassthroughProperties2FB}, {@link XrSystemPassthroughPropertiesFB}, {@link XrSystemPlaneDetectionPropertiesEXT}, {@link XrSystemProperties}, {@link XrSystemRenderModelPropertiesFB}, {@link XrSystemSpaceWarpPropertiesFB}, {@link XrSystemSpatialEntityPropertiesFB}, {@link XrSystemVirtualKeyboardPropertiesMETA}, {@link XrTriangleMeshCreateInfoFB}, {@link XrView}, {@link XrViewConfigurationDepthRangeEXT}, {@link XrViewConfigurationProperties}, {@link XrViewConfigurationView}, {@link XrViewConfigurationViewFovEPIC}, {@link XrViewLocateFoveatedRenderingVARJO}, {@link XrViewLocateInfo}, {@link XrViewState}, {@link XrVirtualKeyboardAnimationStateMETA}, {@link XrVirtualKeyboardCreateInfoMETA}, {@link XrVirtualKeyboardInputInfoMETA}, {@link XrVirtualKeyboardLocationInfoMETA}, {@link XrVirtualKeyboardModelAnimationStatesMETA}, {@link XrVirtualKeyboardModelVisibilitySetInfoMETA}, {@link XrVirtualKeyboardSpaceCreateInfoMETA}, {@link XrVirtualKeyboardTextContextChangeInfoMETA}, {@link XrVirtualKeyboardTextureDataMETA}, {@link XrVisibilityMaskKHR}, {@link XrVisualMeshComputeLodInfoMSFT}, {@link XrViveTrackerPathsHTCX}, {@link XrVulkanDeviceCreateInfoKHR}, {@link XrVulkanGraphicsDeviceGetInfoKHR}, {@link XrVulkanInstanceCreateInfoKHR}, {@link XrVulkanSwapchainCreateInfoMETA}, {@link XrVulkanSwapchainFormatListCreateInfoKHR}, {@link #xrStructureTypeToString StructureTypeToString}
+ * {@link XrActionCreateInfo}, {@link XrActionSetCreateInfo}, {@link XrActionSpaceCreateInfo}, {@link XrActionStateBoolean}, {@link XrActionStateFloat}, {@link XrActionStateGetInfo}, {@link XrActionStatePose}, {@link XrActionStateVector2f}, {@link XrActionsSyncInfo}, {@link XrActiveActionSetPrioritiesEXT}, {@link XrApiLayerProperties}, {@link XrBaseInStructure}, {@link XrBaseOutStructure}, {@link XrBindingModificationBaseHeaderKHR}, {@link XrBindingModificationsKHR}, {@link XrBodyJointLocationsFB}, {@link XrBodyJointsLocateInfoFB}, {@link XrBodySkeletonFB}, {@link XrBodyTrackerCreateInfoFB}, {@link XrBoundSourcesForActionEnumerateInfo}, {@link XrBoundary2DFB}, {@link XrCompositionLayerAlphaBlendFB}, {@link XrCompositionLayerBaseHeader}, {@link XrCompositionLayerColorScaleBiasKHR}, {@link XrCompositionLayerCubeKHR}, {@link XrCompositionLayerCylinderKHR}, {@link XrCompositionLayerDepthInfoKHR}, {@link XrCompositionLayerDepthTestFB}, {@link XrCompositionLayerDepthTestVARJO}, {@link XrCompositionLayerEquirect2KHR}, {@link XrCompositionLayerEquirectKHR}, {@link XrCompositionLayerImageLayoutFB}, {@link XrCompositionLayerPassthroughFB}, {@link XrCompositionLayerPassthroughHTC}, {@link XrCompositionLayerProjection}, {@link XrCompositionLayerProjectionView}, {@link XrCompositionLayerQuad}, {@link XrCompositionLayerReprojectionInfoMSFT}, {@link XrCompositionLayerReprojectionPlaneOverrideMSFT}, {@link XrCompositionLayerSecureContentFB}, {@link XrCompositionLayerSettingsFB}, {@link XrCompositionLayerSpaceWarpInfoFB}, {@link XrControllerModelKeyStateMSFT}, {@link XrControllerModelNodePropertiesMSFT}, {@link XrControllerModelNodeStateMSFT}, {@link XrControllerModelPropertiesMSFT}, {@link XrControllerModelStateMSFT}, {@link XrCoordinateSpaceCreateInfoML}, {@link XrDebugUtilsLabelEXT}, {@link XrDebugUtilsMessengerCallbackDataEXT}, {@link XrDebugUtilsMessengerCreateInfoEXT}, {@link XrDebugUtilsObjectNameInfoEXT}, {@link XrDevicePcmSampleRateStateFB}, {@link XrDigitalLensControlALMALENCE}, {@link XrEventDataBaseHeader}, {@link XrEventDataBuffer}, {@link XrEventDataDisplayRefreshRateChangedFB}, {@link XrEventDataEventsLost}, {@link XrEventDataInstanceLossPending}, {@link XrEventDataInteractionProfileChanged}, {@link XrEventDataMainSessionVisibilityChangedEXTX}, {@link XrEventDataMarkerTrackingUpdateVARJO}, {@link XrEventDataPassthroughStateChangedFB}, {@link XrEventDataPerfSettingsEXT}, {@link XrEventDataReferenceSpaceChangePending}, {@link XrEventDataSceneCaptureCompleteFB}, {@link XrEventDataSessionStateChanged}, {@link XrEventDataSpaceEraseCompleteFB}, {@link XrEventDataSpaceListSaveCompleteFB}, {@link XrEventDataSpaceQueryCompleteFB}, {@link XrEventDataSpaceQueryResultsAvailableFB}, {@link XrEventDataSpaceSaveCompleteFB}, {@link XrEventDataSpaceSetStatusCompleteFB}, {@link XrEventDataSpaceShareCompleteFB}, {@link XrEventDataSpatialAnchorCreateCompleteFB}, {@link XrEventDataVisibilityMaskChangedKHR}, {@link XrEventDataViveTrackerConnectedHTCX}, {@link XrExtensionProperties}, {@link XrExternalCameraOCULUS}, {@link XrEyeGazeSampleTimeEXT}, {@link XrEyeGazesFB}, {@link XrEyeGazesInfoFB}, {@link XrEyeTrackerCreateInfoFB}, {@link XrFaceExpressionInfoFB}, {@link XrFaceExpressionWeightsFB}, {@link XrFaceTrackerCreateInfoFB}, {@link XrFacialExpressionsHTC}, {@link XrFacialTrackerCreateInfoHTC}, {@link XrForceFeedbackCurlApplyLocationsMNDX}, {@link XrFoveatedViewConfigurationViewVARJO}, {@link XrFoveationApplyInfoHTC}, {@link XrFoveationCustomModeInfoHTC}, {@link XrFoveationDynamicModeInfoHTC}, {@link XrFoveationEyeTrackedProfileCreateInfoMETA}, {@link XrFoveationEyeTrackedStateMETA}, {@link XrFoveationLevelProfileCreateInfoFB}, {@link XrFoveationProfileCreateInfoFB}, {@link XrFrameBeginInfo}, {@link XrFrameEndInfo}, {@link XrFrameEndInfoML}, {@link XrFrameState}, {@link XrFrameWaitInfo}, {@link XrGeometryInstanceCreateInfoFB}, {@link XrGeometryInstanceTransformFB}, {@link XrGlobalDimmerFrameEndInfoML}, {@link XrGraphicsBindingEGLMNDX}, {@link XrGraphicsBindingOpenGLESAndroidKHR}, {@link XrGraphicsBindingOpenGLWaylandKHR}, {@link XrGraphicsBindingOpenGLWin32KHR}, {@link XrGraphicsBindingOpenGLXcbKHR}, {@link XrGraphicsBindingOpenGLXlibKHR}, {@link XrGraphicsBindingVulkanKHR}, {@link XrGraphicsRequirementsOpenGLESKHR}, {@link XrGraphicsRequirementsOpenGLKHR}, {@link XrGraphicsRequirementsVulkanKHR}, {@link XrHandJointLocationsEXT}, {@link XrHandJointVelocitiesEXT}, {@link XrHandJointsLocateInfoEXT}, {@link XrHandJointsMotionRangeInfoEXT}, {@link XrHandMeshMSFT}, {@link XrHandMeshSpaceCreateInfoMSFT}, {@link XrHandMeshUpdateInfoMSFT}, {@link XrHandPoseTypeInfoMSFT}, {@link XrHandTrackerCreateInfoEXT}, {@link XrHandTrackingAimStateFB}, {@link XrHandTrackingCapsulesStateFB}, {@link XrHandTrackingMeshFB}, {@link XrHandTrackingScaleFB}, {@link XrHapticActionInfo}, {@link XrHapticAmplitudeEnvelopeVibrationFB}, {@link XrHapticBaseHeader}, {@link XrHapticPcmVibrationFB}, {@link XrHapticVibration}, {@link XrHolographicWindowAttachmentMSFT}, {@link XrInputSourceLocalizedNameGetInfo}, {@link XrInstanceCreateInfo}, {@link XrInstanceCreateInfoAndroidKHR}, {@link XrInstanceProperties}, {@link XrInteractionProfileAnalogThresholdVALVE}, {@link XrInteractionProfileDpadBindingEXT}, {@link XrInteractionProfileState}, {@link XrInteractionProfileSuggestedBinding}, {@link XrKeyboardSpaceCreateInfoFB}, {@link XrKeyboardTrackingQueryFB}, {@link XrLoaderInitInfoAndroidKHR}, {@link XrLoaderInitInfoBaseHeaderKHR}, {@link XrLocalDimmingFrameEndInfoMETA}, {@link XrMarkerSpaceCreateInfoVARJO}, {@link XrNewSceneComputeInfoMSFT}, {@link XrPassthroughBrightnessContrastSaturationFB}, {@link XrPassthroughColorHTC}, {@link XrPassthroughColorMapMonoToMonoFB}, {@link XrPassthroughColorMapMonoToRgbaFB}, {@link XrPassthroughCreateInfoFB}, {@link XrPassthroughCreateInfoHTC}, {@link XrPassthroughKeyboardHandsIntensityFB}, {@link XrPassthroughLayerCreateInfoFB}, {@link XrPassthroughMeshTransformInfoHTC}, {@link XrPassthroughStyleFB}, {@link XrPerformanceMetricsCounterMETA}, {@link XrPerformanceMetricsStateMETA}, {@link XrReferenceSpaceCreateInfo}, {@link XrRenderModelBufferFB}, {@link XrRenderModelCapabilitiesRequestFB}, {@link XrRenderModelLoadInfoFB}, {@link XrRenderModelPathInfoFB}, {@link XrRenderModelPropertiesFB}, {@link XrRoomLayoutFB}, {@link XrSceneCaptureRequestInfoFB}, {@link XrSceneComponentLocationsMSFT}, {@link XrSceneComponentParentFilterInfoMSFT}, {@link XrSceneComponentsGetInfoMSFT}, {@link XrSceneComponentsLocateInfoMSFT}, {@link XrSceneComponentsMSFT}, {@link XrSceneCreateInfoMSFT}, {@link XrSceneDeserializeInfoMSFT}, {@link XrSceneMeshBuffersGetInfoMSFT}, {@link XrSceneMeshBuffersMSFT}, {@link XrSceneMeshIndicesUint16MSFT}, {@link XrSceneMeshIndicesUint32MSFT}, {@link XrSceneMeshVertexBufferMSFT}, {@link XrSceneMeshesMSFT}, {@link XrSceneObjectTypesFilterInfoMSFT}, {@link XrSceneObjectsMSFT}, {@link XrSceneObserverCreateInfoMSFT}, {@link XrScenePlaneAlignmentFilterInfoMSFT}, {@link XrScenePlanesMSFT}, {@link XrSecondaryViewConfigurationFrameEndInfoMSFT}, {@link XrSecondaryViewConfigurationFrameStateMSFT}, {@link XrSecondaryViewConfigurationLayerInfoMSFT}, {@link XrSecondaryViewConfigurationSessionBeginInfoMSFT}, {@link XrSecondaryViewConfigurationStateMSFT}, {@link XrSecondaryViewConfigurationSwapchainCreateInfoMSFT}, {@link XrSemanticLabelsFB}, {@link XrSerializedSceneFragmentDataGetInfoMSFT}, {@link XrSessionActionSetsAttachInfo}, {@link XrSessionBeginInfo}, {@link XrSessionCreateInfo}, {@link XrSessionCreateInfoOverlayEXTX}, {@link XrSpaceComponentFilterInfoFB}, {@link XrSpaceComponentStatusFB}, {@link XrSpaceComponentStatusSetInfoFB}, {@link XrSpaceContainerFB}, {@link XrSpaceEraseInfoFB}, {@link XrSpaceFilterInfoBaseHeaderFB}, {@link XrSpaceListSaveInfoFB}, {@link XrSpaceLocation}, {@link XrSpaceQueryInfoBaseHeaderFB}, {@link XrSpaceQueryInfoFB}, {@link XrSpaceQueryResultsFB}, {@link XrSpaceSaveInfoFB}, {@link XrSpaceShareInfoFB}, {@link XrSpaceStorageLocationFilterInfoFB}, {@link XrSpaceUserCreateInfoFB}, {@link XrSpaceUuidFilterInfoFB}, {@link XrSpaceVelocity}, {@link XrSpatialAnchorCreateInfoFB}, {@link XrSpatialAnchorCreateInfoMSFT}, {@link XrSpatialAnchorFromPersistedAnchorCreateInfoMSFT}, {@link XrSpatialAnchorPersistenceInfoMSFT}, {@link XrSpatialAnchorSpaceCreateInfoMSFT}, {@link XrSpatialGraphNodeBindingPropertiesGetInfoMSFT}, {@link XrSpatialGraphNodeBindingPropertiesMSFT}, {@link XrSpatialGraphNodeSpaceCreateInfoMSFT}, {@link XrSpatialGraphStaticNodeBindingCreateInfoMSFT}, {@link XrSwapchainCreateInfo}, {@link XrSwapchainCreateInfoFoveationFB}, {@link XrSwapchainImageAcquireInfo}, {@link XrSwapchainImageBaseHeader}, {@link XrSwapchainImageFoveationVulkanFB}, {@link XrSwapchainImageOpenGLESKHR}, {@link XrSwapchainImageOpenGLKHR}, {@link XrSwapchainImageReleaseInfo}, {@link XrSwapchainImageVulkanKHR}, {@link XrSwapchainImageWaitInfo}, {@link XrSwapchainStateBaseHeaderFB}, {@link XrSwapchainStateFoveationFB}, {@link XrSwapchainStateSamplerOpenGLESFB}, {@link XrSwapchainStateSamplerVulkanFB}, {@link XrSystemBodyTrackingPropertiesFB}, {@link XrSystemColorSpacePropertiesFB}, {@link XrSystemEyeGazeInteractionPropertiesEXT}, {@link XrSystemEyeTrackingPropertiesFB}, {@link XrSystemFaceTrackingPropertiesFB}, {@link XrSystemFacialTrackingPropertiesHTC}, {@link XrSystemForceFeedbackCurlPropertiesMNDX}, {@link XrSystemFoveatedRenderingPropertiesVARJO}, {@link XrSystemFoveationEyeTrackedPropertiesMETA}, {@link XrSystemGetInfo}, {@link XrSystemHandTrackingMeshPropertiesMSFT}, {@link XrSystemHandTrackingPropertiesEXT}, {@link XrSystemHeadsetIdPropertiesMETA}, {@link XrSystemKeyboardTrackingPropertiesFB}, {@link XrSystemMarkerTrackingPropertiesVARJO}, {@link XrSystemPassthroughProperties2FB}, {@link XrSystemPassthroughPropertiesFB}, {@link XrSystemProperties}, {@link XrSystemRenderModelPropertiesFB}, {@link XrSystemSpaceWarpPropertiesFB}, {@link XrSystemSpatialEntityPropertiesFB}, {@link XrTriangleMeshCreateInfoFB}, {@link XrView}, {@link XrViewConfigurationDepthRangeEXT}, {@link XrViewConfigurationProperties}, {@link XrViewConfigurationView}, {@link XrViewConfigurationViewFovEPIC}, {@link XrViewLocateFoveatedRenderingVARJO}, {@link XrViewLocateInfo}, {@link XrViewState}, {@link XrVisibilityMaskKHR}, {@link XrVisualMeshComputeLodInfoMSFT}, {@link XrViveTrackerPathsHTCX}, {@link XrVulkanDeviceCreateInfoKHR}, {@link XrVulkanGraphicsDeviceGetInfoKHR}, {@link XrVulkanInstanceCreateInfoKHR}, {@link XrVulkanSwapchainCreateInfoMETA}, {@link XrVulkanSwapchainFormatListCreateInfoKHR}, {@link #xrStructureTypeToString StructureTypeToString}
*
* Enum values:
*
@@ -272,59 +269,59 @@ public class XR10 {
* {@link #XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO}
* {@link #XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO}
*
- */
+ */
public static final int
- XR_TYPE_UNKNOWN = 0,
- XR_TYPE_API_LAYER_PROPERTIES = 1,
- XR_TYPE_EXTENSION_PROPERTIES = 2,
- XR_TYPE_INSTANCE_CREATE_INFO = 3,
- XR_TYPE_SYSTEM_GET_INFO = 4,
- XR_TYPE_SYSTEM_PROPERTIES = 5,
- XR_TYPE_VIEW_LOCATE_INFO = 6,
- XR_TYPE_VIEW = 7,
- XR_TYPE_SESSION_CREATE_INFO = 8,
- XR_TYPE_SWAPCHAIN_CREATE_INFO = 9,
- XR_TYPE_SESSION_BEGIN_INFO = 10,
- XR_TYPE_VIEW_STATE = 11,
- XR_TYPE_FRAME_END_INFO = 12,
- XR_TYPE_HAPTIC_VIBRATION = 13,
- XR_TYPE_EVENT_DATA_BUFFER = 16,
- XR_TYPE_EVENT_DATA_INSTANCE_LOSS_PENDING = 17,
- XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED = 18,
- XR_TYPE_ACTION_STATE_BOOLEAN = 23,
- XR_TYPE_ACTION_STATE_FLOAT = 24,
- XR_TYPE_ACTION_STATE_VECTOR2F = 25,
- XR_TYPE_ACTION_STATE_POSE = 27,
- XR_TYPE_ACTION_SET_CREATE_INFO = 28,
- XR_TYPE_ACTION_CREATE_INFO = 29,
- XR_TYPE_INSTANCE_PROPERTIES = 32,
- XR_TYPE_FRAME_WAIT_INFO = 33,
- XR_TYPE_COMPOSITION_LAYER_PROJECTION = 35,
- XR_TYPE_COMPOSITION_LAYER_QUAD = 36,
- XR_TYPE_REFERENCE_SPACE_CREATE_INFO = 37,
- XR_TYPE_ACTION_SPACE_CREATE_INFO = 38,
- XR_TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING = 40,
- XR_TYPE_VIEW_CONFIGURATION_VIEW = 41,
- XR_TYPE_SPACE_LOCATION = 42,
- XR_TYPE_SPACE_VELOCITY = 43,
- XR_TYPE_FRAME_STATE = 44,
- XR_TYPE_VIEW_CONFIGURATION_PROPERTIES = 45,
- XR_TYPE_FRAME_BEGIN_INFO = 46,
- XR_TYPE_COMPOSITION_LAYER_PROJECTION_VIEW = 48,
- XR_TYPE_EVENT_DATA_EVENTS_LOST = 49,
- XR_TYPE_INTERACTION_PROFILE_SUGGESTED_BINDING = 51,
- XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED = 52,
- XR_TYPE_INTERACTION_PROFILE_STATE = 53,
- XR_TYPE_SWAPCHAIN_IMAGE_ACQUIRE_INFO = 55,
- XR_TYPE_SWAPCHAIN_IMAGE_WAIT_INFO = 56,
- XR_TYPE_SWAPCHAIN_IMAGE_RELEASE_INFO = 57,
- XR_TYPE_ACTION_STATE_GET_INFO = 58,
- XR_TYPE_HAPTIC_ACTION_INFO = 59,
- XR_TYPE_SESSION_ACTION_SETS_ATTACH_INFO = 60,
- XR_TYPE_ACTIONS_SYNC_INFO = 61,
- XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO = 62,
- XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO = 63;
-
+ XR_TYPE_UNKNOWN = 0,
+ XR_TYPE_API_LAYER_PROPERTIES = 1,
+ XR_TYPE_EXTENSION_PROPERTIES = 2,
+ XR_TYPE_INSTANCE_CREATE_INFO = 3,
+ XR_TYPE_SYSTEM_GET_INFO = 4,
+ XR_TYPE_SYSTEM_PROPERTIES = 5,
+ XR_TYPE_VIEW_LOCATE_INFO = 6,
+ XR_TYPE_VIEW = 7,
+ XR_TYPE_SESSION_CREATE_INFO = 8,
+ XR_TYPE_SWAPCHAIN_CREATE_INFO = 9,
+ XR_TYPE_SESSION_BEGIN_INFO = 10,
+ XR_TYPE_VIEW_STATE = 11,
+ XR_TYPE_FRAME_END_INFO = 12,
+ XR_TYPE_HAPTIC_VIBRATION = 13,
+ XR_TYPE_EVENT_DATA_BUFFER = 16,
+ XR_TYPE_EVENT_DATA_INSTANCE_LOSS_PENDING = 17,
+ XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED = 18,
+ XR_TYPE_ACTION_STATE_BOOLEAN = 23,
+ XR_TYPE_ACTION_STATE_FLOAT = 24,
+ XR_TYPE_ACTION_STATE_VECTOR2F = 25,
+ XR_TYPE_ACTION_STATE_POSE = 27,
+ XR_TYPE_ACTION_SET_CREATE_INFO = 28,
+ XR_TYPE_ACTION_CREATE_INFO = 29,
+ XR_TYPE_INSTANCE_PROPERTIES = 32,
+ XR_TYPE_FRAME_WAIT_INFO = 33,
+ XR_TYPE_COMPOSITION_LAYER_PROJECTION = 35,
+ XR_TYPE_COMPOSITION_LAYER_QUAD = 36,
+ XR_TYPE_REFERENCE_SPACE_CREATE_INFO = 37,
+ XR_TYPE_ACTION_SPACE_CREATE_INFO = 38,
+ XR_TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING = 40,
+ XR_TYPE_VIEW_CONFIGURATION_VIEW = 41,
+ XR_TYPE_SPACE_LOCATION = 42,
+ XR_TYPE_SPACE_VELOCITY = 43,
+ XR_TYPE_FRAME_STATE = 44,
+ XR_TYPE_VIEW_CONFIGURATION_PROPERTIES = 45,
+ XR_TYPE_FRAME_BEGIN_INFO = 46,
+ XR_TYPE_COMPOSITION_LAYER_PROJECTION_VIEW = 48,
+ XR_TYPE_EVENT_DATA_EVENTS_LOST = 49,
+ XR_TYPE_INTERACTION_PROFILE_SUGGESTED_BINDING = 51,
+ XR_TYPE_EVENT_DATA_INTERACTION_PROFILE_CHANGED = 52,
+ XR_TYPE_INTERACTION_PROFILE_STATE = 53,
+ XR_TYPE_SWAPCHAIN_IMAGE_ACQUIRE_INFO = 55,
+ XR_TYPE_SWAPCHAIN_IMAGE_WAIT_INFO = 56,
+ XR_TYPE_SWAPCHAIN_IMAGE_RELEASE_INFO = 57,
+ XR_TYPE_ACTION_STATE_GET_INFO = 58,
+ XR_TYPE_HAPTIC_ACTION_INFO = 59,
+ XR_TYPE_SESSION_ACTION_SETS_ATTACH_INFO = 60,
+ XR_TYPE_ACTIONS_SYNC_INFO = 61,
+ XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO = 62,
+ XR_TYPE_INPUT_SOURCE_LOCALIZED_NAME_GET_INFO = 63;
+
/**
* XrFormFactor - Supported form factors
*
@@ -342,11 +339,11 @@ public class XR10 {
* See Also
*
* {@link #XR_NULL_SYSTEM_ID NULL_SYSTEM_ID}, {@link XrSystemGetInfo}, {@link #xrGetSystem GetSystem}
- */
+ */
public static final int
- XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY = 1,
- XR_FORM_FACTOR_HANDHELD_DISPLAY = 2;
-
+ XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY = 1,
+ XR_FORM_FACTOR_HANDHELD_DISPLAY = 2;
+
/**
* XrViewConfigurationType - Supported view configuration type
*
@@ -366,11 +363,11 @@ public class XR10 {
* See Also
*
* {@link XrEventDataVisibilityMaskChangedKHR}, {@link XrSecondaryViewConfigurationLayerInfoMSFT}, {@link XrSecondaryViewConfigurationSessionBeginInfoMSFT}, {@link XrSecondaryViewConfigurationStateMSFT}, {@link XrSecondaryViewConfigurationSwapchainCreateInfoMSFT}, {@link XrSessionBeginInfo}, {@link XrViewConfigurationProperties}, {@link XrViewLocateInfo}, {@link #xrEnumerateEnvironmentBlendModes EnumerateEnvironmentBlendModes}, {@link MSFTCompositionLayerReprojection#xrEnumerateReprojectionModesMSFT EnumerateReprojectionModesMSFT}, {@link #xrEnumerateViewConfigurationViews EnumerateViewConfigurationViews}, {@link #xrEnumerateViewConfigurations EnumerateViewConfigurations}, {@link #xrGetViewConfigurationProperties GetViewConfigurationProperties}, {@link KHRVisibilityMask#xrGetVisibilityMaskKHR GetVisibilityMaskKHR}
- */
+ */
public static final int
- XR_VIEW_CONFIGURATION_TYPE_PRIMARY_MONO = 1,
- XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO = 2;
-
+ XR_VIEW_CONFIGURATION_TYPE_PRIMARY_MONO = 1,
+ XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO = 2;
+
/**
* XrEnvironmentBlendMode - Environment blend modes
*
@@ -385,12 +382,12 @@ public class XR10 {
* See Also
*
* {@link XrFrameEndInfo}, {@link XrSecondaryViewConfigurationLayerInfoMSFT}, {@link #xrEnumerateEnvironmentBlendModes EnumerateEnvironmentBlendModes}
- */
+ */
public static final int
- XR_ENVIRONMENT_BLEND_MODE_OPAQUE = 1,
- XR_ENVIRONMENT_BLEND_MODE_ADDITIVE = 2,
- XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND = 3;
-
+ XR_ENVIRONMENT_BLEND_MODE_OPAQUE = 1,
+ XR_ENVIRONMENT_BLEND_MODE_ADDITIVE = 2,
+ XR_ENVIRONMENT_BLEND_MODE_ALPHA_BLEND = 3;
+
/**
* XrSpaceVelocityFlagBits - Space velocity flags
*
@@ -408,11 +405,11 @@ public class XR10 {
* See Also
*
* {@link XrSpaceVelocity}
- */
+ */
public static final int
- XR_SPACE_VELOCITY_LINEAR_VALID_BIT = 0x1,
- XR_SPACE_VELOCITY_ANGULAR_VALID_BIT = 0x2;
-
+ XR_SPACE_VELOCITY_LINEAR_VALID_BIT = 0x1,
+ XR_SPACE_VELOCITY_ANGULAR_VALID_BIT = 0x2;
+
/**
* XrReferenceSpaceType - Reference space types
*
@@ -453,12 +450,12 @@ public class XR10 {
* See Also
*
* {@link XrEventDataReferenceSpaceChangePending}, {@link XrReferenceSpaceCreateInfo}, {@link #xrEnumerateReferenceSpaces EnumerateReferenceSpaces}, {@link #xrGetReferenceSpaceBoundsRect GetReferenceSpaceBoundsRect}
- */
+ */
public static final int
- XR_REFERENCE_SPACE_TYPE_VIEW = 1,
- XR_REFERENCE_SPACE_TYPE_LOCAL = 2,
- XR_REFERENCE_SPACE_TYPE_STAGE = 3;
-
+ XR_REFERENCE_SPACE_TYPE_VIEW = 1,
+ XR_REFERENCE_SPACE_TYPE_LOCAL = 2,
+ XR_REFERENCE_SPACE_TYPE_STAGE = 3;
+
/**
* XrSpaceLocationFlagBits - Space location flags
*
@@ -478,13 +475,13 @@ public class XR10 {
* See Also
*
* {@link XrSpaceLocation}, {@link #xrLocateSpace LocateSpace}
- */
+ */
public static final int
- XR_SPACE_LOCATION_ORIENTATION_VALID_BIT = 0x1,
- XR_SPACE_LOCATION_POSITION_VALID_BIT = 0x2,
- XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT = 0x4,
- XR_SPACE_LOCATION_POSITION_TRACKED_BIT = 0x8;
-
+ XR_SPACE_LOCATION_ORIENTATION_VALID_BIT = 0x1,
+ XR_SPACE_LOCATION_POSITION_VALID_BIT = 0x2,
+ XR_SPACE_LOCATION_ORIENTATION_TRACKED_BIT = 0x4,
+ XR_SPACE_LOCATION_POSITION_TRACKED_BIT = 0x8;
+
/**
* XrSwapchainCreateFlagBits - Swapchain creation flags
*
@@ -504,11 +501,11 @@ public class XR10 {
* See Also
*
* {@link XrSwapchainCreateInfo}
- */
+ */
public static final int
- XR_SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT = 0x1,
- XR_SWAPCHAIN_CREATE_STATIC_IMAGE_BIT = 0x2;
-
+ XR_SWAPCHAIN_CREATE_PROTECTED_CONTENT_BIT = 0x1,
+ XR_SWAPCHAIN_CREATE_STATIC_IMAGE_BIT = 0x2;
+
/**
* XrSwapchainUsageFlagBits - Swapchain usage flags
*
@@ -533,16 +530,16 @@ public class XR10 {
* See Also
*
* {@link XrSwapchainCreateInfo}, {@link #xrCreateSwapchain CreateSwapchain}
- */
+ */
public static final int
- XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT = 0x1,
- XR_SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x2,
- XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT = 0x4,
- XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT = 0x8,
- XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT = 0x10,
- XR_SWAPCHAIN_USAGE_SAMPLED_BIT = 0x20,
- XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT = 0x40;
-
+ XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT = 0x1,
+ XR_SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = 0x2,
+ XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT = 0x4,
+ XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT = 0x8,
+ XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT = 0x10,
+ XR_SWAPCHAIN_USAGE_SAMPLED_BIT = 0x20,
+ XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT = 0x40;
+
/**
* XrCompositionLayerFlagBits - Composition layer flags
*
@@ -561,12 +558,12 @@ public class XR10 {
* See Also
*
* {@link XrCompositionLayerProjection}, {@link XrCompositionLayerQuad}
- */
+ */
public static final int
- XR_COMPOSITION_LAYER_CORRECT_CHROMATIC_ABERRATION_BIT = 0x1,
- XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT = 0x2,
- XR_COMPOSITION_LAYER_UNPREMULTIPLIED_ALPHA_BIT = 0x4;
-
+ XR_COMPOSITION_LAYER_CORRECT_CHROMATIC_ABERRATION_BIT = 0x1,
+ XR_COMPOSITION_LAYER_BLEND_TEXTURE_SOURCE_ALPHA_BIT = 0x2,
+ XR_COMPOSITION_LAYER_UNPREMULTIPLIED_ALPHA_BIT = 0x4;
+
/**
* XrViewStateFlagBits - View state flags
*
@@ -586,13 +583,13 @@ public class XR10 {
* See Also
*
* {@link XrView}, {@link XrViewState}, {@link #xrLocateViews LocateViews}
- */
+ */
public static final int
- XR_VIEW_STATE_ORIENTATION_VALID_BIT = 0x1,
- XR_VIEW_STATE_POSITION_VALID_BIT = 0x2,
- XR_VIEW_STATE_ORIENTATION_TRACKED_BIT = 0x4,
- XR_VIEW_STATE_POSITION_TRACKED_BIT = 0x8;
-
+ XR_VIEW_STATE_ORIENTATION_VALID_BIT = 0x1,
+ XR_VIEW_STATE_POSITION_VALID_BIT = 0x2,
+ XR_VIEW_STATE_ORIENTATION_TRACKED_BIT = 0x4,
+ XR_VIEW_STATE_POSITION_TRACKED_BIT = 0x8;
+
/**
* XrActionType - XrAction type
*
@@ -609,14 +606,14 @@ public class XR10 {
* See Also
*
* {@link XrActionCreateInfo}, {@link #xrCreateActionSet CreateActionSet}
- */
+ */
public static final int
- XR_ACTION_TYPE_BOOLEAN_INPUT = 1,
- XR_ACTION_TYPE_FLOAT_INPUT = 2,
- XR_ACTION_TYPE_VECTOR2F_INPUT = 3,
- XR_ACTION_TYPE_POSE_INPUT = 4,
- XR_ACTION_TYPE_VIBRATION_OUTPUT = 100;
-
+ XR_ACTION_TYPE_BOOLEAN_INPUT = 1,
+ XR_ACTION_TYPE_FLOAT_INPUT = 2,
+ XR_ACTION_TYPE_VECTOR2F_INPUT = 3,
+ XR_ACTION_TYPE_POSE_INPUT = 4,
+ XR_ACTION_TYPE_VIBRATION_OUTPUT = 100;
+
/**
* XrInputSourceLocalizedNameFlagBits - Input source localized name flags
*
@@ -635,12 +632,12 @@ public class XR10 {
* See Also
*
* {@link #xrGetInputSourceLocalizedName GetInputSourceLocalizedName}
- */
+ */
public static final int
- XR_INPUT_SOURCE_LOCALIZED_NAME_USER_PATH_BIT = 0x1,
- XR_INPUT_SOURCE_LOCALIZED_NAME_INTERACTION_PROFILE_BIT = 0x2,
- XR_INPUT_SOURCE_LOCALIZED_NAME_COMPONENT_BIT = 0x4;
-
+ XR_INPUT_SOURCE_LOCALIZED_NAME_USER_PATH_BIT = 0x1,
+ XR_INPUT_SOURCE_LOCALIZED_NAME_INTERACTION_PROFILE_BIT = 0x2,
+ XR_INPUT_SOURCE_LOCALIZED_NAME_COMPONENT_BIT = 0x4;
+
/**
* XrEyeVisibility - Eye visibility selector
*
@@ -655,12 +652,12 @@ public class XR10 {
* See Also
*
* {@link XrCompositionLayerCubeKHR}, {@link XrCompositionLayerCylinderKHR}, {@link XrCompositionLayerEquirect2KHR}, {@link XrCompositionLayerEquirectKHR}, {@link XrCompositionLayerQuad}
- */
+ */
public static final int
- XR_EYE_VISIBILITY_BOTH = 0,
- XR_EYE_VISIBILITY_LEFT = 1,
- XR_EYE_VISIBILITY_RIGHT = 2;
-
+ XR_EYE_VISIBILITY_BOTH = 0,
+ XR_EYE_VISIBILITY_LEFT = 1,
+ XR_EYE_VISIBILITY_RIGHT = 2;
+
/**
* XrSessionState - Session lifecycle state
*
@@ -669,10 +666,10 @@ public class XR10 {
*
* - {@link #XR_SESSION_STATE_UNKNOWN SESSION_STATE_UNKNOWN}. An unknown state. The runtime must not return this value in an {@link XrEventDataSessionStateChanged} event.
* - {@link #XR_SESSION_STATE_IDLE SESSION_STATE_IDLE}. The initial state after calling {@link #xrCreateSession CreateSession} or returned to after calling {@link #xrEndSession EndSession}.
- * - {@link #XR_SESSION_STATE_READY SESSION_STATE_READY}. The application is ready to call {@link #xrBeginSession BeginSession} and sync its frame loop with the runtime.
+ * - {@link #XR_SESSION_STATE_READY SESSION_STATE_READY}. The application is ready to call {@link #xrBeginSession BeginSession} and sync its frame loop with the runtime.
* - {@link #XR_SESSION_STATE_SYNCHRONIZED SESSION_STATE_SYNCHRONIZED}. The application has synced its frame loop with the runtime but is not visible to the user.
- * - {@link #XR_SESSION_STATE_VISIBLE SESSION_STATE_VISIBLE}. The application has synced its frame loop with the runtime and is visible to the user but cannot receive XR input.
- * - {@link #XR_SESSION_STATE_FOCUSED SESSION_STATE_FOCUSED}. The application has synced its frame loop with the runtime, is visible to the user and can receive XR input.
+ * - {@link #XR_SESSION_STATE_VISIBLE SESSION_STATE_VISIBLE}. The application has synced its frame loop with the runtime and is visible to the user but cannot receive XR input.
+ * - {@link #XR_SESSION_STATE_FOCUSED SESSION_STATE_FOCUSED}. The application has synced its frame loop with the runtime, is visible to the user and can receive XR input.
* - {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING}. The application should exit its frame loop and call {@link #xrEndSession EndSession}.
* - {@link #XR_SESSION_STATE_LOSS_PENDING SESSION_STATE_LOSS_PENDING}. The session is in the process of being lost. The application should destroy the current session and can optionally recreate it.
* - {@link #XR_SESSION_STATE_EXITING SESSION_STATE_EXITING}. The application should end its XR experience and not automatically restart it.
@@ -684,11 +681,11 @@ public class XR10 {
*
* Receiving the {@link #XR_SESSION_STATE_READY SESSION_STATE_READY} state indicates that the runtime desires the application to prepare rendering resources, begin its session and synchronize its frame loop with the runtime. The application does this by successfully calling {@link #xrBeginSession BeginSession} and then running its frame loop by calling {@link #xrWaitFrame WaitFrame}, {@link #xrBeginFrame BeginFrame} and {@link #xrEndFrame EndFrame} in a loop. If the runtime wishes to return the session to the {@link #XR_SESSION_STATE_IDLE SESSION_STATE_IDLE} state, it must wait until the application calls {@link #xrBeginSession BeginSession}. After returning from the {@link #xrBeginSession BeginSession} call, the runtime may then immediately transition forward through the {@link #XR_SESSION_STATE_SYNCHRONIZED SESSION_STATE_SYNCHRONIZED} state to the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state, to request that the application end this session. If the system supports a user engagement sensor and runtime is in {@link #XR_SESSION_STATE_IDLE SESSION_STATE_IDLE} state, the runtime should not transition to the {@link #XR_SESSION_STATE_READY SESSION_STATE_READY} state until the user starts engaging with the device.
*
- * Receiving the {@link #XR_SESSION_STATE_SYNCHRONIZED SESSION_STATE_SYNCHRONIZED} state indicates that the application has synchronized its frame loop with the runtime, but its frames are not visible to the user. The application should continue running its frame loop by calling {@link #xrWaitFrame WaitFrame}, {@link #xrBeginFrame BeginFrame} and {@link #xrEndFrame EndFrame}, although it should avoid heavy GPU work so that other visible applications can take CPU and GPU precedence. The application can save resources here by skipping rendering and not submitting any composition layers until {@link #xrWaitFrame WaitFrame} returns an {@link XrFrameState} with {@code shouldRender} set to true. A runtime may use this frame synchronization to facilitate seamless switching from a previous XR application to this application on a frame boundary.
+ * Receiving the {@link #XR_SESSION_STATE_SYNCHRONIZED SESSION_STATE_SYNCHRONIZED} state indicates that the application has synchronized its frame loop with the runtime, but its frames are not visible to the user. The application should continue running its frame loop by calling {@link #xrWaitFrame WaitFrame}, {@link #xrBeginFrame BeginFrame} and {@link #xrEndFrame EndFrame}, although it should avoid heavy GPU work so that other visible applications can take CPU and GPU precedence. The application can save resources here by skipping rendering and not submitting any composition layers until {@link #xrWaitFrame WaitFrame} returns an {@link XrFrameState} with {@code shouldRender} set to true. A runtime may use this frame synchronization to facilitate seamless switching from a previous XR application to this application on a frame boundary.
*
- * Receiving the {@link #XR_SESSION_STATE_VISIBLE SESSION_STATE_VISIBLE} state indicates that the application has synchronized its frame loop with the runtime, and the session’s frames will be visible to the user, but the session is not eligible to receive XR input. An application may be visible but not have focus, for example when the runtime is composing a modal pop-up on top of the application’s rendered frames. The application should continue running its frame loop, rendering and submitting its composition layers, although it may wish to pause its experience, as users cannot interact with the application at this time. It is important for applications to continue rendering when visible, even when they do not have focus, so the user continues to see something reasonable underneath modal pop-ups. Runtimes should make input actions inactive while the application is unfocused, and applications should react to an inactive input action by skipping rendering of that action’s input avatar (depictions of hands or other tracked objects controlled by the user).
+ * Receiving the {@link #XR_SESSION_STATE_VISIBLE SESSION_STATE_VISIBLE} state indicates that the application has synchronized its frame loop with the runtime, and the session’s frames will be visible to the user, but the session is not eligible to receive XR input. An application may be visible but not have focus, for example when the runtime is composing a modal pop-up on top of the application’s rendered frames. The application should continue running its frame loop, rendering and submitting its composition layers, although it may wish to pause its experience, as users cannot interact with the application at this time. It is important for applications to continue rendering when visible, even when they do not have focus, so the user continues to see something reasonable underneath modal pop-ups. Runtimes should make input actions inactive while the application is unfocused, and applications should react to an inactive input action by skipping rendering of that action’s input avatar (depictions of hands or other tracked objects controlled by the user).
*
- * Receiving the {@link #XR_SESSION_STATE_FOCUSED SESSION_STATE_FOCUSED} state indicates that the application has synchronized its frame loop with the runtime, the session’s frames will be visible to the user, and the session is eligible to receive XR input. The runtime should only give one session XR input focus at any given time. The application should be running its frame loop, rendering and submitting composition layers, including input avatars (depictions of hands or other tracked objects controlled by the user) for any input actions that are active. The runtime should avoid rendering its own input avatars when an application is focused, unless input from a given source is being captured by the runtime at the moment.
+ * Receiving the {@link #XR_SESSION_STATE_FOCUSED SESSION_STATE_FOCUSED} state indicates that the application has synchronized its frame loop with the runtime, the session’s frames will be visible to the user, and the session is eligible to receive XR input. The runtime should only give one session XR input focus at any given time. The application should be running its frame loop, rendering and submitting composition layers, including input avatars (depictions of hands or other tracked objects controlled by the user) for any input actions that are active. The runtime should avoid rendering its own input avatars when an application is focused, unless input from a given source is being captured by the runtime at the moment.
*
* Receiving the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state indicates that the runtime has determined that the application should halt its rendering loop. Applications should exit their rendering loop and call {@link #xrEndSession EndSession} when in this state. A possible reason for this would be to minimize contention between multiple applications. If the system supports a user engagement sensor and the session is running, the runtime should transition to the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state when the user stops engaging with the device.
*
@@ -699,18 +696,18 @@ public class XR10 {
* See Also
*
* {@link XrEventDataSessionStateChanged}, {@link #xrPollEvent PollEvent}
- */
+ */
public static final int
- XR_SESSION_STATE_UNKNOWN = 0,
- XR_SESSION_STATE_IDLE = 1,
- XR_SESSION_STATE_READY = 2,
- XR_SESSION_STATE_SYNCHRONIZED = 3,
- XR_SESSION_STATE_VISIBLE = 4,
- XR_SESSION_STATE_FOCUSED = 5,
- XR_SESSION_STATE_STOPPING = 6,
- XR_SESSION_STATE_LOSS_PENDING = 7,
- XR_SESSION_STATE_EXITING = 8;
-
+ XR_SESSION_STATE_UNKNOWN = 0,
+ XR_SESSION_STATE_IDLE = 1,
+ XR_SESSION_STATE_READY = 2,
+ XR_SESSION_STATE_SYNCHRONIZED = 3,
+ XR_SESSION_STATE_VISIBLE = 4,
+ XR_SESSION_STATE_FOCUSED = 5,
+ XR_SESSION_STATE_STOPPING = 6,
+ XR_SESSION_STATE_LOSS_PENDING = 7,
+ XR_SESSION_STATE_EXITING = 8;
+
/**
* XrObjectType - Specify an enumeration to track object handle types
*
@@ -736,76 +733,76 @@ public class XR10 {
* See Also
*
* {@link XrDebugUtilsObjectNameInfoEXT}
- */
+ */
public static final int
- XR_OBJECT_TYPE_UNKNOWN = 0,
- XR_OBJECT_TYPE_INSTANCE = 1,
- XR_OBJECT_TYPE_SESSION = 2,
- XR_OBJECT_TYPE_SWAPCHAIN = 3,
- XR_OBJECT_TYPE_SPACE = 4,
- XR_OBJECT_TYPE_ACTION_SET = 5,
- XR_OBJECT_TYPE_ACTION = 6;
-
- /** OpenXR current version number. */
- public static final long XR_CURRENT_API_VERSION = XR_MAKE_VERSION(1, 0, 29);
-
- /** Compile-time symbols, ignore. */
+ XR_OBJECT_TYPE_UNKNOWN = 0,
+ XR_OBJECT_TYPE_INSTANCE = 1,
+ XR_OBJECT_TYPE_SESSION = 2,
+ XR_OBJECT_TYPE_SWAPCHAIN = 3,
+ XR_OBJECT_TYPE_SPACE = 4,
+ XR_OBJECT_TYPE_ACTION_SET = 5,
+ XR_OBJECT_TYPE_ACTION = 6;
+
+ /** OpenXR current version number. */
+ public static final long XR_CURRENT_API_VERSION = XR_MAKE_VERSION(1, 0, 29);
+
+ /** Compile-time symbols, ignore. */
public static final int
- XR_USE_GRAPHICS_API_OPENGL = 0,
- XR_USE_GRAPHICS_API_OPENGL_ES = 0,
- XR_USE_GRAPHICS_API_VULKAN = 0,
- XR_USE_PLATFORM_EGL = 0,
- XR_USE_PLATFORM_WIN32 = 0,
- XR_USE_PLATFORM_XLIB = 0,
- XR_USE_PLATFORM_XCB = 0,
- XR_USE_PLATFORM_WAYLAND = 0;
-
- /** API Constants */
+ XR_USE_GRAPHICS_API_OPENGL = 0,
+ XR_USE_GRAPHICS_API_OPENGL_ES = 0,
+ XR_USE_GRAPHICS_API_VULKAN = 0,
+ XR_USE_PLATFORM_EGL = 0,
+ XR_USE_PLATFORM_WIN32 = 0,
+ XR_USE_PLATFORM_XLIB = 0,
+ XR_USE_PLATFORM_XCB = 0,
+ XR_USE_PLATFORM_WAYLAND = 0;
+
+ /** API Constants */
public static final long
- XR_NULL_HANDLE = 0x0L,
- XR_NULL_PATH = 0x0L,
- XR_NULL_SYSTEM_ID = 0x0L,
- XR_NO_DURATION = 0x0L,
- XR_INFINITE_DURATION = 0x7FFF_FFFF_FFFF_FFFFL,
- XR_MIN_HAPTIC_DURATION = 0xFFFFFFFFFFFFFFFFL,
- XR_MAX_EVENT_DATA_SIZE = XrEventDataBuffer.SIZEOF;
-
- /** API Constants */
- public static final float XR_FREQUENCY_UNSPECIFIED = 0f;
-
- /** API Constants */
+ XR_NULL_HANDLE = 0x0L,
+ XR_NULL_PATH = 0x0L,
+ XR_NULL_SYSTEM_ID = 0x0L,
+ XR_NO_DURATION = 0x0L,
+ XR_INFINITE_DURATION = 0x7FFF_FFFF_FFFF_FFFFL,
+ XR_MIN_HAPTIC_DURATION = 0xFFFFFFFFFFFFFFFFL,
+ XR_MAX_EVENT_DATA_SIZE = XrEventDataBuffer.SIZEOF;
+
+ /** API Constants */
+ public static final float XR_FREQUENCY_UNSPECIFIED = 0f;
+
+ /** API Constants */
public static final int
- XR_TRUE = 1,
- XR_FALSE = 0,
- XR_MAX_EXTENSION_NAME_SIZE = 128,
- XR_MAX_API_LAYER_NAME_SIZE = 256,
- XR_MAX_API_LAYER_DESCRIPTION_SIZE = 256,
- XR_MAX_SYSTEM_NAME_SIZE = 256,
- XR_MAX_APPLICATION_NAME_SIZE = 128,
- XR_MAX_ENGINE_NAME_SIZE = 128,
- XR_MAX_RUNTIME_NAME_SIZE = 128,
- XR_MAX_PATH_LENGTH = 256,
- XR_MAX_STRUCTURE_NAME_SIZE = 64,
- XR_MAX_RESULT_STRING_SIZE = 64,
- XR_MAX_GRAPHICS_APIS_SUPPORTED = 32,
- XR_MAX_ACTION_SET_NAME_SIZE = 64,
- XR_MAX_ACTION_NAME_SIZE = 64,
- XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE = 128,
- XR_MAX_LOCALIZED_ACTION_NAME_SIZE = 128,
- XR_MIN_COMPOSITION_LAYERS_SUPPORTED = 16;
+ XR_TRUE = 1,
+ XR_FALSE = 0,
+ XR_MAX_EXTENSION_NAME_SIZE = 128,
+ XR_MAX_API_LAYER_NAME_SIZE = 256,
+ XR_MAX_API_LAYER_DESCRIPTION_SIZE = 256,
+ XR_MAX_SYSTEM_NAME_SIZE = 256,
+ XR_MAX_APPLICATION_NAME_SIZE = 128,
+ XR_MAX_ENGINE_NAME_SIZE = 128,
+ XR_MAX_RUNTIME_NAME_SIZE = 128,
+ XR_MAX_PATH_LENGTH = 256,
+ XR_MAX_STRUCTURE_NAME_SIZE = 64,
+ XR_MAX_RESULT_STRING_SIZE = 64,
+ XR_MAX_GRAPHICS_APIS_SUPPORTED = 32,
+ XR_MAX_ACTION_SET_NAME_SIZE = 64,
+ XR_MAX_ACTION_NAME_SIZE = 64,
+ XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE = 128,
+ XR_MAX_LOCALIZED_ACTION_NAME_SIZE = 128,
+ XR_MIN_COMPOSITION_LAYERS_SUPPORTED = 16;
protected XR10() {
throw new UnsupportedOperationException();
- }
-
- // --- [ xrGetInstanceProcAddr ] ---
-
- /** Unsafe version of: {@link #xrGetInstanceProcAddr GetInstanceProcAddr} */
- public static int nxrGetInstanceProcAddr(long instance, long name, long function) {
- long __functionAddress = XR.getGlobalCommands().xrGetInstanceProcAddr;
- return callPPPI(instance, name, function, __functionAddress);
- }
-
+ }
+
+ // --- [ xrGetInstanceProcAddr ] ---
+
+ /** Unsafe version of: {@link #xrGetInstanceProcAddr GetInstanceProcAddr} */
+ public static int nxrGetInstanceProcAddr(long instance, long name, long function) {
+ long __functionAddress = XR.getGlobalCommands().xrGetInstanceProcAddr;
+ return callPPPI(instance, name, function, __functionAddress);
+ }
+
/**
* Gets a function pointer for an OpenXR function.
*
@@ -894,16 +891,16 @@ public static int nxrGetInstanceProcAddr(long instance, long name, long function
* @param instance the instance that the function pointer will be compatible with, or {@code NULL} for functions not dependent on any instance.
* @param name the name of the function to obtain.
* @param function the address of the function pointer to get.
- */
- @NativeType("XrResult")
- public static int xrGetInstanceProcAddr(@Nullable XrInstance instance, @NativeType("char const *") ByteBuffer name, @NativeType("PFN_xrVoidFunction *") PointerBuffer function) {
- if (CHECKS) {
- checkNT1(name);
- check(function, 1);
- }
- return nxrGetInstanceProcAddr(memAddressSafe(instance), memAddress(name), memAddress(function));
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetInstanceProcAddr(@Nullable XrInstance instance, @NativeType("char const *") ByteBuffer name, @NativeType("PFN_xrVoidFunction *") PointerBuffer function) {
+ if (CHECKS) {
+ checkNT1(name);
+ check(function, 1);
+ }
+ return nxrGetInstanceProcAddr(memAddressSafe(instance), memAddress(name), memAddress(function));
+ }
+
/**
* Gets a function pointer for an OpenXR function.
*
@@ -992,34 +989,34 @@ public static int xrGetInstanceProcAddr(@Nullable XrInstance instance, @NativeTy
* @param instance the instance that the function pointer will be compatible with, or {@code NULL} for functions not dependent on any instance.
* @param name the name of the function to obtain.
* @param function the address of the function pointer to get.
- */
- @NativeType("XrResult")
- public static int xrGetInstanceProcAddr(@Nullable XrInstance instance, @NativeType("char const *") CharSequence name, @NativeType("PFN_xrVoidFunction *") PointerBuffer function) {
- if (CHECKS) {
- check(function, 1);
- }
- MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
- try {
- stack.nUTF8(name, true);
- long nameEncoded = stack.getPointerAddress();
- return nxrGetInstanceProcAddr(memAddressSafe(instance), nameEncoded, memAddress(function));
- } finally {
- stack.setPointer(stackPointer);
- }
- }
-
- // --- [ xrEnumerateApiLayerProperties ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetInstanceProcAddr(@Nullable XrInstance instance, @NativeType("char const *") CharSequence name, @NativeType("PFN_xrVoidFunction *") PointerBuffer function) {
+ if (CHECKS) {
+ check(function, 1);
+ }
+ MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
+ try {
+ stack.nUTF8(name, true);
+ long nameEncoded = stack.getPointerAddress();
+ return nxrGetInstanceProcAddr(memAddressSafe(instance), nameEncoded, memAddress(function));
+ } finally {
+ stack.setPointer(stackPointer);
+ }
+ }
+
+ // --- [ xrEnumerateApiLayerProperties ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateApiLayerProperties EnumerateApiLayerProperties}
*
* @param propertyCapacityInput the capacity of the {@code properties} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateApiLayerProperties(int propertyCapacityInput, long propertyCountOutput, long properties) {
- long __functionAddress = XR.getGlobalCommands().xrEnumerateApiLayerProperties;
- return callPPI(propertyCapacityInput, propertyCountOutput, properties, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateApiLayerProperties(int propertyCapacityInput, long propertyCountOutput, long properties) {
+ long __functionAddress = XR.getGlobalCommands().xrEnumerateApiLayerProperties;
+ return callPPI(propertyCapacityInput, propertyCountOutput, properties, __functionAddress);
+ }
+
/**
* Returns up to requested number of global layer properties.
*
@@ -1068,27 +1065,27 @@ public static int nxrEnumerateApiLayerProperties(int propertyCapacityInput, long
*
* @param propertyCountOutput a pointer to the count of {@code properties} written, or a pointer to the required capacity in the case that {@code propertyCapacityInput} is insufficient.
* @param properties a pointer to an array of {@link XrApiLayerProperties} structures, but can be {@code NULL} if {@code propertyCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateApiLayerProperties(@NativeType("uint32_t *") IntBuffer propertyCountOutput, @Nullable @NativeType("XrApiLayerProperties *") XrApiLayerProperties.Buffer properties) {
- if (CHECKS) {
- check(propertyCountOutput, 1);
- }
- return nxrEnumerateApiLayerProperties(remainingSafe(properties), memAddress(propertyCountOutput), memAddressSafe(properties));
- }
-
- // --- [ xrEnumerateInstanceExtensionProperties ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateApiLayerProperties(@NativeType("uint32_t *") IntBuffer propertyCountOutput, @Nullable @NativeType("XrApiLayerProperties *") XrApiLayerProperties.Buffer properties) {
+ if (CHECKS) {
+ check(propertyCountOutput, 1);
+ }
+ return nxrEnumerateApiLayerProperties(remainingSafe(properties), memAddress(propertyCountOutput), memAddressSafe(properties));
+ }
+
+ // --- [ xrEnumerateInstanceExtensionProperties ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateInstanceExtensionProperties EnumerateInstanceExtensionProperties}
*
* @param propertyCapacityInput the capacity of the {@code properties} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateInstanceExtensionProperties(long layerName, int propertyCapacityInput, long propertyCountOutput, long properties) {
- long __functionAddress = XR.getGlobalCommands().xrEnumerateInstanceExtensionProperties;
- return callPPPI(layerName, propertyCapacityInput, propertyCountOutput, properties, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateInstanceExtensionProperties(long layerName, int propertyCapacityInput, long propertyCountOutput, long properties) {
+ long __functionAddress = XR.getGlobalCommands().xrEnumerateInstanceExtensionProperties;
+ return callPPPI(layerName, propertyCapacityInput, propertyCountOutput, properties, __functionAddress);
+ }
+
/**
* Returns properties of available instance extensions.
*
@@ -1140,16 +1137,16 @@ public static int nxrEnumerateInstanceExtensionProperties(long layerName, int pr
* @param layerName either {@code NULL} or a pointer to a string naming the API layer to retrieve extensions from, as returned by {@link #xrEnumerateApiLayerProperties EnumerateApiLayerProperties}.
* @param propertyCountOutput a pointer to the count of {@code properties} written, or a pointer to the required capacity in the case that {@code propertyCapacityInput} is insufficient.
* @param properties a pointer to an array of {@link XrExtensionProperties} structures, but can be {@code NULL} if {@code propertyCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateInstanceExtensionProperties(@Nullable @NativeType("char const *") ByteBuffer layerName, @NativeType("uint32_t *") IntBuffer propertyCountOutput, @Nullable @NativeType("XrExtensionProperties *") XrExtensionProperties.Buffer properties) {
- if (CHECKS) {
- checkNT1Safe(layerName);
- check(propertyCountOutput, 1);
- }
- return nxrEnumerateInstanceExtensionProperties(memAddressSafe(layerName), remainingSafe(properties), memAddress(propertyCountOutput), memAddressSafe(properties));
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateInstanceExtensionProperties(@Nullable @NativeType("char const *") ByteBuffer layerName, @NativeType("uint32_t *") IntBuffer propertyCountOutput, @Nullable @NativeType("XrExtensionProperties *") XrExtensionProperties.Buffer properties) {
+ if (CHECKS) {
+ checkNT1Safe(layerName);
+ check(propertyCountOutput, 1);
+ }
+ return nxrEnumerateInstanceExtensionProperties(memAddressSafe(layerName), remainingSafe(properties), memAddress(propertyCountOutput), memAddressSafe(properties));
+ }
+
/**
* Returns properties of available instance extensions.
*
@@ -1201,33 +1198,33 @@ public static int xrEnumerateInstanceExtensionProperties(@Nullable @NativeType("
* @param layerName either {@code NULL} or a pointer to a string naming the API layer to retrieve extensions from, as returned by {@link #xrEnumerateApiLayerProperties EnumerateApiLayerProperties}.
* @param propertyCountOutput a pointer to the count of {@code properties} written, or a pointer to the required capacity in the case that {@code propertyCapacityInput} is insufficient.
* @param properties a pointer to an array of {@link XrExtensionProperties} structures, but can be {@code NULL} if {@code propertyCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateInstanceExtensionProperties(@Nullable @NativeType("char const *") CharSequence layerName, @NativeType("uint32_t *") IntBuffer propertyCountOutput, @Nullable @NativeType("XrExtensionProperties *") XrExtensionProperties.Buffer properties) {
- if (CHECKS) {
- check(propertyCountOutput, 1);
- }
- MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
- try {
- stack.nUTF8Safe(layerName, true);
- long layerNameEncoded = layerName == null ? NULL : stack.getPointerAddress();
- return nxrEnumerateInstanceExtensionProperties(layerNameEncoded, remainingSafe(properties), memAddress(propertyCountOutput), memAddressSafe(properties));
- } finally {
- stack.setPointer(stackPointer);
- }
- }
-
- // --- [ xrCreateInstance ] ---
-
- /** Unsafe version of: {@link #xrCreateInstance CreateInstance} */
- public static int nxrCreateInstance(long createInfo, long instance) {
- long __functionAddress = XR.getGlobalCommands().xrCreateInstance;
- if (CHECKS) {
- XrInstanceCreateInfo.validate(createInfo);
- }
- return callPPI(createInfo, instance, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateInstanceExtensionProperties(@Nullable @NativeType("char const *") CharSequence layerName, @NativeType("uint32_t *") IntBuffer propertyCountOutput, @Nullable @NativeType("XrExtensionProperties *") XrExtensionProperties.Buffer properties) {
+ if (CHECKS) {
+ check(propertyCountOutput, 1);
+ }
+ MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
+ try {
+ stack.nUTF8Safe(layerName, true);
+ long layerNameEncoded = layerName == null ? NULL : stack.getPointerAddress();
+ return nxrEnumerateInstanceExtensionProperties(layerNameEncoded, remainingSafe(properties), memAddress(propertyCountOutput), memAddressSafe(properties));
+ } finally {
+ stack.setPointer(stackPointer);
+ }
+ }
+
+ // --- [ xrCreateInstance ] ---
+
+ /** Unsafe version of: {@link #xrCreateInstance CreateInstance} */
+ public static int nxrCreateInstance(long createInfo, long instance) {
+ long __functionAddress = XR.getGlobalCommands().xrCreateInstance;
+ if (CHECKS) {
+ XrInstanceCreateInfo.validate(createInfo);
+ }
+ return callPPI(createInfo, instance, __functionAddress);
+ }
+
/**
* Creates an OpenXR Instance.
*
@@ -1283,17 +1280,17 @@ public static int nxrCreateInstance(long createInfo, long instance) {
*
* @param createInfo points to an instance of {@link XrInstanceCreateInfo} controlling creation of the instance.
* @param instance points to an {@code XrInstance} handle in which the resulting instance is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateInstance(@NativeType("XrInstanceCreateInfo const *") XrInstanceCreateInfo createInfo, @NativeType("XrInstance *") PointerBuffer instance) {
- if (CHECKS) {
- check(instance, 1);
- }
- return nxrCreateInstance(createInfo.address(), memAddress(instance));
- }
-
- // --- [ xrDestroyInstance ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateInstance(@NativeType("XrInstanceCreateInfo const *") XrInstanceCreateInfo createInfo, @NativeType("XrInstance *") PointerBuffer instance) {
+ if (CHECKS) {
+ check(instance, 1);
+ }
+ return nxrCreateInstance(createInfo.address(), memAddress(instance));
+ }
+
+ // --- [ xrDestroyInstance ] ---
+
/**
* Destroy an instance of OpenXR.
*
@@ -1337,21 +1334,21 @@ public static int xrCreateInstance(@NativeType("XrInstanceCreateInfo const *") X
* - {@link #XR_ERROR_HANDLE_INVALID ERROR_HANDLE_INVALID}
*
*
- */
- @NativeType("XrResult")
- public static int xrDestroyInstance(XrInstance instance) {
- long __functionAddress = instance.getCapabilities().xrDestroyInstance;
- return callPI(instance.address(), __functionAddress);
- }
-
- // --- [ xrGetInstanceProperties ] ---
-
- /** Unsafe version of: {@link #xrGetInstanceProperties GetInstanceProperties} */
- public static int nxrGetInstanceProperties(XrInstance instance, long instanceProperties) {
- long __functionAddress = instance.getCapabilities().xrGetInstanceProperties;
- return callPPI(instance.address(), instanceProperties, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroyInstance(XrInstance instance) {
+ long __functionAddress = instance.getCapabilities().xrDestroyInstance;
+ return callPI(instance.address(), __functionAddress);
+ }
+
+ // --- [ xrGetInstanceProperties ] ---
+
+ /** Unsafe version of: {@link #xrGetInstanceProperties GetInstanceProperties} */
+ public static int nxrGetInstanceProperties(XrInstance instance, long instanceProperties) {
+ long __functionAddress = instance.getCapabilities().xrGetInstanceProperties;
+ return callPPI(instance.address(), instanceProperties, __functionAddress);
+ }
+
/**
* Gets information about the instance.
*
@@ -1397,20 +1394,20 @@ public static int nxrGetInstanceProperties(XrInstance instance, long instancePro
*
* @param instance a handle to an {@code XrInstance} previously created with {@link #xrCreateInstance CreateInstance}.
* @param instanceProperties points to an {@link XrInstanceProperties} which describes the {@code instance}.
- */
- @NativeType("XrResult")
- public static int xrGetInstanceProperties(XrInstance instance, @NativeType("XrInstanceProperties *") XrInstanceProperties instanceProperties) {
- return nxrGetInstanceProperties(instance, instanceProperties.address());
- }
-
- // --- [ xrPollEvent ] ---
-
- /** Unsafe version of: {@link #xrPollEvent PollEvent} */
- public static int nxrPollEvent(XrInstance instance, long eventData) {
- long __functionAddress = instance.getCapabilities().xrPollEvent;
- return callPPI(instance.address(), eventData, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetInstanceProperties(XrInstance instance, @NativeType("XrInstanceProperties *") XrInstanceProperties instanceProperties) {
+ return nxrGetInstanceProperties(instance, instanceProperties.address());
+ }
+
+ // --- [ xrPollEvent ] ---
+
+ /** Unsafe version of: {@link #xrPollEvent PollEvent} */
+ public static int nxrPollEvent(XrInstance instance, long eventData) {
+ long __functionAddress = instance.getCapabilities().xrPollEvent;
+ return callPPI(instance.address(), eventData, __functionAddress);
+ }
+
/**
* Polls for events.
*
@@ -1470,20 +1467,20 @@ public static int nxrPollEvent(XrInstance instance, long eventData) {
* See Also
*
* {@link XrEventDataBuffer}
- */
- @NativeType("XrResult")
- public static int xrPollEvent(XrInstance instance, @NativeType("XrEventDataBuffer *") XrEventDataBuffer eventData) {
- return nxrPollEvent(instance, eventData.address());
- }
-
- // --- [ xrResultToString ] ---
-
- /** Unsafe version of: {@link #xrResultToString ResultToString} */
- public static int nxrResultToString(XrInstance instance, int value, long buffer) {
- long __functionAddress = instance.getCapabilities().xrResultToString;
- return callPPI(instance.address(), value, buffer, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrPollEvent(XrInstance instance, @NativeType("XrEventDataBuffer *") XrEventDataBuffer eventData) {
+ return nxrPollEvent(instance, eventData.address());
+ }
+
+ // --- [ xrResultToString ] ---
+
+ /** Unsafe version of: {@link #xrResultToString ResultToString} */
+ public static int nxrResultToString(XrInstance instance, int value, long buffer) {
+ long __functionAddress = instance.getCapabilities().xrResultToString;
+ return callPPI(instance.address(), value, buffer, __functionAddress);
+ }
+
/**
* Converts an XrResult to a UTF-8 string.
*
@@ -1540,23 +1537,23 @@ public static int nxrResultToString(XrInstance instance, int value, long buffer)
* @param instance the handle of the instance to ask for the string.
* @param value the {@code XrResult} value to turn into a string.
* @param buffer the buffer that will be used to return the string in.
- */
- @NativeType("XrResult")
- public static int xrResultToString(XrInstance instance, @NativeType("XrResult") int value, @NativeType("char *") ByteBuffer buffer) {
- if (CHECKS) {
- check(buffer, XR_MAX_RESULT_STRING_SIZE);
- }
- return nxrResultToString(instance, value, memAddress(buffer));
- }
-
- // --- [ xrStructureTypeToString ] ---
-
- /** Unsafe version of: {@link #xrStructureTypeToString StructureTypeToString} */
- public static int nxrStructureTypeToString(XrInstance instance, int value, long buffer) {
- long __functionAddress = instance.getCapabilities().xrStructureTypeToString;
- return callPPI(instance.address(), value, buffer, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrResultToString(XrInstance instance, @NativeType("XrResult") int value, @NativeType("char *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(buffer, XR_MAX_RESULT_STRING_SIZE);
+ }
+ return nxrResultToString(instance, value, memAddress(buffer));
+ }
+
+ // --- [ xrStructureTypeToString ] ---
+
+ /** Unsafe version of: {@link #xrStructureTypeToString StructureTypeToString} */
+ public static int nxrStructureTypeToString(XrInstance instance, int value, long buffer) {
+ long __functionAddress = instance.getCapabilities().xrStructureTypeToString;
+ return callPPI(instance.address(), value, buffer, __functionAddress);
+ }
+
/**
* Converts an XrStructureType to a UTF-8 string.
*
@@ -1614,23 +1611,23 @@ public static int nxrStructureTypeToString(XrInstance instance, int value, long
* @param instance the handle of the instance to ask for the string.
* @param value the {@code XrStructureType} value to turn into a string.
* @param buffer the buffer that will be used to return the string in.
- */
- @NativeType("XrResult")
- public static int xrStructureTypeToString(XrInstance instance, @NativeType("XrStructureType") int value, @NativeType("char *") ByteBuffer buffer) {
- if (CHECKS) {
- check(buffer, XR_MAX_STRUCTURE_NAME_SIZE);
- }
- return nxrStructureTypeToString(instance, value, memAddress(buffer));
- }
-
- // --- [ xrGetSystem ] ---
-
- /** Unsafe version of: {@link #xrGetSystem GetSystem} */
- public static int nxrGetSystem(XrInstance instance, long getInfo, long systemId) {
- long __functionAddress = instance.getCapabilities().xrGetSystem;
- return callPPPI(instance.address(), getInfo, systemId, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrStructureTypeToString(XrInstance instance, @NativeType("XrStructureType") int value, @NativeType("char *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(buffer, XR_MAX_STRUCTURE_NAME_SIZE);
+ }
+ return nxrStructureTypeToString(instance, value, memAddress(buffer));
+ }
+
+ // --- [ xrGetSystem ] ---
+
+ /** Unsafe version of: {@link #xrGetSystem GetSystem} */
+ public static int nxrGetSystem(XrInstance instance, long getInfo, long systemId) {
+ long __functionAddress = instance.getCapabilities().xrGetSystem;
+ return callPPPI(instance.address(), getInfo, systemId, __functionAddress);
+ }
+
/**
* Gets a system identifier.
*
@@ -1646,7 +1643,7 @@ public static int nxrGetSystem(XrInstance instance, long getInfo, long systemId)
*
* Description
*
- * To get an {@code XrSystemId}, an application specifies its desired form factor to {@link #xrGetSystem GetSystem} and gets the runtime’s {@code XrSystemId} associated with that configuration.
+ * To get an {@code XrSystemId}, an application specifies its desired form factor to {@link #xrGetSystem GetSystem} and gets the runtime’s {@code XrSystemId} associated with that configuration.
*
* If the form factor is supported but temporarily unavailable, {@link #xrGetSystem GetSystem} must return {@link #XR_ERROR_FORM_FACTOR_UNAVAILABLE ERROR_FORM_FACTOR_UNAVAILABLE}. A runtime may return {@link #XR_SUCCESS SUCCESS} on a subsequent call for a form factor it previously returned {@link #XR_ERROR_FORM_FACTOR_UNAVAILABLE ERROR_FORM_FACTOR_UNAVAILABLE}. For example, connecting or warming up hardware might cause an unavailable form factor to become available.
*
@@ -1683,23 +1680,23 @@ public static int nxrGetSystem(XrInstance instance, long getInfo, long systemId)
* @param instance the handle of the instance from which to get the information.
* @param getInfo a pointer to an {@link XrSystemGetInfo} structure containing the application’s requests for a system.
* @param systemId the returned {@code XrSystemId}.
- */
- @NativeType("XrResult")
- public static int xrGetSystem(XrInstance instance, @NativeType("XrSystemGetInfo const *") XrSystemGetInfo getInfo, @NativeType("XrSystemId *") LongBuffer systemId) {
- if (CHECKS) {
- check(systemId, 1);
- }
- return nxrGetSystem(instance, getInfo.address(), memAddress(systemId));
- }
-
- // --- [ xrGetSystemProperties ] ---
-
- /** Unsafe version of: {@link #xrGetSystemProperties GetSystemProperties} */
- public static int nxrGetSystemProperties(XrInstance instance, long systemId, long properties) {
- long __functionAddress = instance.getCapabilities().xrGetSystemProperties;
- return callPJPI(instance.address(), systemId, properties, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetSystem(XrInstance instance, @NativeType("XrSystemGetInfo const *") XrSystemGetInfo getInfo, @NativeType("XrSystemId *") LongBuffer systemId) {
+ if (CHECKS) {
+ check(systemId, 1);
+ }
+ return nxrGetSystem(instance, getInfo.address(), memAddress(systemId));
+ }
+
+ // --- [ xrGetSystemProperties ] ---
+
+ /** Unsafe version of: {@link #xrGetSystemProperties GetSystemProperties} */
+ public static int nxrGetSystemProperties(XrInstance instance, long systemId, long properties) {
+ long __functionAddress = instance.getCapabilities().xrGetSystemProperties;
+ return callPJPI(instance.address(), systemId, properties, __functionAddress);
+ }
+
/**
* Gets the properties of a particular system.
*
@@ -1749,24 +1746,24 @@ public static int nxrGetSystemProperties(XrInstance instance, long systemId, lon
* @param instance the instance from which {@code systemId} was retrieved.
* @param systemId the {@code XrSystemId} whose properties will be queried.
* @param properties points to an instance of the {@link XrSystemProperties} structure, that will be filled with returned information.
- */
- @NativeType("XrResult")
- public static int xrGetSystemProperties(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrSystemProperties *") XrSystemProperties properties) {
- return nxrGetSystemProperties(instance, systemId, properties.address());
- }
-
- // --- [ xrEnumerateEnvironmentBlendModes ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetSystemProperties(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrSystemProperties *") XrSystemProperties properties) {
+ return nxrGetSystemProperties(instance, systemId, properties.address());
+ }
+
+ // --- [ xrEnumerateEnvironmentBlendModes ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateEnvironmentBlendModes EnumerateEnvironmentBlendModes}
*
* @param environmentBlendModeCapacityInput the capacity of the {@code environmentBlendModes} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateEnvironmentBlendModes(XrInstance instance, long systemId, int viewConfigurationType, int environmentBlendModeCapacityInput, long environmentBlendModeCountOutput, long environmentBlendModes) {
- long __functionAddress = instance.getCapabilities().xrEnumerateEnvironmentBlendModes;
- return callPJPPI(instance.address(), systemId, viewConfigurationType, environmentBlendModeCapacityInput, environmentBlendModeCountOutput, environmentBlendModes, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateEnvironmentBlendModes(XrInstance instance, long systemId, int viewConfigurationType, int environmentBlendModeCapacityInput, long environmentBlendModeCountOutput, long environmentBlendModes) {
+ long __functionAddress = instance.getCapabilities().xrEnumerateEnvironmentBlendModes;
+ return callPJPPI(instance.address(), systemId, viewConfigurationType, environmentBlendModeCapacityInput, environmentBlendModeCountOutput, environmentBlendModes, __functionAddress);
+ }
+
/**
* Lists environment blend modes.
*
@@ -1822,23 +1819,23 @@ public static int nxrEnumerateEnvironmentBlendModes(XrInstance instance, long sy
* @param viewConfigurationType the {@code XrViewConfigurationType} to enumerate.
* @param environmentBlendModeCountOutput a pointer to the count of {@code environmentBlendModes} written, or a pointer to the required capacity in the case that {@code environmentBlendModeCapacityInput} is insufficient.
* @param environmentBlendModes a pointer to an array of {@code XrEnvironmentBlendMode} values, but can be {@code NULL} if {@code environmentBlendModeCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateEnvironmentBlendModes(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("uint32_t *") IntBuffer environmentBlendModeCountOutput, @Nullable @NativeType("XrEnvironmentBlendMode *") IntBuffer environmentBlendModes) {
- if (CHECKS) {
- check(environmentBlendModeCountOutput, 1);
- }
- return nxrEnumerateEnvironmentBlendModes(instance, systemId, viewConfigurationType, remainingSafe(environmentBlendModes), memAddress(environmentBlendModeCountOutput), memAddressSafe(environmentBlendModes));
- }
-
- // --- [ xrCreateSession ] ---
-
- /** Unsafe version of: {@link #xrCreateSession CreateSession} */
- public static int nxrCreateSession(XrInstance instance, long createInfo, long session) {
- long __functionAddress = instance.getCapabilities().xrCreateSession;
- return callPPPI(instance.address(), createInfo, session, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateEnvironmentBlendModes(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("uint32_t *") IntBuffer environmentBlendModeCountOutput, @Nullable @NativeType("XrEnvironmentBlendMode *") IntBuffer environmentBlendModes) {
+ if (CHECKS) {
+ check(environmentBlendModeCountOutput, 1);
+ }
+ return nxrEnumerateEnvironmentBlendModes(instance, systemId, viewConfigurationType, remainingSafe(environmentBlendModes), memAddress(environmentBlendModeCountOutput), memAddressSafe(environmentBlendModes));
+ }
+
+ // --- [ xrCreateSession ] ---
+
+ /** Unsafe version of: {@link #xrCreateSession CreateSession} */
+ public static int nxrCreateSession(XrInstance instance, long createInfo, long session) {
+ long __functionAddress = instance.getCapabilities().xrCreateSession;
+ return callPPPI(instance.address(), createInfo, session, __functionAddress);
+ }
+
/**
* Creates an XrSession.
*
@@ -1895,17 +1892,17 @@ public static int nxrCreateSession(XrInstance instance, long createInfo, long se
* @param instance the instance from which {@code systemId} was retrieved.
* @param createInfo a pointer to an {@link XrSessionCreateInfo} structure containing information about how to create the session.
* @param session a pointer to a handle in which the created {@code XrSession} is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateSession(XrInstance instance, @NativeType("XrSessionCreateInfo const *") XrSessionCreateInfo createInfo, @NativeType("XrSession *") PointerBuffer session) {
- if (CHECKS) {
- check(session, 1);
- }
- return nxrCreateSession(instance, createInfo.address(), memAddress(session));
- }
-
- // --- [ xrDestroySession ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSession(XrInstance instance, @NativeType("XrSessionCreateInfo const *") XrSessionCreateInfo createInfo, @NativeType("XrSession *") PointerBuffer session) {
+ if (CHECKS) {
+ check(session, 1);
+ }
+ return nxrCreateSession(instance, createInfo.address(), memAddress(session));
+ }
+
+ // --- [ xrDestroySession ] ---
+
/**
* Destroys an XrSession.
*
@@ -1955,25 +1952,25 @@ public static int xrCreateSession(XrInstance instance, @NativeType("XrSessionCre
* {@link #xrBeginSession BeginSession}, {@link #xrCreateSession CreateSession}, {@link #xrEndSession EndSession}
*
* @param session the session to destroy.
- */
- @NativeType("XrResult")
- public static int xrDestroySession(XrSession session) {
- long __functionAddress = session.getCapabilities().xrDestroySession;
- return callPI(session.address(), __functionAddress);
- }
-
- // --- [ xrEnumerateReferenceSpaces ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySession(XrSession session) {
+ long __functionAddress = session.getCapabilities().xrDestroySession;
+ return callPI(session.address(), __functionAddress);
+ }
+
+ // --- [ xrEnumerateReferenceSpaces ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateReferenceSpaces EnumerateReferenceSpaces}
*
* @param spaceCapacityInput the capacity of the {@code spaces} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateReferenceSpaces(XrSession session, int spaceCapacityInput, long spaceCountOutput, long spaces) {
- long __functionAddress = session.getCapabilities().xrEnumerateReferenceSpaces;
- return callPPPI(session.address(), spaceCapacityInput, spaceCountOutput, spaces, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateReferenceSpaces(XrSession session, int spaceCapacityInput, long spaceCountOutput, long spaces) {
+ long __functionAddress = session.getCapabilities().xrEnumerateReferenceSpaces;
+ return callPPPI(session.address(), spaceCapacityInput, spaceCountOutput, spaces, __functionAddress);
+ }
+
/**
* Enumerate available reference spaces.
*
@@ -2024,23 +2021,23 @@ public static int nxrEnumerateReferenceSpaces(XrSession session, int spaceCapaci
* @param session a handle to an {@code XrSession} previously created with {@link #xrCreateSession CreateSession}.
* @param spaceCountOutput a pointer to the count of {@code spaces} written, or a pointer to the required capacity in the case that {@code spaceCapacityInput} is insufficient.
* @param spaces a pointer to an application-allocated array that will be filled with the enumerant of each supported reference space. It can be {@code NULL} if {@code spaceCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateReferenceSpaces(XrSession session, @NativeType("uint32_t *") IntBuffer spaceCountOutput, @Nullable @NativeType("XrReferenceSpaceType *") IntBuffer spaces) {
- if (CHECKS) {
- check(spaceCountOutput, 1);
- }
- return nxrEnumerateReferenceSpaces(session, remainingSafe(spaces), memAddress(spaceCountOutput), memAddressSafe(spaces));
- }
-
- // --- [ xrCreateReferenceSpace ] ---
-
- /** Unsafe version of: {@link #xrCreateReferenceSpace CreateReferenceSpace} */
- public static int nxrCreateReferenceSpace(XrSession session, long createInfo, long space) {
- long __functionAddress = session.getCapabilities().xrCreateReferenceSpace;
- return callPPPI(session.address(), createInfo, space, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateReferenceSpaces(XrSession session, @NativeType("uint32_t *") IntBuffer spaceCountOutput, @Nullable @NativeType("XrReferenceSpaceType *") IntBuffer spaces) {
+ if (CHECKS) {
+ check(spaceCountOutput, 1);
+ }
+ return nxrEnumerateReferenceSpaces(session, remainingSafe(spaces), memAddress(spaceCountOutput), memAddressSafe(spaces));
+ }
+
+ // --- [ xrCreateReferenceSpace ] ---
+
+ /** Unsafe version of: {@link #xrCreateReferenceSpace CreateReferenceSpace} */
+ public static int nxrCreateReferenceSpace(XrSession session, long createInfo, long space) {
+ long __functionAddress = session.getCapabilities().xrCreateReferenceSpace;
+ return callPPPI(session.address(), createInfo, space, __functionAddress);
+ }
+
/**
* Creates a reference space.
*
@@ -2099,23 +2096,23 @@ public static int nxrCreateReferenceSpace(XrSession session, long createInfo, lo
* @param session a handle to an {@code XrSession} previously created with {@link #xrCreateSession CreateSession}.
* @param createInfo the {@link XrReferenceSpaceCreateInfo} used to specify the space.
* @param space the returned space handle.
- */
- @NativeType("XrResult")
- public static int xrCreateReferenceSpace(XrSession session, @NativeType("XrReferenceSpaceCreateInfo const *") XrReferenceSpaceCreateInfo createInfo, @NativeType("XrSpace *") PointerBuffer space) {
- if (CHECKS) {
- check(space, 1);
- }
- return nxrCreateReferenceSpace(session, createInfo.address(), memAddress(space));
- }
-
- // --- [ xrGetReferenceSpaceBoundsRect ] ---
-
- /** Unsafe version of: {@link #xrGetReferenceSpaceBoundsRect GetReferenceSpaceBoundsRect} */
- public static int nxrGetReferenceSpaceBoundsRect(XrSession session, int referenceSpaceType, long bounds) {
- long __functionAddress = session.getCapabilities().xrGetReferenceSpaceBoundsRect;
- return callPPI(session.address(), referenceSpaceType, bounds, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateReferenceSpace(XrSession session, @NativeType("XrReferenceSpaceCreateInfo const *") XrReferenceSpaceCreateInfo createInfo, @NativeType("XrSpace *") PointerBuffer space) {
+ if (CHECKS) {
+ check(space, 1);
+ }
+ return nxrCreateReferenceSpace(session, createInfo.address(), memAddress(space));
+ }
+
+ // --- [ xrGetReferenceSpaceBoundsRect ] ---
+
+ /** Unsafe version of: {@link #xrGetReferenceSpaceBoundsRect GetReferenceSpaceBoundsRect} */
+ public static int nxrGetReferenceSpaceBoundsRect(XrSession session, int referenceSpaceType, long bounds) {
+ long __functionAddress = session.getCapabilities().xrGetReferenceSpaceBoundsRect;
+ return callPPI(session.address(), referenceSpaceType, bounds, __functionAddress);
+ }
+
/**
* Gets the bounds rectangle of a reference space.
*
@@ -2173,23 +2170,23 @@ public static int nxrGetReferenceSpaceBoundsRect(XrSession session, int referenc
* @param session a handle to an {@code XrSession} previously created with {@link #xrCreateSession CreateSession}.
* @param referenceSpaceType the reference space type whose bounds should be retrieved.
* @param bounds the returned space extents.
- */
- @NativeType("XrResult")
- public static int xrGetReferenceSpaceBoundsRect(XrSession session, @NativeType("XrReferenceSpaceType") int referenceSpaceType, @NativeType("XrExtent2Df *") XrExtent2Df bounds) {
- return nxrGetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds.address());
- }
-
- // --- [ xrCreateActionSpace ] ---
-
- /** Unsafe version of: {@link #xrCreateActionSpace CreateActionSpace} */
- public static int nxrCreateActionSpace(XrSession session, long createInfo, long space) {
- long __functionAddress = session.getCapabilities().xrCreateActionSpace;
- if (CHECKS) {
- XrActionSpaceCreateInfo.validate(createInfo);
- }
- return callPPPI(session.address(), createInfo, space, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetReferenceSpaceBoundsRect(XrSession session, @NativeType("XrReferenceSpaceType") int referenceSpaceType, @NativeType("XrExtent2Df *") XrExtent2Df bounds) {
+ return nxrGetReferenceSpaceBoundsRect(session, referenceSpaceType, bounds.address());
+ }
+
+ // --- [ xrCreateActionSpace ] ---
+
+ /** Unsafe version of: {@link #xrCreateActionSpace CreateActionSpace} */
+ public static int nxrCreateActionSpace(XrSession session, long createInfo, long space) {
+ long __functionAddress = session.getCapabilities().xrCreateActionSpace;
+ if (CHECKS) {
+ XrActionSpaceCreateInfo.validate(createInfo);
+ }
+ return callPPPI(session.address(), createInfo, space, __functionAddress);
+ }
+
/**
* Creates a space based on a pose action.
*
@@ -2250,23 +2247,23 @@ public static int nxrCreateActionSpace(XrSession session, long createInfo, long
* @param session the {@code XrSession} to create the action space in.
* @param createInfo the {@link XrActionSpaceCreateInfo} used to specify the space.
* @param space the returned space handle.
- */
- @NativeType("XrResult")
- public static int xrCreateActionSpace(XrSession session, @NativeType("XrActionSpaceCreateInfo const *") XrActionSpaceCreateInfo createInfo, @NativeType("XrSpace *") PointerBuffer space) {
- if (CHECKS) {
- check(space, 1);
- }
- return nxrCreateActionSpace(session, createInfo.address(), memAddress(space));
- }
-
- // --- [ xrLocateSpace ] ---
-
- /** Unsafe version of: {@link #xrLocateSpace LocateSpace} */
- public static int nxrLocateSpace(XrSpace space, XrSpace baseSpace, long time, long location) {
- long __functionAddress = space.getCapabilities().xrLocateSpace;
- return callPPJPI(space.address(), baseSpace.address(), time, location, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateActionSpace(XrSession session, @NativeType("XrActionSpaceCreateInfo const *") XrActionSpaceCreateInfo createInfo, @NativeType("XrSpace *") PointerBuffer space) {
+ if (CHECKS) {
+ check(space, 1);
+ }
+ return nxrCreateActionSpace(session, createInfo.address(), memAddress(space));
+ }
+
+ // --- [ xrLocateSpace ] ---
+
+ /** Unsafe version of: {@link #xrLocateSpace LocateSpace} */
+ public static int nxrLocateSpace(XrSpace space, XrSpace baseSpace, long time, long location) {
+ long __functionAddress = space.getCapabilities().xrLocateSpace;
+ return callPPJPI(space.address(), baseSpace.address(), time, location, __functionAddress);
+ }
+
/**
* Locates a space with reference to another space.
*
@@ -2287,7 +2284,7 @@ public static int nxrLocateSpace(XrSpace space, XrSpace baseSpace, long time, lo
*
* For a {@code time} in the future, the runtime should locate the spaces based on the runtime’s most up-to-date prediction of how the world will be at that future time.
*
- * The minimum valid range of values for {@code time} are described in prediction-time-limits. For values of {@code time} outside this range, {@link #xrLocateSpace LocateSpace} may return a location with no position and {@link #XR_SPACE_LOCATION_POSITION_VALID_BIT SPACE_LOCATION_POSITION_VALID_BIT} unset.
+ * The minimum valid range of values for {@code time} are described in prediction-time-limits. For values of {@code time} outside this range, {@link #xrLocateSpace LocateSpace} may return a location with no position and {@link #XR_SPACE_LOCATION_POSITION_VALID_BIT SPACE_LOCATION_POSITION_VALID_BIT} unset.
*
* Some devices improve their understanding of the world as the device is used. The location returned by {@link #xrLocateSpace LocateSpace} for a given {@code space}, {@code baseSpace} and {@code time} may change over time, even for spaces that track static objects, as one or both spaces adjust their origins.
*
@@ -2348,14 +2345,14 @@ public static int nxrLocateSpace(XrSpace space, XrSpace baseSpace, long time, lo
* @param baseSpace identifies the underlying space in which to locate {@code space}.
* @param time the time for which the location should be provided.
* @param location provides the location of {@code space} in {@code baseSpace}.
- */
- @NativeType("XrResult")
- public static int xrLocateSpace(XrSpace space, XrSpace baseSpace, @NativeType("XrTime") long time, @NativeType("XrSpaceLocation *") XrSpaceLocation location) {
- return nxrLocateSpace(space, baseSpace, time, location.address());
- }
-
- // --- [ xrDestroySpace ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrLocateSpace(XrSpace space, XrSpace baseSpace, @NativeType("XrTime") long time, @NativeType("XrSpaceLocation *") XrSpaceLocation location) {
+ return nxrLocateSpace(space, baseSpace, time, location.address());
+ }
+
+ // --- [ xrDestroySpace ] ---
+
/**
* Destroys an XrSpace.
*
@@ -2401,25 +2398,25 @@ public static int xrLocateSpace(XrSpace space, XrSpace baseSpace, @NativeType("X
* {@link #xrCreateActionSpace CreateActionSpace}, {@link #xrCreateReferenceSpace CreateReferenceSpace}
*
* @param space a handle to an {@code XrSpace} previously created by a function such as {@link #xrCreateReferenceSpace CreateReferenceSpace}.
- */
- @NativeType("XrResult")
- public static int xrDestroySpace(XrSpace space) {
- long __functionAddress = space.getCapabilities().xrDestroySpace;
- return callPI(space.address(), __functionAddress);
- }
-
- // --- [ xrEnumerateViewConfigurations ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySpace(XrSpace space) {
+ long __functionAddress = space.getCapabilities().xrDestroySpace;
+ return callPI(space.address(), __functionAddress);
+ }
+
+ // --- [ xrEnumerateViewConfigurations ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateViewConfigurations EnumerateViewConfigurations}
*
* @param viewConfigurationsTypeCapacityInput the capacity of the {@code viewConfigurations} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateViewConfigurations(XrInstance instance, long systemId, int viewConfigurationsTypeCapacityInput, long viewConfigurationsTypeCountOutput, long viewConfigurationsTypes) {
- long __functionAddress = instance.getCapabilities().xrEnumerateViewConfigurations;
- return callPJPPI(instance.address(), systemId, viewConfigurationsTypeCapacityInput, viewConfigurationsTypeCountOutput, viewConfigurationsTypes, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateViewConfigurations(XrInstance instance, long systemId, int viewConfigurationsTypeCapacityInput, long viewConfigurationsTypeCountOutput, long viewConfigurationsTypes) {
+ long __functionAddress = instance.getCapabilities().xrEnumerateViewConfigurations;
+ return callPJPPI(instance.address(), systemId, viewConfigurationsTypeCapacityInput, viewConfigurationsTypeCountOutput, viewConfigurationsTypes, __functionAddress);
+ }
+
/**
* Enumerates supported view configurations.
*
@@ -2471,23 +2468,23 @@ public static int nxrEnumerateViewConfigurations(XrInstance instance, long syste
* @param systemId the {@code XrSystemId} whose view configurations will be enumerated.
* @param viewConfigurationsTypeCountOutput a pointer to the count of {@code viewConfigurations} written, or a pointer to the required capacity in the case that {@code viewConfigurationsTypeCapacityInput} is insufficient.
* @param viewConfigurationsTypes a pointer to an array of {@code XrViewConfigurationType} values, but can be {@code NULL} if {@code viewConfigurationsTypeCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateViewConfigurations(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("uint32_t *") IntBuffer viewConfigurationsTypeCountOutput, @Nullable @NativeType("XrViewConfigurationType *") IntBuffer viewConfigurationsTypes) {
- if (CHECKS) {
- check(viewConfigurationsTypeCountOutput, 1);
- }
- return nxrEnumerateViewConfigurations(instance, systemId, remainingSafe(viewConfigurationsTypes), memAddress(viewConfigurationsTypeCountOutput), memAddressSafe(viewConfigurationsTypes));
- }
-
- // --- [ xrGetViewConfigurationProperties ] ---
-
- /** Unsafe version of: {@link #xrGetViewConfigurationProperties GetViewConfigurationProperties} */
- public static int nxrGetViewConfigurationProperties(XrInstance instance, long systemId, int viewConfigurationType, long configurationProperties) {
- long __functionAddress = instance.getCapabilities().xrGetViewConfigurationProperties;
- return callPJPI(instance.address(), systemId, viewConfigurationType, configurationProperties, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateViewConfigurations(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("uint32_t *") IntBuffer viewConfigurationsTypeCountOutput, @Nullable @NativeType("XrViewConfigurationType *") IntBuffer viewConfigurationsTypes) {
+ if (CHECKS) {
+ check(viewConfigurationsTypeCountOutput, 1);
+ }
+ return nxrEnumerateViewConfigurations(instance, systemId, remainingSafe(viewConfigurationsTypes), memAddress(viewConfigurationsTypeCountOutput), memAddressSafe(viewConfigurationsTypes));
+ }
+
+ // --- [ xrGetViewConfigurationProperties ] ---
+
+ /** Unsafe version of: {@link #xrGetViewConfigurationProperties GetViewConfigurationProperties} */
+ public static int nxrGetViewConfigurationProperties(XrInstance instance, long systemId, int viewConfigurationType, long configurationProperties) {
+ long __functionAddress = instance.getCapabilities().xrGetViewConfigurationProperties;
+ return callPJPI(instance.address(), systemId, viewConfigurationType, configurationProperties, __functionAddress);
+ }
+
/**
* Gets information for a view configuration.
*
@@ -2540,24 +2537,24 @@ public static int nxrGetViewConfigurationProperties(XrInstance instance, long sy
* @param systemId the {@code XrSystemId} whose view configuration is being queried.
* @param viewConfigurationType the {@code XrViewConfigurationType} of the configuration to get.
* @param configurationProperties a pointer to view configuration properties to return.
- */
- @NativeType("XrResult")
- public static int xrGetViewConfigurationProperties(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("XrViewConfigurationProperties *") XrViewConfigurationProperties configurationProperties) {
- return nxrGetViewConfigurationProperties(instance, systemId, viewConfigurationType, configurationProperties.address());
- }
-
- // --- [ xrEnumerateViewConfigurationViews ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetViewConfigurationProperties(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("XrViewConfigurationProperties *") XrViewConfigurationProperties configurationProperties) {
+ return nxrGetViewConfigurationProperties(instance, systemId, viewConfigurationType, configurationProperties.address());
+ }
+
+ // --- [ xrEnumerateViewConfigurationViews ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateViewConfigurationViews EnumerateViewConfigurationViews}
*
* @param viewCapacityInput the capacity of the {@code views} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateViewConfigurationViews(XrInstance instance, long systemId, int viewConfigurationType, int viewCapacityInput, long viewCountOutput, long views) {
- long __functionAddress = instance.getCapabilities().xrEnumerateViewConfigurationViews;
- return callPJPPI(instance.address(), systemId, viewConfigurationType, viewCapacityInput, viewCountOutput, views, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateViewConfigurationViews(XrInstance instance, long systemId, int viewConfigurationType, int viewCapacityInput, long viewCountOutput, long views) {
+ long __functionAddress = instance.getCapabilities().xrEnumerateViewConfigurationViews;
+ return callPJPPI(instance.address(), systemId, viewConfigurationType, viewCapacityInput, viewCountOutput, views, __functionAddress);
+ }
+
/**
* Gets view configuration views.
*
@@ -2617,27 +2614,27 @@ public static int nxrEnumerateViewConfigurationViews(XrInstance instance, long s
* @param viewConfigurationType the {@code XrViewConfigurationType} of the configuration to get.
* @param viewCountOutput a pointer to the count of {@code views} written, or a pointer to the required capacity in the case that {@code viewCapacityInput} is 0.
* @param views a pointer to an array of {@link XrViewConfigurationView} values, but can be {@code NULL} if {@code viewCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateViewConfigurationViews(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("uint32_t *") IntBuffer viewCountOutput, @Nullable @NativeType("XrViewConfigurationView *") XrViewConfigurationView.Buffer views) {
- if (CHECKS) {
- check(viewCountOutput, 1);
- }
- return nxrEnumerateViewConfigurationViews(instance, systemId, viewConfigurationType, remainingSafe(views), memAddress(viewCountOutput), memAddressSafe(views));
- }
-
- // --- [ xrEnumerateSwapchainFormats ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateViewConfigurationViews(XrInstance instance, @NativeType("XrSystemId") long systemId, @NativeType("XrViewConfigurationType") int viewConfigurationType, @NativeType("uint32_t *") IntBuffer viewCountOutput, @Nullable @NativeType("XrViewConfigurationView *") XrViewConfigurationView.Buffer views) {
+ if (CHECKS) {
+ check(viewCountOutput, 1);
+ }
+ return nxrEnumerateViewConfigurationViews(instance, systemId, viewConfigurationType, remainingSafe(views), memAddress(viewCountOutput), memAddressSafe(views));
+ }
+
+ // --- [ xrEnumerateSwapchainFormats ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateSwapchainFormats EnumerateSwapchainFormats}
*
* @param formatCapacityInput the capacity of the {@code formats}, or 0 to retrieve the required capacity.
- */
- public static int nxrEnumerateSwapchainFormats(XrSession session, int formatCapacityInput, long formatCountOutput, long formats) {
- long __functionAddress = session.getCapabilities().xrEnumerateSwapchainFormats;
- return callPPPI(session.address(), formatCapacityInput, formatCountOutput, formats, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateSwapchainFormats(XrSession session, int formatCapacityInput, long formatCountOutput, long formats) {
+ long __functionAddress = session.getCapabilities().xrEnumerateSwapchainFormats;
+ return callPPPI(session.address(), formatCapacityInput, formatCountOutput, formats, __functionAddress);
+ }
+
/**
* Enumerates swapchain formats.
*
@@ -2694,23 +2691,23 @@ public static int nxrEnumerateSwapchainFormats(XrSession session, int formatCapa
* @param session the session that enumerates the supported formats.
* @param formatCountOutput a pointer to the count of {@code uint64_t} formats written, or a pointer to the required capacity in the case that {@code formatCapacityInput} is insufficient.
* @param formats a pointer to an array of {@code int64_t} format ids, but can be {@code NULL} if {@code formatCapacityInput} is 0. The format ids are specific to the specified graphics API.
- */
- @NativeType("XrResult")
- public static int xrEnumerateSwapchainFormats(XrSession session, @NativeType("uint32_t *") IntBuffer formatCountOutput, @Nullable @NativeType("int64_t *") LongBuffer formats) {
- if (CHECKS) {
- check(formatCountOutput, 1);
- }
- return nxrEnumerateSwapchainFormats(session, remainingSafe(formats), memAddress(formatCountOutput), memAddressSafe(formats));
- }
-
- // --- [ xrCreateSwapchain ] ---
-
- /** Unsafe version of: {@link #xrCreateSwapchain CreateSwapchain} */
- public static int nxrCreateSwapchain(XrSession session, long createInfo, long swapchain) {
- long __functionAddress = session.getCapabilities().xrCreateSwapchain;
- return callPPPI(session.address(), createInfo, swapchain, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateSwapchainFormats(XrSession session, @NativeType("uint32_t *") IntBuffer formatCountOutput, @Nullable @NativeType("int64_t *") LongBuffer formats) {
+ if (CHECKS) {
+ check(formatCountOutput, 1);
+ }
+ return nxrEnumerateSwapchainFormats(session, remainingSafe(formats), memAddress(formatCountOutput), memAddressSafe(formats));
+ }
+
+ // --- [ xrCreateSwapchain ] ---
+
+ /** Unsafe version of: {@link #xrCreateSwapchain CreateSwapchain} */
+ public static int nxrCreateSwapchain(XrSession session, long createInfo, long swapchain) {
+ long __functionAddress = session.getCapabilities().xrCreateSwapchain;
+ return callPPPI(session.address(), createInfo, swapchain, __functionAddress);
+ }
+
/**
* Creates an XrSwapchain.
*
@@ -2765,17 +2762,17 @@ public static int nxrCreateSwapchain(XrSession session, long createInfo, long sw
* @param session the session that creates the image.
* @param createInfo a pointer to an {@link XrSwapchainCreateInfo} structure containing parameters to be used to create the image.
* @param swapchain a pointer to a handle in which the created {@code XrSwapchain} is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateSwapchain(XrSession session, @NativeType("XrSwapchainCreateInfo const *") XrSwapchainCreateInfo createInfo, @NativeType("XrSwapchain *") PointerBuffer swapchain) {
- if (CHECKS) {
- check(swapchain, 1);
- }
- return nxrCreateSwapchain(session, createInfo.address(), memAddress(swapchain));
- }
-
- // --- [ xrDestroySwapchain ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateSwapchain(XrSession session, @NativeType("XrSwapchainCreateInfo const *") XrSwapchainCreateInfo createInfo, @NativeType("XrSwapchain *") PointerBuffer swapchain) {
+ if (CHECKS) {
+ check(swapchain, 1);
+ }
+ return nxrCreateSwapchain(session, createInfo.address(), memAddress(swapchain));
+ }
+
+ // --- [ xrDestroySwapchain ] ---
+
/**
* Destroys an XrSwapchain.
*
@@ -2821,25 +2818,25 @@ public static int xrCreateSwapchain(XrSession session, @NativeType("XrSwapchainC
* {@link #xrCreateSwapchain CreateSwapchain}
*
* @param swapchain the swapchain to destroy.
- */
- @NativeType("XrResult")
- public static int xrDestroySwapchain(XrSwapchain swapchain) {
- long __functionAddress = swapchain.getCapabilities().xrDestroySwapchain;
- return callPI(swapchain.address(), __functionAddress);
- }
-
- // --- [ xrEnumerateSwapchainImages ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroySwapchain(XrSwapchain swapchain) {
+ long __functionAddress = swapchain.getCapabilities().xrDestroySwapchain;
+ return callPI(swapchain.address(), __functionAddress);
+ }
+
+ // --- [ xrEnumerateSwapchainImages ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateSwapchainImages EnumerateSwapchainImages}
*
* @param imageCapacityInput the capacity of the {@code images} array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateSwapchainImages(XrSwapchain swapchain, int imageCapacityInput, long imageCountOutput, long images) {
- long __functionAddress = swapchain.getCapabilities().xrEnumerateSwapchainImages;
- return callPPPI(swapchain.address(), imageCapacityInput, imageCountOutput, images, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateSwapchainImages(XrSwapchain swapchain, int imageCapacityInput, long imageCountOutput, long images) {
+ long __functionAddress = swapchain.getCapabilities().xrEnumerateSwapchainImages;
+ return callPPPI(swapchain.address(), imageCapacityInput, imageCountOutput, images, __functionAddress);
+ }
+
/**
* Gets images from an XrSwapchain.
*
@@ -2874,7 +2871,7 @@ public static int nxrEnumerateSwapchainImages(XrSwapchain swapchain, int imageCa
*
* - {@code swapchain} must be a valid {@code XrSwapchain} handle
* - {@code imageCountOutput} must be a pointer to a {@code uint32_t} value
- * - If {@code imageCapacityInput} is not 0, {@code images} must be a pointer to an array of {@code imageCapacityInput} {@link XrSwapchainImageBaseHeader}-based structures. See also: {@link XrSwapchainImageOpenGLKHR}, {@link XrSwapchainImageVulkanKHR}
+ * - If {@code imageCapacityInput} is not 0, {@code images} must be a pointer to an array of {@code imageCapacityInput} {@link XrSwapchainImageBaseHeader}-based structures. See also: {@link XrSwapchainImageOpenGLESKHR}, {@link XrSwapchainImageOpenGLKHR}, {@link XrSwapchainImageVulkanKHR}
*
*
* Return Codes
@@ -2903,23 +2900,23 @@ public static int nxrEnumerateSwapchainImages(XrSwapchain swapchain, int imageCa
* @param swapchain the {@code XrSwapchain} to get images from.
* @param imageCountOutput a pointer to the count of {@code images} written, or a pointer to the required capacity in the case that {@code imageCapacityInput} is insufficient.
* @param images a pointer to an array of graphics API-specific {@code XrSwapchainImage} structures, all of the same type, based on {@link XrSwapchainImageBaseHeader}. It can be {@code NULL} if {@code imageCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateSwapchainImages(XrSwapchain swapchain, @NativeType("uint32_t *") IntBuffer imageCountOutput, @Nullable @NativeType("XrSwapchainImageBaseHeader *") XrSwapchainImageBaseHeader.Buffer images) {
- if (CHECKS) {
- check(imageCountOutput, 1);
- }
- return nxrEnumerateSwapchainImages(swapchain, remainingSafe(images), memAddress(imageCountOutput), memAddressSafe(images));
- }
-
- // --- [ xrAcquireSwapchainImage ] ---
-
- /** Unsafe version of: {@link #xrAcquireSwapchainImage AcquireSwapchainImage} */
- public static int nxrAcquireSwapchainImage(XrSwapchain swapchain, long acquireInfo, long index) {
- long __functionAddress = swapchain.getCapabilities().xrAcquireSwapchainImage;
- return callPPPI(swapchain.address(), acquireInfo, index, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateSwapchainImages(XrSwapchain swapchain, @NativeType("uint32_t *") IntBuffer imageCountOutput, @Nullable @NativeType("XrSwapchainImageBaseHeader *") XrSwapchainImageBaseHeader.Buffer images) {
+ if (CHECKS) {
+ check(imageCountOutput, 1);
+ }
+ return nxrEnumerateSwapchainImages(swapchain, remainingSafe(images), memAddress(imageCountOutput), memAddressSafe(images));
+ }
+
+ // --- [ xrAcquireSwapchainImage ] ---
+
+ /** Unsafe version of: {@link #xrAcquireSwapchainImage AcquireSwapchainImage} */
+ public static int nxrAcquireSwapchainImage(XrSwapchain swapchain, long acquireInfo, long index) {
+ long __functionAddress = swapchain.getCapabilities().xrAcquireSwapchainImage;
+ return callPPPI(swapchain.address(), acquireInfo, index, __functionAddress);
+ }
+
/**
* Acquire a swapchain image.
*
@@ -2971,23 +2968,23 @@ public static int nxrAcquireSwapchainImage(XrSwapchain swapchain, long acquireIn
* @param swapchain the swapchain from which to acquire an image.
* @param acquireInfo exists for extensibility purposes, it is {@code NULL} or a pointer to a valid {@link XrSwapchainImageAcquireInfo}.
* @param index the returned image index that has been acquired.
- */
- @NativeType("XrResult")
- public static int xrAcquireSwapchainImage(XrSwapchain swapchain, @Nullable @NativeType("XrSwapchainImageAcquireInfo const *") XrSwapchainImageAcquireInfo acquireInfo, @NativeType("uint32_t *") IntBuffer index) {
- if (CHECKS) {
- check(index, 1);
- }
- return nxrAcquireSwapchainImage(swapchain, memAddressSafe(acquireInfo), memAddress(index));
- }
-
- // --- [ xrWaitSwapchainImage ] ---
-
- /** Unsafe version of: {@link #xrWaitSwapchainImage WaitSwapchainImage} */
- public static int nxrWaitSwapchainImage(XrSwapchain swapchain, long waitInfo) {
- long __functionAddress = swapchain.getCapabilities().xrWaitSwapchainImage;
- return callPPI(swapchain.address(), waitInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrAcquireSwapchainImage(XrSwapchain swapchain, @Nullable @NativeType("XrSwapchainImageAcquireInfo const *") XrSwapchainImageAcquireInfo acquireInfo, @NativeType("uint32_t *") IntBuffer index) {
+ if (CHECKS) {
+ check(index, 1);
+ }
+ return nxrAcquireSwapchainImage(swapchain, memAddressSafe(acquireInfo), memAddress(index));
+ }
+
+ // --- [ xrWaitSwapchainImage ] ---
+
+ /** Unsafe version of: {@link #xrWaitSwapchainImage WaitSwapchainImage} */
+ public static int nxrWaitSwapchainImage(XrSwapchain swapchain, long waitInfo) {
+ long __functionAddress = swapchain.getCapabilities().xrWaitSwapchainImage;
+ return callPPI(swapchain.address(), waitInfo, __functionAddress);
+ }
+
/**
* Wait for a swapchain image to be available.
*
@@ -3045,20 +3042,20 @@ public static int nxrWaitSwapchainImage(XrSwapchain swapchain, long waitInfo) {
*
* @param swapchain the swapchain from which to wait for an image.
* @param waitInfo a pointer to an {@link XrSwapchainImageWaitInfo} structure.
- */
- @NativeType("XrResult")
- public static int xrWaitSwapchainImage(XrSwapchain swapchain, @NativeType("XrSwapchainImageWaitInfo const *") XrSwapchainImageWaitInfo waitInfo) {
- return nxrWaitSwapchainImage(swapchain, waitInfo.address());
- }
-
- // --- [ xrReleaseSwapchainImage ] ---
-
- /** Unsafe version of: {@link #xrReleaseSwapchainImage ReleaseSwapchainImage} */
- public static int nxrReleaseSwapchainImage(XrSwapchain swapchain, long releaseInfo) {
- long __functionAddress = swapchain.getCapabilities().xrReleaseSwapchainImage;
- return callPPI(swapchain.address(), releaseInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrWaitSwapchainImage(XrSwapchain swapchain, @NativeType("XrSwapchainImageWaitInfo const *") XrSwapchainImageWaitInfo waitInfo) {
+ return nxrWaitSwapchainImage(swapchain, waitInfo.address());
+ }
+
+ // --- [ xrReleaseSwapchainImage ] ---
+
+ /** Unsafe version of: {@link #xrReleaseSwapchainImage ReleaseSwapchainImage} */
+ public static int nxrReleaseSwapchainImage(XrSwapchain swapchain, long releaseInfo) {
+ long __functionAddress = swapchain.getCapabilities().xrReleaseSwapchainImage;
+ return callPPI(swapchain.address(), releaseInfo, __functionAddress);
+ }
+
/**
* Release a swapchain image.
*
@@ -3109,20 +3106,20 @@ public static int nxrReleaseSwapchainImage(XrSwapchain swapchain, long releaseIn
*
* @param swapchain the {@code XrSwapchain} from which to release an image.
* @param releaseInfo exists for extensibility purposes, it is {@code NULL} or a pointer to a valid {@link XrSwapchainImageReleaseInfo}.
- */
- @NativeType("XrResult")
- public static int xrReleaseSwapchainImage(XrSwapchain swapchain, @Nullable @NativeType("XrSwapchainImageReleaseInfo const *") XrSwapchainImageReleaseInfo releaseInfo) {
- return nxrReleaseSwapchainImage(swapchain, memAddressSafe(releaseInfo));
- }
-
- // --- [ xrBeginSession ] ---
-
- /** Unsafe version of: {@link #xrBeginSession BeginSession} */
- public static int nxrBeginSession(XrSession session, long beginInfo) {
- long __functionAddress = session.getCapabilities().xrBeginSession;
- return callPPI(session.address(), beginInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrReleaseSwapchainImage(XrSwapchain swapchain, @Nullable @NativeType("XrSwapchainImageReleaseInfo const *") XrSwapchainImageReleaseInfo releaseInfo) {
+ return nxrReleaseSwapchainImage(swapchain, memAddressSafe(releaseInfo));
+ }
+
+ // --- [ xrBeginSession ] ---
+
+ /** Unsafe version of: {@link #xrBeginSession BeginSession} */
+ public static int nxrBeginSession(XrSession session, long beginInfo) {
+ long __functionAddress = session.getCapabilities().xrBeginSession;
+ return callPPI(session.address(), beginInfo, __functionAddress);
+ }
+
/**
* Begins an XrSession.
*
@@ -3139,13 +3136,13 @@ public static int nxrBeginSession(XrSession session, long beginInfo) {
*
* When the application receives {@link XrEventDataSessionStateChanged} event with the {@link #XR_SESSION_STATE_READY SESSION_STATE_READY} state, the application should then call {@link #xrBeginSession BeginSession} to start rendering frames for display to the user.
*
- * After this function successfully returns, the session is considered to be running. The application should then start its frame loop consisting of some sequence of {@link #xrWaitFrame WaitFrame}/{@link #xrBeginFrame BeginFrame}/{@link #xrEndFrame EndFrame} calls.
+ * After this function successfully returns, the session is considered to be running. The application should then start its frame loop consisting of some sequence of {@link #xrWaitFrame WaitFrame}/{@link #xrBeginFrame BeginFrame}/{@link #xrEndFrame EndFrame} calls.
*
- * If the session is already running when the application calls {@link #xrBeginSession BeginSession}, the runtime must return error {@link #XR_ERROR_SESSION_RUNNING ERROR_SESSION_RUNNING}. If the session is not running when the application calls {@link #xrBeginSession BeginSession}, but the session is not yet in the {@link #XR_SESSION_STATE_READY SESSION_STATE_READY} state, the runtime must return error {@link #XR_ERROR_SESSION_NOT_READY ERROR_SESSION_NOT_READY}.
+ * If the session is already running when the application calls {@link #xrBeginSession BeginSession}, the runtime must return error {@link #XR_ERROR_SESSION_RUNNING ERROR_SESSION_RUNNING}. If the session is not running when the application calls {@link #xrBeginSession BeginSession}, but the session is not yet in the {@link #XR_SESSION_STATE_READY SESSION_STATE_READY} state, the runtime must return error {@link #XR_ERROR_SESSION_NOT_READY ERROR_SESSION_NOT_READY}.
*
* Note that a runtime may decide not to show the user any given frame from a session at any time, for example if the user has switched to a different application’s running session. The application should check whether {@link #xrWaitFrame WaitFrame} returns an {@link XrFrameState} with {@code shouldRender} set to true before rendering a given frame to determine whether that frame will be visible to the user.
*
- * Runtime session frame state must start in a reset state when a session transitions to running so that no state is carried over from when the same session was previously running.
+ * Runtime session frame state must start in a reset state when a session transitions to running so that no state is carried over from when the same session was previously running.
*
* If {@code primaryViewConfigurationType} in {@code beginInfo} is not supported by the {@code XrSystemId} used to create the {@code session}, the runtime must return {@link #XR_ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED}.
*
@@ -3183,14 +3180,14 @@ public static int nxrBeginSession(XrSession session, long beginInfo) {
*
* @param session a valid {@code XrSession} handle.
* @param beginInfo a pointer to an {@link XrSessionBeginInfo} structure.
- */
- @NativeType("XrResult")
- public static int xrBeginSession(XrSession session, @NativeType("XrSessionBeginInfo const *") XrSessionBeginInfo beginInfo) {
- return nxrBeginSession(session, beginInfo.address());
- }
-
- // --- [ xrEndSession ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrBeginSession(XrSession session, @NativeType("XrSessionBeginInfo const *") XrSessionBeginInfo beginInfo) {
+ return nxrBeginSession(session, beginInfo.address());
+ }
+
+ // --- [ xrEndSession ] ---
+
/**
* Ends an XrSession.
*
@@ -3204,9 +3201,9 @@ public static int xrBeginSession(XrSession session, @NativeType("XrSessionBeginI
*
* Description
*
- * When the application receives {@link XrEventDataSessionStateChanged} event with the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state, the application should stop its frame loop and then call {@link #xrEndSession EndSession} to end the running session. This function signals to the runtime that the application will no longer call {@link #xrWaitFrame WaitFrame}, {@link #xrBeginFrame BeginFrame} or {@link #xrEndFrame EndFrame} from any thread allowing the runtime to safely transition the session to {@link #XR_SESSION_STATE_IDLE SESSION_STATE_IDLE}. The application must also avoid reading input state or sending haptic output after calling {@link #xrEndSession EndSession}.
+ * When the application receives {@link XrEventDataSessionStateChanged} event with the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state, the application should stop its frame loop and then call {@link #xrEndSession EndSession} to end the running session. This function signals to the runtime that the application will no longer call {@link #xrWaitFrame WaitFrame}, {@link #xrBeginFrame BeginFrame} or {@link #xrEndFrame EndFrame} from any thread allowing the runtime to safely transition the session to {@link #XR_SESSION_STATE_IDLE SESSION_STATE_IDLE}. The application must also avoid reading input state or sending haptic output after calling {@link #xrEndSession EndSession}.
*
- * If the session is not running when the application calls {@link #xrEndSession EndSession}, the runtime must return error {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING}. If the session is still running when the application calls {@link #xrEndSession EndSession}, but the session is not yet in the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state, the runtime must return error {@link #XR_ERROR_SESSION_NOT_STOPPING ERROR_SESSION_NOT_STOPPING}.
+ * If the session is not running when the application calls {@link #xrEndSession EndSession}, the runtime must return error {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING}. If the session is still running when the application calls {@link #xrEndSession EndSession}, but the session is not yet in the {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} state, the runtime must return error {@link #XR_ERROR_SESSION_NOT_STOPPING ERROR_SESSION_NOT_STOPPING}.
*
* If the application wishes to exit a running session, the application can call {@link #xrRequestExitSession RequestExitSession} so that the session transitions from {@link #XR_SESSION_STATE_IDLE SESSION_STATE_IDLE} to {@link #XR_SESSION_STATE_EXITING SESSION_STATE_EXITING}.
*
@@ -3240,22 +3237,22 @@ public static int xrBeginSession(XrSession session, @NativeType("XrSessionBeginI
*
* {@link #xrBeginSession BeginSession}, {@link #xrCreateSession CreateSession}, {@link #xrDestroySession DestroySession}
*
- * @param session a handle to a running {@code XrSession}.
- */
- @NativeType("XrResult")
- public static int xrEndSession(XrSession session) {
- long __functionAddress = session.getCapabilities().xrEndSession;
- return callPI(session.address(), __functionAddress);
- }
-
- // --- [ xrRequestExitSession ] ---
-
+ * @param session a handle to a running {@code XrSession}.
+ */
+ @NativeType("XrResult")
+ public static int xrEndSession(XrSession session) {
+ long __functionAddress = session.getCapabilities().xrEndSession;
+ return callPI(session.address(), __functionAddress);
+ }
+
+ // --- [ xrRequestExitSession ] ---
+
/**
* Request to exit a running session.
*
* C Specification
*
- * When an application wishes to exit a running session, it can call {@link #xrRequestExitSession RequestExitSession}, requesting that the runtime transition through the various intermediate session states including {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} to {@link #XR_SESSION_STATE_EXITING SESSION_STATE_EXITING}.
+ * When an application wishes to exit a running session, it can call {@link #xrRequestExitSession RequestExitSession}, requesting that the runtime transition through the various intermediate session states including {@link #XR_SESSION_STATE_STOPPING SESSION_STATE_STOPPING} to {@link #XR_SESSION_STATE_EXITING SESSION_STATE_EXITING}.
*
* On platforms where an application’s lifecycle is managed by the system, session state changes may be implicitly triggered by application lifecycle state changes. On such platforms, using platform-specific methods to alter application lifecycle state may be the preferred method of provoking session state changes. The behavior of {@link #xrRequestExitSession RequestExitSession} is not altered, however explicit session exit may not interact with the platform-specific application lifecycle.
*
@@ -3267,7 +3264,7 @@ public static int xrEndSession(XrSession session) {
*
* Description
*
- * If {@code session} is not running when {@link #xrRequestExitSession RequestExitSession} is called, {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} must be returned.
+ * If {@code session} is not running when {@link #xrRequestExitSession RequestExitSession} is called, {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} must be returned.
*
* Valid Usage (Implicit)
*
@@ -3299,21 +3296,21 @@ public static int xrEndSession(XrSession session) {
* {@link #xrDestroySession DestroySession}, {@link #xrEndSession EndSession}
*
* @param session a handle to a running {@code XrSession}.
- */
- @NativeType("XrResult")
- public static int xrRequestExitSession(XrSession session) {
- long __functionAddress = session.getCapabilities().xrRequestExitSession;
- return callPI(session.address(), __functionAddress);
- }
-
- // --- [ xrWaitFrame ] ---
-
- /** Unsafe version of: {@link #xrWaitFrame WaitFrame} */
- public static int nxrWaitFrame(XrSession session, long frameWaitInfo, long frameState) {
- long __functionAddress = session.getCapabilities().xrWaitFrame;
- return callPPPI(session.address(), frameWaitInfo, frameState, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrRequestExitSession(XrSession session) {
+ long __functionAddress = session.getCapabilities().xrRequestExitSession;
+ return callPI(session.address(), __functionAddress);
+ }
+
+ // --- [ xrWaitFrame ] ---
+
+ /** Unsafe version of: {@link #xrWaitFrame WaitFrame} */
+ public static int nxrWaitFrame(XrSession session, long frameWaitInfo, long frameState) {
+ long __functionAddress = session.getCapabilities().xrWaitFrame;
+ return callPPPI(session.address(), frameWaitInfo, frameState, __functionAddress);
+ }
+
/**
* Frame timing function.
*
@@ -3341,7 +3338,7 @@ public static int nxrWaitFrame(XrSession session, long frameWaitInfo, long frame
*
* Calling {@link #xrWaitFrame WaitFrame} must be externally synchronized by the application, concurrent calls may result in undefined behavior.
*
- * The runtime must return {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} if the {@code session} is not running.
+ * The runtime must return {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} if the {@code session} is not running.
*
* Note
*
@@ -3388,20 +3385,20 @@ public static int nxrWaitFrame(XrSession session, long frameWaitInfo, long frame
* @param session a valid {@code XrSession} handle.
* @param frameWaitInfo exists for extensibility purposes, it is {@code NULL} or a pointer to a valid {@link XrFrameWaitInfo}.
* @param frameState a pointer to a valid {@link XrFrameState}, an output parameter.
- */
- @NativeType("XrResult")
- public static int xrWaitFrame(XrSession session, @Nullable @NativeType("XrFrameWaitInfo const *") XrFrameWaitInfo frameWaitInfo, @NativeType("XrFrameState *") XrFrameState frameState) {
- return nxrWaitFrame(session, memAddressSafe(frameWaitInfo), frameState.address());
- }
-
- // --- [ xrBeginFrame ] ---
-
- /** Unsafe version of: {@link #xrBeginFrame BeginFrame} */
- public static int nxrBeginFrame(XrSession session, long frameBeginInfo) {
- long __functionAddress = session.getCapabilities().xrBeginFrame;
- return callPPI(session.address(), frameBeginInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrWaitFrame(XrSession session, @Nullable @NativeType("XrFrameWaitInfo const *") XrFrameWaitInfo frameWaitInfo, @NativeType("XrFrameState *") XrFrameState frameState) {
+ return nxrWaitFrame(session, memAddressSafe(frameWaitInfo), frameState.address());
+ }
+
+ // --- [ xrBeginFrame ] ---
+
+ /** Unsafe version of: {@link #xrBeginFrame BeginFrame} */
+ public static int nxrBeginFrame(XrSession session, long frameBeginInfo) {
+ long __functionAddress = session.getCapabilities().xrBeginFrame;
+ return callPPI(session.address(), frameBeginInfo, __functionAddress);
+ }
+
/**
* Marks a frame.
*
@@ -3424,7 +3421,7 @@ public static int nxrBeginFrame(XrSession session, long frameBeginInfo) {
*
* The runtime must return the success code {@link #XR_FRAME_DISCARDED FRAME_DISCARDED} if a prior {@link #xrBeginFrame BeginFrame} has been called without an intervening call to {@link #xrEndFrame EndFrame}.
*
- * The runtime must return {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} if the {@code session} is not running.
+ * The runtime must return {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} if the {@code session} is not running.
*
* Valid Usage (Implicit)
*
@@ -3466,20 +3463,20 @@ public static int nxrBeginFrame(XrSession session, long frameBeginInfo) {
*
* @param session a valid {@code XrSession} handle.
* @param frameBeginInfo exists for extensibility purposes, it is {@code NULL} or a pointer to a valid {@link XrFrameBeginInfo}.
- */
- @NativeType("XrResult")
- public static int xrBeginFrame(XrSession session, @Nullable @NativeType("XrFrameBeginInfo const *") XrFrameBeginInfo frameBeginInfo) {
- return nxrBeginFrame(session, memAddressSafe(frameBeginInfo));
- }
-
- // --- [ xrEndFrame ] ---
-
- /** Unsafe version of: {@link #xrEndFrame EndFrame} */
- public static int nxrEndFrame(XrSession session, long frameEndInfo) {
- long __functionAddress = session.getCapabilities().xrEndFrame;
- return callPPI(session.address(), frameEndInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrBeginFrame(XrSession session, @Nullable @NativeType("XrFrameBeginInfo const *") XrFrameBeginInfo frameBeginInfo) {
+ return nxrBeginFrame(session, memAddressSafe(frameBeginInfo));
+ }
+
+ // --- [ xrEndFrame ] ---
+
+ /** Unsafe version of: {@link #xrEndFrame EndFrame} */
+ public static int nxrEndFrame(XrSession session, long frameEndInfo) {
+ long __functionAddress = session.getCapabilities().xrEndFrame;
+ return callPPI(session.address(), frameEndInfo, __functionAddress);
+ }
+
/**
* Marks a frame.
*
@@ -3515,7 +3512,7 @@ public static int nxrEndFrame(XrSession session, long frameEndInfo) {
*
* {@link #XR_ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED} must be returned if {@link XrFrameEndInfo}::environmentBlendMode is not supported.
*
- * {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} must be returned if the {@code session} is not running.
+ * {@link #XR_ERROR_SESSION_NOT_RUNNING ERROR_SESSION_NOT_RUNNING} must be returned if the {@code session} is not running.
*
* Note
*
@@ -3567,27 +3564,27 @@ public static int nxrEndFrame(XrSession session, long frameEndInfo) {
*
* @param session a valid {@code XrSession} handle.
* @param frameEndInfo a pointer to a valid {@link XrFrameEndInfo}.
- */
- @NativeType("XrResult")
- public static int xrEndFrame(XrSession session, @NativeType("XrFrameEndInfo const *") XrFrameEndInfo frameEndInfo) {
- return nxrEndFrame(session, frameEndInfo.address());
- }
-
- // --- [ xrLocateViews ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrEndFrame(XrSession session, @NativeType("XrFrameEndInfo const *") XrFrameEndInfo frameEndInfo) {
+ return nxrEndFrame(session, frameEndInfo.address());
+ }
+
+ // --- [ xrLocateViews ] ---
+
/**
* Unsafe version of: {@link #xrLocateViews LocateViews}
*
* @param viewCapacityInput an input parameter which specifies the capacity of the {@code views} array. The required capacity must be same as defined by the corresponding {@code XrViewConfigurationType}.
- */
- public static int nxrLocateViews(XrSession session, long viewLocateInfo, long viewState, int viewCapacityInput, long viewCountOutput, long views) {
- long __functionAddress = session.getCapabilities().xrLocateViews;
- if (CHECKS) {
- XrViewLocateInfo.validate(viewLocateInfo);
- }
- return callPPPPPI(session.address(), viewLocateInfo, viewState, viewCapacityInput, viewCountOutput, views, __functionAddress);
- }
-
+ */
+ public static int nxrLocateViews(XrSession session, long viewLocateInfo, long viewState, int viewCapacityInput, long viewCountOutput, long views) {
+ long __functionAddress = session.getCapabilities().xrLocateViews;
+ if (CHECKS) {
+ XrViewLocateInfo.validate(viewLocateInfo);
+ }
+ return callPPPPPI(session.address(), viewLocateInfo, viewState, viewCapacityInput, viewCountOutput, views, __functionAddress);
+ }
+
/**
* Gets view and projection info.
*
@@ -3608,9 +3605,7 @@ public static int nxrLocateViews(XrSession session, long viewLocateInfo, long vi
*
* The {@link #xrLocateViews LocateViews} function returns the view and projection info for a particular display time. This time is typically the target display time for a given frame. Repeatedly calling {@link #xrLocateViews LocateViews} with the same time may not necessarily return the same result. Instead the prediction gets increasingly accurate as the function is called closer to the given time for which a prediction is made. This allows an application to get the predicted views as late as possible in its pipeline to get the least amount of latency and prediction error.
*
- * {@link #xrLocateViews LocateViews} returns an array of {@link XrView} elements, one for each view of the specified view configuration type, along with an {@link XrViewState} containing additional state data shared across all views. The eye each view corresponds to is statically defined in {@code XrViewConfigurationType} in case the application wants to apply eye-specific rendering traits. The {@link XrViewState} and {@link XrView} member data may change on subsequent calls to {@link #xrLocateViews LocateViews}, and so applications must not assume it to be constant.
- *
- * If an application gives a {@code viewLocateInfo} with a {@code viewConfigurationType} that was not passed in the session’s call to {@link #xrBeginSession BeginSession} via the {@code beginInfo.pname}:primaryViewConfigurationType, or enabled though an extension, then the runtime must return {@link #XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE}.
+ * {@link #xrLocateViews LocateViews} returns an array of {@link XrView} elements, one for each view of the specified view configuration type, along with an {@link XrViewState} containing additional state data shared across all views. The eye each view corresponds to is statically defined in {@code XrViewConfigurationType} in case the application wants to apply eye-specific rendering traits. The {@link XrViewState} and {@link XrView} member data may change on subsequent calls to {@link #xrLocateViews LocateViews}, and so applications must not assume it to be constant.
*
* Valid Usage (Implicit)
*
@@ -3652,23 +3647,23 @@ public static int nxrLocateViews(XrSession session, long viewLocateInfo, long vi
* @param viewState the output structure with the viewer state information.
* @param viewCountOutput an output parameter which identifies the valid count of {@code views}.
* @param views an array of {@link XrView}.
- */
- @NativeType("XrResult")
- public static int xrLocateViews(XrSession session, @NativeType("XrViewLocateInfo const *") XrViewLocateInfo viewLocateInfo, @NativeType("XrViewState *") XrViewState viewState, @NativeType("uint32_t *") IntBuffer viewCountOutput, @Nullable @NativeType("XrView *") XrView.Buffer views) {
- if (CHECKS) {
- check(viewCountOutput, 1);
- }
- return nxrLocateViews(session, viewLocateInfo.address(), viewState.address(), remainingSafe(views), memAddress(viewCountOutput), memAddressSafe(views));
- }
-
- // --- [ xrStringToPath ] ---
-
- /** Unsafe version of: {@link #xrStringToPath StringToPath} */
- public static int nxrStringToPath(XrInstance instance, long pathString, long path) {
- long __functionAddress = instance.getCapabilities().xrStringToPath;
- return callPPPI(instance.address(), pathString, path, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrLocateViews(XrSession session, @NativeType("XrViewLocateInfo const *") XrViewLocateInfo viewLocateInfo, @NativeType("XrViewState *") XrViewState viewState, @NativeType("uint32_t *") IntBuffer viewCountOutput, @Nullable @NativeType("XrView *") XrView.Buffer views) {
+ if (CHECKS) {
+ check(viewCountOutput, 1);
+ }
+ return nxrLocateViews(session, viewLocateInfo.address(), viewState.address(), remainingSafe(views), memAddress(viewCountOutput), memAddressSafe(views));
+ }
+
+ // --- [ xrStringToPath ] ---
+
+ /** Unsafe version of: {@link #xrStringToPath StringToPath} */
+ public static int nxrStringToPath(XrInstance instance, long pathString, long path) {
+ long __functionAddress = instance.getCapabilities().xrStringToPath;
+ return callPPPI(instance.address(), pathString, path, __functionAddress);
+ }
+
/**
* Converts a string to a semantic path.
*
@@ -3684,7 +3679,7 @@ public static int nxrStringToPath(XrInstance instance, long pathString, long pat
*
* Description
*
- * {@link #xrStringToPath StringToPath} retrieves the {@code XrPath} value for a well-formed path string. If such a value had not yet been assigned by the runtime to the provided path string in this {@code XrInstance}, one must be assigned at this point. All calls to this function with the same {@code XrInstance} and path string must retrieve the same {@code XrPath} value. Upon failure, {@link #xrStringToPath StringToPath} must return an appropriate {@code XrResult}, and may set the output parameter to {@link #XR_NULL_PATH NULL_PATH}. See Path Atom Type for the conditions under which an error may be returned when this function is given a valid {@code XrInstance} and a well-formed path string.
+ * {@link #xrStringToPath StringToPath} retrieves the {@code XrPath} value for a well-formed path string. If such a value had not yet been assigned by the runtime to the provided path string in this {@code XrInstance}, one must be assigned at this point. All calls to this function with the same {@code XrInstance} and path string must retrieve the same {@code XrPath} value. Upon failure, {@link #xrStringToPath StringToPath} must return an appropriate {@code XrResult}, and may set the output parameter to {@link #XR_NULL_PATH NULL_PATH}. See Path Atom Type for the conditions under which an error may be returned when this function is given a valid {@code XrInstance} and a well-formed path string.
*
* If the runtime’s resources are exhausted and it cannot create the path, a return value of {@link #XR_ERROR_PATH_COUNT_EXCEEDED ERROR_PATH_COUNT_EXCEEDED} must be returned. If the application specifies a string that is not a well-formed path string, {@link #XR_ERROR_PATH_FORMAT_INVALID ERROR_PATH_FORMAT_INVALID} must be returned.
*
@@ -3723,16 +3718,16 @@ public static int nxrStringToPath(XrInstance instance, long pathString, long pat
* @param instance an instance previously created.
* @param pathString the path name string to retrieve the associated {@code XrPath} for.
* @param path the output parameter, which must point to an {@code XrPath}. Given a well-formed path name string, this will be populated with an opaque value that is constant for that path string during the lifetime of that instance.
- */
- @NativeType("XrResult")
- public static int xrStringToPath(XrInstance instance, @NativeType("char const *") ByteBuffer pathString, @NativeType("XrPath *") LongBuffer path) {
- if (CHECKS) {
- checkNT1(pathString);
- check(path, 1);
- }
- return nxrStringToPath(instance, memAddress(pathString), memAddress(path));
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrStringToPath(XrInstance instance, @NativeType("char const *") ByteBuffer pathString, @NativeType("XrPath *") LongBuffer path) {
+ if (CHECKS) {
+ checkNT1(pathString);
+ check(path, 1);
+ }
+ return nxrStringToPath(instance, memAddress(pathString), memAddress(path));
+ }
+
/**
* Converts a string to a semantic path.
*
@@ -3748,7 +3743,7 @@ public static int xrStringToPath(XrInstance instance, @NativeType("char const *"
*
* Description
*
- * {@link #xrStringToPath StringToPath} retrieves the {@code XrPath} value for a well-formed path string. If such a value had not yet been assigned by the runtime to the provided path string in this {@code XrInstance}, one must be assigned at this point. All calls to this function with the same {@code XrInstance} and path string must retrieve the same {@code XrPath} value. Upon failure, {@link #xrStringToPath StringToPath} must return an appropriate {@code XrResult}, and may set the output parameter to {@link #XR_NULL_PATH NULL_PATH}. See Path Atom Type for the conditions under which an error may be returned when this function is given a valid {@code XrInstance} and a well-formed path string.
+ * {@link #xrStringToPath StringToPath} retrieves the {@code XrPath} value for a well-formed path string. If such a value had not yet been assigned by the runtime to the provided path string in this {@code XrInstance}, one must be assigned at this point. All calls to this function with the same {@code XrInstance} and path string must retrieve the same {@code XrPath} value. Upon failure, {@link #xrStringToPath StringToPath} must return an appropriate {@code XrResult}, and may set the output parameter to {@link #XR_NULL_PATH NULL_PATH}. See Path Atom Type for the conditions under which an error may be returned when this function is given a valid {@code XrInstance} and a well-formed path string.
*
* If the runtime’s resources are exhausted and it cannot create the path, a return value of {@link #XR_ERROR_PATH_COUNT_EXCEEDED ERROR_PATH_COUNT_EXCEEDED} must be returned. If the application specifies a string that is not a well-formed path string, {@link #XR_ERROR_PATH_FORMAT_INVALID ERROR_PATH_FORMAT_INVALID} must be returned.
*
@@ -3787,34 +3782,34 @@ public static int xrStringToPath(XrInstance instance, @NativeType("char const *"
* @param instance an instance previously created.
* @param pathString the path name string to retrieve the associated {@code XrPath} for.
* @param path the output parameter, which must point to an {@code XrPath}. Given a well-formed path name string, this will be populated with an opaque value that is constant for that path string during the lifetime of that instance.
- */
- @NativeType("XrResult")
- public static int xrStringToPath(XrInstance instance, @NativeType("char const *") CharSequence pathString, @NativeType("XrPath *") LongBuffer path) {
- if (CHECKS) {
- check(path, 1);
- }
- MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
- try {
- stack.nUTF8(pathString, true);
- long pathStringEncoded = stack.getPointerAddress();
- return nxrStringToPath(instance, pathStringEncoded, memAddress(path));
- } finally {
- stack.setPointer(stackPointer);
- }
- }
-
- // --- [ xrPathToString ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrStringToPath(XrInstance instance, @NativeType("char const *") CharSequence pathString, @NativeType("XrPath *") LongBuffer path) {
+ if (CHECKS) {
+ check(path, 1);
+ }
+ MemoryStack stack = stackGet(); int stackPointer = stack.getPointer();
+ try {
+ stack.nUTF8(pathString, true);
+ long pathStringEncoded = stack.getPointerAddress();
+ return nxrStringToPath(instance, pathStringEncoded, memAddress(path));
+ } finally {
+ stack.setPointer(stackPointer);
+ }
+ }
+
+ // --- [ xrPathToString ] ---
+
/**
* Unsafe version of: {@link #xrPathToString PathToString}
*
* @param bufferCapacityInput the capacity of the buffer, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrPathToString(XrInstance instance, long path, int bufferCapacityInput, long bufferCountOutput, long buffer) {
- long __functionAddress = instance.getCapabilities().xrPathToString;
- return callPJPPI(instance.address(), path, bufferCapacityInput, bufferCountOutput, buffer, __functionAddress);
- }
-
+ */
+ public static int nxrPathToString(XrInstance instance, long path, int bufferCapacityInput, long bufferCountOutput, long buffer) {
+ long __functionAddress = instance.getCapabilities().xrPathToString;
+ return callPJPPI(instance.address(), path, bufferCapacityInput, bufferCountOutput, buffer, __functionAddress);
+ }
+
/**
* Converts a semantic path to a string.
*
@@ -3866,23 +3861,23 @@ public static int nxrPathToString(XrInstance instance, long path, int bufferCapa
* @param path the valid {@code XrPath} value to retrieve the path string for.
* @param bufferCountOutput a pointer to the count of characters written to {@code buffer} (including the terminating '\0'), or a pointer to the required capacity in the case that {@code bufferCapacityInput} is insufficient.
* @param buffer a pointer to an application-allocated buffer that will be filled with the semantic path string. It can be {@code NULL} if {@code bufferCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrPathToString(XrInstance instance, @NativeType("XrPath") long path, @NativeType("uint32_t *") IntBuffer bufferCountOutput, @Nullable @NativeType("char *") ByteBuffer buffer) {
- if (CHECKS) {
- check(bufferCountOutput, 1);
- }
- return nxrPathToString(instance, path, remainingSafe(buffer), memAddress(bufferCountOutput), memAddressSafe(buffer));
- }
-
- // --- [ xrCreateActionSet ] ---
-
- /** Unsafe version of: {@link #xrCreateActionSet CreateActionSet} */
- public static int nxrCreateActionSet(XrInstance instance, long createInfo, long actionSet) {
- long __functionAddress = instance.getCapabilities().xrCreateActionSet;
- return callPPPI(instance.address(), createInfo, actionSet, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrPathToString(XrInstance instance, @NativeType("XrPath") long path, @NativeType("uint32_t *") IntBuffer bufferCountOutput, @Nullable @NativeType("char *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(bufferCountOutput, 1);
+ }
+ return nxrPathToString(instance, path, remainingSafe(buffer), memAddress(bufferCountOutput), memAddressSafe(buffer));
+ }
+
+ // --- [ xrCreateActionSet ] ---
+
+ /** Unsafe version of: {@link #xrCreateActionSet CreateActionSet} */
+ public static int nxrCreateActionSet(XrInstance instance, long createInfo, long actionSet) {
+ long __functionAddress = instance.getCapabilities().xrCreateActionSet;
+ return callPPPI(instance.address(), createInfo, actionSet, __functionAddress);
+ }
+
/**
* Creates an XrActionSet.
*
@@ -3938,17 +3933,17 @@ public static int nxrCreateActionSet(XrInstance instance, long createInfo, long
* @param instance a handle to an {@code XrInstance}.
* @param createInfo a pointer to a valid {@link XrActionSetCreateInfo} structure that defines the action set being created.
* @param actionSet a pointer to an {@code XrActionSet} where the created action set is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateActionSet(XrInstance instance, @NativeType("XrActionSetCreateInfo const *") XrActionSetCreateInfo createInfo, @NativeType("XrActionSet *") PointerBuffer actionSet) {
- if (CHECKS) {
- check(actionSet, 1);
- }
- return nxrCreateActionSet(instance, createInfo.address(), memAddress(actionSet));
- }
-
- // --- [ xrDestroyActionSet ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateActionSet(XrInstance instance, @NativeType("XrActionSetCreateInfo const *") XrActionSetCreateInfo createInfo, @NativeType("XrActionSet *") PointerBuffer actionSet) {
+ if (CHECKS) {
+ check(actionSet, 1);
+ }
+ return nxrCreateActionSet(instance, createInfo.address(), memAddress(actionSet));
+ }
+
+ // --- [ xrDestroyActionSet ] ---
+
/**
* Destroys an XrActionSet.
*
@@ -3964,7 +3959,7 @@ public static int xrCreateActionSet(XrInstance instance, @NativeType("XrActionSe
*
* Action set handles can be destroyed by calling {@link #xrDestroyActionSet DestroyActionSet}. When an action set handle is destroyed, all handles of actions in that action set are also destroyed.
*
- * The implementation must not free underlying resources for the action set while there are other valid handles that refer to those resources. The implementation may release resources for an action set when all of the action spaces for actions in that action set have been destroyed. See Action Spaces Lifetime for details.
+ * The implementation must not free underlying resources for the action set while there are other valid handles that refer to those resources. The implementation may release resources for an action set when all of the action spaces for actions in that action set have been destroyed. See Action Spaces Lifetime for details.
*
* Resources for all action sets in an instance must be freed when the instance containing those actions sets is destroyed.
*
@@ -3998,21 +3993,21 @@ public static int xrCreateActionSet(XrInstance instance, @NativeType("XrActionSe
* {@link #xrCreateActionSet CreateActionSet}
*
* @param actionSet the action set to destroy.
- */
- @NativeType("XrResult")
- public static int xrDestroyActionSet(XrActionSet actionSet) {
- long __functionAddress = actionSet.getCapabilities().xrDestroyActionSet;
- return callPI(actionSet.address(), __functionAddress);
- }
-
- // --- [ xrCreateAction ] ---
-
- /** Unsafe version of: {@link #xrCreateAction CreateAction} */
- public static int nxrCreateAction(XrActionSet actionSet, long createInfo, long action) {
- long __functionAddress = actionSet.getCapabilities().xrCreateAction;
- return callPPPI(actionSet.address(), createInfo, action, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroyActionSet(XrActionSet actionSet) {
+ long __functionAddress = actionSet.getCapabilities().xrDestroyActionSet;
+ return callPI(actionSet.address(), __functionAddress);
+ }
+
+ // --- [ xrCreateAction ] ---
+
+ /** Unsafe version of: {@link #xrCreateAction CreateAction} */
+ public static int nxrCreateAction(XrActionSet actionSet, long createInfo, long action) {
+ long __functionAddress = actionSet.getCapabilities().xrCreateAction;
+ return callPPPI(actionSet.address(), createInfo, action, __functionAddress);
+ }
+
/**
* Creates an XrAction.
*
@@ -4073,17 +4068,17 @@ public static int nxrCreateAction(XrActionSet actionSet, long createInfo, long a
* @param actionSet a handle to an {@code XrActionSet}.
* @param createInfo a pointer to a valid {@link XrActionCreateInfo} structure that defines the action being created.
* @param action a pointer to an {@code XrAction} where the created action is returned.
- */
- @NativeType("XrResult")
- public static int xrCreateAction(XrActionSet actionSet, @NativeType("XrActionCreateInfo const *") XrActionCreateInfo createInfo, @NativeType("XrAction *") PointerBuffer action) {
- if (CHECKS) {
- check(action, 1);
- }
- return nxrCreateAction(actionSet, createInfo.address(), memAddress(action));
- }
-
- // --- [ xrDestroyAction ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrCreateAction(XrActionSet actionSet, @NativeType("XrActionCreateInfo const *") XrActionCreateInfo createInfo, @NativeType("XrAction *") PointerBuffer action) {
+ if (CHECKS) {
+ check(action, 1);
+ }
+ return nxrCreateAction(actionSet, createInfo.address(), memAddress(action));
+ }
+
+ // --- [ xrDestroyAction ] ---
+
/**
* Destroys an XrAction.
*
@@ -4099,7 +4094,7 @@ public static int xrCreateAction(XrActionSet actionSet, @NativeType("XrActionCre
*
* Action handles can be destroyed by calling {@link #xrDestroyAction DestroyAction}. Handles for actions that are part of an action set are automatically destroyed when the action set’s handle is destroyed.
*
- * The implementation must not destroy the underlying resources for an action when {@link #xrDestroyAction DestroyAction} is called. Those resources are still used to make action spaces locatable and when processing action priority in {@link #xrSyncActions SyncActions}. Destroying the action handle removes the application’s access to these resources, but has no other change on actions.
+ * The implementation must not destroy the underlying resources for an action when {@link #xrDestroyAction DestroyAction} is called. Those resources are still used to make action spaces locatable and when processing action priority in {@link #xrSyncActions SyncActions}. Destroying the action handle removes the application’s access to these resources, but has no other change on actions.
*
* Resources for all actions in an instance must be freed when the instance containing those actions sets is destroyed.
*
@@ -4133,24 +4128,24 @@ public static int xrCreateAction(XrActionSet actionSet, @NativeType("XrActionCre
* {@link #xrCreateAction CreateAction}
*
* @param action the action to destroy.
- */
- @NativeType("XrResult")
- public static int xrDestroyAction(XrAction action) {
- long __functionAddress = action.getCapabilities().xrDestroyAction;
- return callPI(action.address(), __functionAddress);
- }
-
- // --- [ xrSuggestInteractionProfileBindings ] ---
-
- /** Unsafe version of: {@link #xrSuggestInteractionProfileBindings SuggestInteractionProfileBindings} */
- public static int nxrSuggestInteractionProfileBindings(XrInstance instance, long suggestedBindings) {
- long __functionAddress = instance.getCapabilities().xrSuggestInteractionProfileBindings;
- if (CHECKS) {
- XrInteractionProfileSuggestedBinding.validate(suggestedBindings);
- }
- return callPPI(instance.address(), suggestedBindings, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrDestroyAction(XrAction action) {
+ long __functionAddress = action.getCapabilities().xrDestroyAction;
+ return callPI(action.address(), __functionAddress);
+ }
+
+ // --- [ xrSuggestInteractionProfileBindings ] ---
+
+ /** Unsafe version of: {@link #xrSuggestInteractionProfileBindings SuggestInteractionProfileBindings} */
+ public static int nxrSuggestInteractionProfileBindings(XrInstance instance, long suggestedBindings) {
+ long __functionAddress = instance.getCapabilities().xrSuggestInteractionProfileBindings;
+ if (CHECKS) {
+ XrInteractionProfileSuggestedBinding.validate(suggestedBindings);
+ }
+ return callPPI(instance.address(), suggestedBindings, __functionAddress);
+ }
+
/**
* Sets the application-suggested bindings for the interaction profile.
*
@@ -4171,7 +4166,7 @@ public static int nxrSuggestInteractionProfileBindings(XrInstance instance, long
*
* If the application successfully calls {@link #xrSuggestInteractionProfileBindings SuggestInteractionProfileBindings} more than once for an interaction profile, the runtime must discard the previous suggested bindings and replace them with the new suggested bindings for that profile.
*
- * If the interaction profile path does not follow the structure defined in Interaction Profiles or suggested bindings contain paths that do not follow the format defined in Device input subpaths, the runtime must return {@link #XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. If the interaction profile or input source for any of the suggested bindings does not exist in the allowlist defined in Interaction Profile Paths, the runtime must return {@link #XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. A runtime must accept every valid binding in the allowlist though it is free to ignore any of them.
+ * If the interaction profile path does not follow the structure defined in Interaction Profiles or suggested bindings contain paths that do not follow the format defined in Device input subpaths, the runtime must return {@link #XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. If the interaction profile or input source for any of the suggested bindings does not exist in the allowlist defined in Interaction Profile Paths, the runtime must return {@link #XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. A runtime must accept every valid binding in the allowlist though it is free to ignore any of them.
*
* If the action set for any action referenced in the {@code suggestedBindings} parameter has been included in a call to {@link #xrAttachSessionActionSets AttachSessionActionSets}, the implementation must return {@link #XR_ERROR_ACTIONSETS_ALREADY_ATTACHED ERROR_ACTIONSETS_ALREADY_ATTACHED}.
*
@@ -4207,23 +4202,23 @@ public static int nxrSuggestInteractionProfileBindings(XrInstance instance, long
*
* @param instance the {@code XrInstance} for which the application would like to set suggested bindings
* @param suggestedBindings the {@link XrInteractionProfileSuggestedBinding} that the application would like to set
- */
- @NativeType("XrResult")
- public static int xrSuggestInteractionProfileBindings(XrInstance instance, @NativeType("XrInteractionProfileSuggestedBinding const *") XrInteractionProfileSuggestedBinding suggestedBindings) {
- return nxrSuggestInteractionProfileBindings(instance, suggestedBindings.address());
- }
-
- // --- [ xrAttachSessionActionSets ] ---
-
- /** Unsafe version of: {@link #xrAttachSessionActionSets AttachSessionActionSets} */
- public static int nxrAttachSessionActionSets(XrSession session, long attachInfo) {
- long __functionAddress = session.getCapabilities().xrAttachSessionActionSets;
- if (CHECKS) {
- XrSessionActionSetsAttachInfo.validate(attachInfo);
- }
- return callPPI(session.address(), attachInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrSuggestInteractionProfileBindings(XrInstance instance, @NativeType("XrInteractionProfileSuggestedBinding const *") XrInteractionProfileSuggestedBinding suggestedBindings) {
+ return nxrSuggestInteractionProfileBindings(instance, suggestedBindings.address());
+ }
+
+ // --- [ xrAttachSessionActionSets ] ---
+
+ /** Unsafe version of: {@link #xrAttachSessionActionSets AttachSessionActionSets} */
+ public static int nxrAttachSessionActionSets(XrSession session, long attachInfo) {
+ long __functionAddress = session.getCapabilities().xrAttachSessionActionSets;
+ if (CHECKS) {
+ XrSessionActionSetsAttachInfo.validate(attachInfo);
+ }
+ return callPPI(session.address(), attachInfo, __functionAddress);
+ }
+
/**
* Attaches action sets to a given session.
*
@@ -4278,20 +4273,20 @@ public static int nxrAttachSessionActionSets(XrSession session, long attachInfo)
*
* @param session the {@code XrSession} to attach the action sets to.
* @param attachInfo the {@link XrSessionActionSetsAttachInfo} to provide information to attach action sets to the session.
- */
- @NativeType("XrResult")
- public static int xrAttachSessionActionSets(XrSession session, @NativeType("XrSessionActionSetsAttachInfo const *") XrSessionActionSetsAttachInfo attachInfo) {
- return nxrAttachSessionActionSets(session, attachInfo.address());
- }
-
- // --- [ xrGetCurrentInteractionProfile ] ---
-
- /** Unsafe version of: {@link #xrGetCurrentInteractionProfile GetCurrentInteractionProfile} */
- public static int nxrGetCurrentInteractionProfile(XrSession session, long topLevelUserPath, long interactionProfile) {
- long __functionAddress = session.getCapabilities().xrGetCurrentInteractionProfile;
- return callPJPI(session.address(), topLevelUserPath, interactionProfile, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrAttachSessionActionSets(XrSession session, @NativeType("XrSessionActionSetsAttachInfo const *") XrSessionActionSetsAttachInfo attachInfo) {
+ return nxrAttachSessionActionSets(session, attachInfo.address());
+ }
+
+ // --- [ xrGetCurrentInteractionProfile ] ---
+
+ /** Unsafe version of: {@link #xrGetCurrentInteractionProfile GetCurrentInteractionProfile} */
+ public static int nxrGetCurrentInteractionProfile(XrSession session, long topLevelUserPath, long interactionProfile) {
+ long __functionAddress = session.getCapabilities().xrGetCurrentInteractionProfile;
+ return callPJPI(session.address(), topLevelUserPath, interactionProfile, __functionAddress);
+ }
+
/**
* Gets the current interaction profile for a top level user paths.
*
@@ -4311,7 +4306,7 @@ public static int nxrGetCurrentInteractionProfile(XrSession session, long topLev
*
* The runtime must return only interaction profiles for which the application has provided bindings with {@link #xrSuggestInteractionProfileBindings SuggestInteractionProfileBindings} or {@link #XR_NULL_PATH NULL_PATH}. The runtime may return interaction profiles that do not represent physically present hardware, for example if the runtime is using a known interaction profile to bind to hardware that the application is not aware of. The runtime may return the last-known interaction profile in the event that no controllers are active.
*
- * If {@link #xrAttachSessionActionSets AttachSessionActionSets} has not yet been called for the {@code session}, the runtime must return {@link #XR_ERROR_ACTIONSET_NOT_ATTACHED ERROR_ACTIONSET_NOT_ATTACHED}. If {@code topLevelUserPath} is not one of the device input subpaths described in section /user paths, the runtime must return {@link #XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}.
+ * If {@link #xrAttachSessionActionSets AttachSessionActionSets} has not yet been called for the {@code session}, the runtime must return {@link #XR_ERROR_ACTIONSET_NOT_ATTACHED ERROR_ACTIONSET_NOT_ATTACHED}. If {@code topLevelUserPath} is not one of the device input subpaths described in section /user paths, the runtime must return {@link #XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}.
*
* Valid Usage (Implicit)
*
@@ -4348,23 +4343,23 @@ public static int nxrGetCurrentInteractionProfile(XrSession session, long topLev
* @param session the {@code XrSession} for which the application would like to retrieve the current interaction profile.
* @param topLevelUserPath the top level user path the application would like to retrieve the interaction profile for.
* @param interactionProfile a pointer to an {@link XrInteractionProfileState} structure to receive the current interaction profile.
- */
- @NativeType("XrResult")
- public static int xrGetCurrentInteractionProfile(XrSession session, @NativeType("XrPath") long topLevelUserPath, @NativeType("XrInteractionProfileState *") XrInteractionProfileState interactionProfile) {
- return nxrGetCurrentInteractionProfile(session, topLevelUserPath, interactionProfile.address());
- }
-
- // --- [ xrGetActionStateBoolean ] ---
-
- /** Unsafe version of: {@link #xrGetActionStateBoolean GetActionStateBoolean} */
- public static int nxrGetActionStateBoolean(XrSession session, long getInfo, long state) {
- long __functionAddress = session.getCapabilities().xrGetActionStateBoolean;
- if (CHECKS) {
- XrActionStateGetInfo.validate(getInfo);
- }
- return callPPPI(session.address(), getInfo, state, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetCurrentInteractionProfile(XrSession session, @NativeType("XrPath") long topLevelUserPath, @NativeType("XrInteractionProfileState *") XrInteractionProfileState interactionProfile) {
+ return nxrGetCurrentInteractionProfile(session, topLevelUserPath, interactionProfile.address());
+ }
+
+ // --- [ xrGetActionStateBoolean ] ---
+
+ /** Unsafe version of: {@link #xrGetActionStateBoolean GetActionStateBoolean} */
+ public static int nxrGetActionStateBoolean(XrSession session, long getInfo, long state) {
+ long __functionAddress = session.getCapabilities().xrGetActionStateBoolean;
+ if (CHECKS) {
+ XrActionStateGetInfo.validate(getInfo);
+ }
+ return callPPPI(session.address(), getInfo, state, __functionAddress);
+ }
+
/**
* Gets boolean action state.
*
@@ -4415,23 +4410,23 @@ public static int nxrGetActionStateBoolean(XrSession session, long getInfo, long
* @param session the {@code XrSession} to query.
* @param getInfo a pointer to {@link XrActionStateGetInfo} to provide action and subaction paths information.
* @param state a pointer to a valid {@link XrActionStateBoolean} into which the state will be placed.
- */
- @NativeType("XrResult")
- public static int xrGetActionStateBoolean(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStateBoolean *") XrActionStateBoolean state) {
- return nxrGetActionStateBoolean(session, getInfo.address(), state.address());
- }
-
- // --- [ xrGetActionStateFloat ] ---
-
- /** Unsafe version of: {@link #xrGetActionStateFloat GetActionStateFloat} */
- public static int nxrGetActionStateFloat(XrSession session, long getInfo, long state) {
- long __functionAddress = session.getCapabilities().xrGetActionStateFloat;
- if (CHECKS) {
- XrActionStateGetInfo.validate(getInfo);
- }
- return callPPPI(session.address(), getInfo, state, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetActionStateBoolean(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStateBoolean *") XrActionStateBoolean state) {
+ return nxrGetActionStateBoolean(session, getInfo.address(), state.address());
+ }
+
+ // --- [ xrGetActionStateFloat ] ---
+
+ /** Unsafe version of: {@link #xrGetActionStateFloat GetActionStateFloat} */
+ public static int nxrGetActionStateFloat(XrSession session, long getInfo, long state) {
+ long __functionAddress = session.getCapabilities().xrGetActionStateFloat;
+ if (CHECKS) {
+ XrActionStateGetInfo.validate(getInfo);
+ }
+ return callPPPI(session.address(), getInfo, state, __functionAddress);
+ }
+
/**
* Gets a floating point action state.
*
@@ -4482,23 +4477,23 @@ public static int nxrGetActionStateFloat(XrSession session, long getInfo, long s
* @param session the {@code XrSession} to query.
* @param getInfo a pointer to {@link XrActionStateGetInfo} to provide action and subaction paths information.
* @param state a pointer to a valid {@link XrActionStateFloat} into which the state will be placed.
- */
- @NativeType("XrResult")
- public static int xrGetActionStateFloat(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStateFloat *") XrActionStateFloat state) {
- return nxrGetActionStateFloat(session, getInfo.address(), state.address());
- }
-
- // --- [ xrGetActionStateVector2f ] ---
-
- /** Unsafe version of: {@link #xrGetActionStateVector2f GetActionStateVector2f} */
- public static int nxrGetActionStateVector2f(XrSession session, long getInfo, long state) {
- long __functionAddress = session.getCapabilities().xrGetActionStateVector2f;
- if (CHECKS) {
- XrActionStateGetInfo.validate(getInfo);
- }
- return callPPPI(session.address(), getInfo, state, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetActionStateFloat(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStateFloat *") XrActionStateFloat state) {
+ return nxrGetActionStateFloat(session, getInfo.address(), state.address());
+ }
+
+ // --- [ xrGetActionStateVector2f ] ---
+
+ /** Unsafe version of: {@link #xrGetActionStateVector2f GetActionStateVector2f} */
+ public static int nxrGetActionStateVector2f(XrSession session, long getInfo, long state) {
+ long __functionAddress = session.getCapabilities().xrGetActionStateVector2f;
+ if (CHECKS) {
+ XrActionStateGetInfo.validate(getInfo);
+ }
+ return callPPPI(session.address(), getInfo, state, __functionAddress);
+ }
+
/**
* Gets 2D float vector action state.
*
@@ -4549,23 +4544,23 @@ public static int nxrGetActionStateVector2f(XrSession session, long getInfo, lon
* @param session the {@code XrSession} to query.
* @param getInfo a pointer to {@link XrActionStateGetInfo} to provide action and subaction paths information.
* @param state a pointer to a valid {@link XrActionStateVector2f} into which the state will be placed.
- */
- @NativeType("XrResult")
- public static int xrGetActionStateVector2f(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStateVector2f *") XrActionStateVector2f state) {
- return nxrGetActionStateVector2f(session, getInfo.address(), state.address());
- }
-
- // --- [ xrGetActionStatePose ] ---
-
- /** Unsafe version of: {@link #xrGetActionStatePose GetActionStatePose} */
- public static int nxrGetActionStatePose(XrSession session, long getInfo, long state) {
- long __functionAddress = session.getCapabilities().xrGetActionStatePose;
- if (CHECKS) {
- XrActionStateGetInfo.validate(getInfo);
- }
- return callPPPI(session.address(), getInfo, state, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetActionStateVector2f(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStateVector2f *") XrActionStateVector2f state) {
+ return nxrGetActionStateVector2f(session, getInfo.address(), state.address());
+ }
+
+ // --- [ xrGetActionStatePose ] ---
+
+ /** Unsafe version of: {@link #xrGetActionStatePose GetActionStatePose} */
+ public static int nxrGetActionStatePose(XrSession session, long getInfo, long state) {
+ long __functionAddress = session.getCapabilities().xrGetActionStatePose;
+ if (CHECKS) {
+ XrActionStateGetInfo.validate(getInfo);
+ }
+ return callPPPI(session.address(), getInfo, state, __functionAddress);
+ }
+
/**
* Gets metadata from a pose action.
*
@@ -4620,20 +4615,20 @@ public static int nxrGetActionStatePose(XrSession session, long getInfo, long st
* @param session the {@code XrSession} to query.
* @param getInfo a pointer to {@link XrActionStateGetInfo} to provide action and subaction paths information.
* @param state a pointer to a valid {@link XrActionStatePose} into which the state will be placed.
- */
- @NativeType("XrResult")
- public static int xrGetActionStatePose(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStatePose *") XrActionStatePose state) {
- return nxrGetActionStatePose(session, getInfo.address(), state.address());
- }
-
- // --- [ xrSyncActions ] ---
-
- /** Unsafe version of: {@link #xrSyncActions SyncActions} */
- public static int nxrSyncActions(XrSession session, long syncInfo) {
- long __functionAddress = session.getCapabilities().xrSyncActions;
- return callPPI(session.address(), syncInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetActionStatePose(XrSession session, @NativeType("XrActionStateGetInfo const *") XrActionStateGetInfo getInfo, @NativeType("XrActionStatePose *") XrActionStatePose state) {
+ return nxrGetActionStatePose(session, getInfo.address(), state.address());
+ }
+
+ // --- [ xrSyncActions ] ---
+
+ /** Unsafe version of: {@link #xrSyncActions SyncActions} */
+ public static int nxrSyncActions(XrSession session, long syncInfo) {
+ long __functionAddress = session.getCapabilities().xrSyncActions;
+ return callPPI(session.address(), syncInfo, __functionAddress);
+ }
+
/**
* Updates the current state of input actions.
*
@@ -4687,27 +4682,27 @@ public static int nxrSyncActions(XrSession session, long syncInfo) {
*
* @param session a handle to the {@code XrSession} that all provided action set handles belong to.
* @param syncInfo an {@link XrActionsSyncInfo} providing information to synchronize action states.
- */
- @NativeType("XrResult")
- public static int xrSyncActions(XrSession session, @NativeType("XrActionsSyncInfo const *") XrActionsSyncInfo syncInfo) {
- return nxrSyncActions(session, syncInfo.address());
- }
-
- // --- [ xrEnumerateBoundSourcesForAction ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrSyncActions(XrSession session, @NativeType("XrActionsSyncInfo const *") XrActionsSyncInfo syncInfo) {
+ return nxrSyncActions(session, syncInfo.address());
+ }
+
+ // --- [ xrEnumerateBoundSourcesForAction ] ---
+
/**
* Unsafe version of: {@link #xrEnumerateBoundSourcesForAction EnumerateBoundSourcesForAction}
*
* @param sourceCapacityInput the capacity of the array, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrEnumerateBoundSourcesForAction(XrSession session, long enumerateInfo, int sourceCapacityInput, long sourceCountOutput, long sources) {
- long __functionAddress = session.getCapabilities().xrEnumerateBoundSourcesForAction;
- if (CHECKS) {
- XrBoundSourcesForActionEnumerateInfo.validate(enumerateInfo);
- }
- return callPPPPI(session.address(), enumerateInfo, sourceCapacityInput, sourceCountOutput, sources, __functionAddress);
- }
-
+ */
+ public static int nxrEnumerateBoundSourcesForAction(XrSession session, long enumerateInfo, int sourceCapacityInput, long sourceCountOutput, long sources) {
+ long __functionAddress = session.getCapabilities().xrEnumerateBoundSourcesForAction;
+ if (CHECKS) {
+ XrBoundSourcesForActionEnumerateInfo.validate(enumerateInfo);
+ }
+ return callPPPPI(session.address(), enumerateInfo, sourceCapacityInput, sourceCountOutput, sources, __functionAddress);
+ }
+
/**
* Queries the bound input sources for an action.
*
@@ -4774,27 +4769,27 @@ public static int nxrEnumerateBoundSourcesForAction(XrSession session, long enum
* @param enumerateInfo an {@link XrBoundSourcesForActionEnumerateInfo} providing the query information.
* @param sourceCountOutput a pointer to the count of {@code sources}, or a pointer to the required capacity in the case that {@code sourceCapacityInput} is insufficient.
* @param sources a pointer to an application-allocated array that will be filled with the {@code XrPath} values for all bound sources. It can be {@code NULL} if {@code sourceCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrEnumerateBoundSourcesForAction(XrSession session, @NativeType("XrBoundSourcesForActionEnumerateInfo const *") XrBoundSourcesForActionEnumerateInfo enumerateInfo, @NativeType("uint32_t *") IntBuffer sourceCountOutput, @Nullable @NativeType("XrPath *") LongBuffer sources) {
- if (CHECKS) {
- check(sourceCountOutput, 1);
- }
- return nxrEnumerateBoundSourcesForAction(session, enumerateInfo.address(), remainingSafe(sources), memAddress(sourceCountOutput), memAddressSafe(sources));
- }
-
- // --- [ xrGetInputSourceLocalizedName ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrEnumerateBoundSourcesForAction(XrSession session, @NativeType("XrBoundSourcesForActionEnumerateInfo const *") XrBoundSourcesForActionEnumerateInfo enumerateInfo, @NativeType("uint32_t *") IntBuffer sourceCountOutput, @Nullable @NativeType("XrPath *") LongBuffer sources) {
+ if (CHECKS) {
+ check(sourceCountOutput, 1);
+ }
+ return nxrEnumerateBoundSourcesForAction(session, enumerateInfo.address(), remainingSafe(sources), memAddress(sourceCountOutput), memAddressSafe(sources));
+ }
+
+ // --- [ xrGetInputSourceLocalizedName ] ---
+
/**
* Unsafe version of: {@link #xrGetInputSourceLocalizedName GetInputSourceLocalizedName}
*
* @param bufferCapacityInput the capacity of the {@code buffer}, or 0 to indicate a request to retrieve the required capacity.
- */
- public static int nxrGetInputSourceLocalizedName(XrSession session, long getInfo, int bufferCapacityInput, long bufferCountOutput, long buffer) {
- long __functionAddress = session.getCapabilities().xrGetInputSourceLocalizedName;
- return callPPPPI(session.address(), getInfo, bufferCapacityInput, bufferCountOutput, buffer, __functionAddress);
- }
-
+ */
+ public static int nxrGetInputSourceLocalizedName(XrSession session, long getInfo, int bufferCapacityInput, long bufferCountOutput, long buffer) {
+ long __functionAddress = session.getCapabilities().xrGetInputSourceLocalizedName;
+ return callPPPPI(session.address(), getInfo, bufferCapacityInput, bufferCountOutput, buffer, __functionAddress);
+ }
+
/**
* Gets a localized source name.
*
@@ -4855,26 +4850,26 @@ public static int nxrGetInputSourceLocalizedName(XrSession session, long getInfo
* @param getInfo an {@link XrInputSourceLocalizedNameGetInfo} providing the query information.
* @param bufferCountOutput a pointer to the count of name characters written to {@code buffer} (including the terminating {@code \0}), or a pointer to the required capacity in the case that {@code bufferCapacityInput} is insufficient.
* @param buffer a pointer to an application-allocated buffer that will be filled with the bound source name. It can be {@code NULL} if {@code bufferCapacityInput} is 0.
- */
- @NativeType("XrResult")
- public static int xrGetInputSourceLocalizedName(XrSession session, @NativeType("XrInputSourceLocalizedNameGetInfo const *") XrInputSourceLocalizedNameGetInfo getInfo, @NativeType("uint32_t *") IntBuffer bufferCountOutput, @Nullable @NativeType("char *") ByteBuffer buffer) {
- if (CHECKS) {
- check(bufferCountOutput, 1);
- }
- return nxrGetInputSourceLocalizedName(session, getInfo.address(), remainingSafe(buffer), memAddress(bufferCountOutput), memAddressSafe(buffer));
- }
-
- // --- [ xrApplyHapticFeedback ] ---
-
- /** Unsafe version of: {@link #xrApplyHapticFeedback ApplyHapticFeedback} */
- public static int nxrApplyHapticFeedback(XrSession session, long hapticActionInfo, long hapticFeedback) {
- long __functionAddress = session.getCapabilities().xrApplyHapticFeedback;
- if (CHECKS) {
- XrHapticActionInfo.validate(hapticActionInfo);
- }
- return callPPPI(session.address(), hapticActionInfo, hapticFeedback, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrGetInputSourceLocalizedName(XrSession session, @NativeType("XrInputSourceLocalizedNameGetInfo const *") XrInputSourceLocalizedNameGetInfo getInfo, @NativeType("uint32_t *") IntBuffer bufferCountOutput, @Nullable @NativeType("char *") ByteBuffer buffer) {
+ if (CHECKS) {
+ check(bufferCountOutput, 1);
+ }
+ return nxrGetInputSourceLocalizedName(session, getInfo.address(), remainingSafe(buffer), memAddress(bufferCountOutput), memAddressSafe(buffer));
+ }
+
+ // --- [ xrApplyHapticFeedback ] ---
+
+ /** Unsafe version of: {@link #xrApplyHapticFeedback ApplyHapticFeedback} */
+ public static int nxrApplyHapticFeedback(XrSession session, long hapticActionInfo, long hapticFeedback) {
+ long __functionAddress = session.getCapabilities().xrApplyHapticFeedback;
+ if (CHECKS) {
+ XrHapticActionInfo.validate(hapticActionInfo);
+ }
+ return callPPPI(session.address(), hapticActionInfo, hapticFeedback, __functionAddress);
+ }
+
/**
* Apply haptic feedback.
*
@@ -4934,23 +4929,23 @@ public static int nxrApplyHapticFeedback(XrSession session, long hapticActionInf
* @param session the {@code XrSession} to start outputting to.
* @param hapticActionInfo a pointer to {@link XrHapticActionInfo} to provide action and subaction paths information.
* @param hapticFeedback a pointer to a haptic event structure which starts with an {@link XrHapticBaseHeader}.
- */
- @NativeType("XrResult")
- public static int xrApplyHapticFeedback(XrSession session, @NativeType("XrHapticActionInfo const *") XrHapticActionInfo hapticActionInfo, @NativeType("XrHapticBaseHeader const *") XrHapticBaseHeader hapticFeedback) {
- return nxrApplyHapticFeedback(session, hapticActionInfo.address(), hapticFeedback.address());
- }
-
- // --- [ xrStopHapticFeedback ] ---
-
- /** Unsafe version of: {@link #xrStopHapticFeedback StopHapticFeedback} */
- public static int nxrStopHapticFeedback(XrSession session, long hapticActionInfo) {
- long __functionAddress = session.getCapabilities().xrStopHapticFeedback;
- if (CHECKS) {
- XrHapticActionInfo.validate(hapticActionInfo);
- }
- return callPPI(session.address(), hapticActionInfo, __functionAddress);
- }
-
+ */
+ @NativeType("XrResult")
+ public static int xrApplyHapticFeedback(XrSession session, @NativeType("XrHapticActionInfo const *") XrHapticActionInfo hapticActionInfo, @NativeType("XrHapticBaseHeader const *") XrHapticBaseHeader hapticFeedback) {
+ return nxrApplyHapticFeedback(session, hapticActionInfo.address(), hapticFeedback.address());
+ }
+
+ // --- [ xrStopHapticFeedback ] ---
+
+ /** Unsafe version of: {@link #xrStopHapticFeedback StopHapticFeedback} */
+ public static int nxrStopHapticFeedback(XrSession session, long hapticActionInfo) {
+ long __functionAddress = session.getCapabilities().xrStopHapticFeedback;
+ if (CHECKS) {
+ XrHapticActionInfo.validate(hapticActionInfo);
+ }
+ return callPPI(session.address(), hapticActionInfo, __functionAddress);
+ }
+
/**
* Stop haptic feedback.
*
@@ -5005,14 +5000,14 @@ public static int nxrStopHapticFeedback(XrSession session, long hapticActionInfo
*
* @param session the {@code XrSession} to stop outputting to.
* @param hapticActionInfo a pointer to an {@link XrHapticActionInfo} to provide action and subaction path information.
- */
- @NativeType("XrResult")
- public static int xrStopHapticFeedback(XrSession session, @NativeType("XrHapticActionInfo const *") XrHapticActionInfo hapticActionInfo) {
- return nxrStopHapticFeedback(session, hapticActionInfo.address());
- }
-
- // --- [ XR_MAKE_VERSION ] ---
-
+ */
+ @NativeType("XrResult")
+ public static int xrStopHapticFeedback(XrSession session, @NativeType("XrHapticActionInfo const *") XrHapticActionInfo hapticActionInfo) {
+ return nxrStopHapticFeedback(session, hapticActionInfo.address());
+ }
+
+ // --- [ XR_MAKE_VERSION ] ---
+
/**
* Packs a three-component version number into a packed version number integer.
*
@@ -5021,67 +5016,67 @@ public static int xrStopHapticFeedback(XrSession session, @NativeType("XrHapticA
* @param major the major version number, packed into the most-significant 16 bits
* @param minor the minor version number, packed into the second-most-significant group of 16 bits
* @param patch the patch version number, in the least-significant 32 bits
- */
- @NativeType("uint64_t")
- public static long XR_MAKE_VERSION(@NativeType("uint16_t") int major, @NativeType("uint16_t") int minor, @NativeType("uint32_t") int patch) {
- return ((major & 0xFFFFL) << 48) | ((minor & 0xFFFFL) << 32) | (patch & 0xFFFF_FFFFL);
- }
-
- // --- [ XR_VERSION_MAJOR ] ---
-
+ */
+ @NativeType("uint64_t")
+ public static long XR_MAKE_VERSION(@NativeType("uint16_t") int major, @NativeType("uint16_t") int minor, @NativeType("uint32_t") int patch) {
+ return ((major & 0xFFFFL) << 48) | ((minor & 0xFFFFL) << 32) | (patch & 0xFFFF_FFFFL);
+ }
+
+ // --- [ XR_VERSION_MAJOR ] ---
+
/**
* Extracts the major version number from a packed version number.
*
* @param version a packed version number
- */
- @NativeType("uint16_t")
- public static short XR_VERSION_MAJOR(@NativeType("uint64_t") long version) {
- return (short)((version >> 48) & 0xFFFFL);
- }
-
- // --- [ XR_VERSION_MINOR ] ---
-
+ */
+ @NativeType("uint16_t")
+ public static short XR_VERSION_MAJOR(@NativeType("uint64_t") long version) {
+ return (short)((version >> 48) & 0xFFFFL);
+ }
+
+ // --- [ XR_VERSION_MINOR ] ---
+
/**
* Extracts the minor version number from a packed version number.
*
* @param version a packed version number
- */
- @NativeType("uint16_t")
- public static short XR_VERSION_MINOR(@NativeType("uint64_t") long version) {
- return (short)((version >> 32) & 0xFFFFL);
- }
-
- // --- [ XR_VERSION_PATCH ] ---
-
+ */
+ @NativeType("uint16_t")
+ public static short XR_VERSION_MINOR(@NativeType("uint64_t") long version) {
+ return (short)((version >> 32) & 0xFFFFL);
+ }
+
+ // --- [ XR_VERSION_PATCH ] ---
+
/**
* Extracts the patch version number from a packed version number.
*
* @param version a packed version number
- */
- @NativeType("uint32_t")
- public static int XR_VERSION_PATCH(@NativeType("uint64_t") long version) {
- return (int)(version & 0xFFFF_FFFFL);
- }
-
- // --- [ XR_SUCCEEDED ] ---
-
- @NativeType("bool")
- public static boolean XR_SUCCEEDED(int result) {
- return result >= 0;
- }
-
- // --- [ XR_UNQUALIFIED_SUCCESS ] ---
-
- @NativeType("bool")
- public static boolean XR_UNQUALIFIED_SUCCESS(int result) {
- return result == 0;
- }
-
- // --- [ XR_FAILED ] ---
-
- @NativeType("bool")
- public static boolean XR_FAILED(int result) {
- return result < 0;
- }
+ */
+ @NativeType("uint32_t")
+ public static int XR_VERSION_PATCH(@NativeType("uint64_t") long version) {
+ return (int)(version & 0xFFFF_FFFFL);
+ }
+
+ // --- [ XR_SUCCEEDED ] ---
+
+ @NativeType("bool")
+ public static boolean XR_SUCCEEDED(int result) {
+ return result >= 0;
+ }
+
+ // --- [ XR_UNQUALIFIED_SUCCESS ] ---
+
+ @NativeType("bool")
+ public static boolean XR_UNQUALIFIED_SUCCESS(int result) {
+ return result == 0;
+ }
+
+ // --- [ XR_FAILED ] ---
+
+ @NativeType("bool")
+ public static boolean XR_FAILED(int result) {
+ return result < 0;
+ }
}
\ No newline at end of file
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XRCapabilities.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XRCapabilities.java
index 6894e85cbb..60c17e1a1a 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XRCapabilities.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XRCapabilities.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-import org.lwjgl.system.*;
-import java.util.Set;
-
-import static org.lwjgl.system.Checks.*;
-
-/** Defines the capabilities of an OpenXR {@code XrInstance}. */
-@SuppressWarnings("SimplifiableIfStatement")
-public class XRCapabilities {
-
- // XR10
- public final long
+
+import org.lwjgl.system.*;
+import java.util.Set;
+
+import static org.lwjgl.system.Checks.*;
+
+/** Defines the capabilities of an OpenXR {@code XrInstance}. */
+@SuppressWarnings("SimplifiableIfStatement")
+public class XRCapabilities {
+
+ // XR10
+ public final long
xrDestroyInstance,
xrGetInstanceProperties,
xrPollEvent,
@@ -66,103 +66,94 @@ public class XRCapabilities {
xrEnumerateBoundSourcesForAction,
xrGetInputSourceLocalizedName,
xrApplyHapticFeedback,
- xrStopHapticFeedback;
+ xrStopHapticFeedback;
- // ALMALENCE_digital_lens_control
- public final long
- xrSetDigitalLensControlALMALENCE;
+ // ALMALENCE_digital_lens_control
+ public final long
+ xrSetDigitalLensControlALMALENCE;
- // EXT_conformance_automation
- public final long
+ // EXT_conformance_automation
+ public final long
xrSetInputDeviceActiveEXT,
xrSetInputDeviceStateBoolEXT,
xrSetInputDeviceStateFloatEXT,
xrSetInputDeviceStateVector2fEXT,
- xrSetInputDeviceLocationEXT;
+ xrSetInputDeviceLocationEXT;
- // EXT_debug_utils
- public final long
+ // EXT_debug_utils
+ public final long
xrSetDebugUtilsObjectNameEXT,
xrCreateDebugUtilsMessengerEXT,
xrDestroyDebugUtilsMessengerEXT,
xrSubmitDebugUtilsMessageEXT,
xrSessionBeginDebugUtilsLabelRegionEXT,
xrSessionEndDebugUtilsLabelRegionEXT,
- xrSessionInsertDebugUtilsLabelEXT;
+ xrSessionInsertDebugUtilsLabelEXT;
- // EXT_hand_tracking
- public final long
+ // EXT_hand_tracking
+ public final long
xrCreateHandTrackerEXT,
xrDestroyHandTrackerEXT,
- xrLocateHandJointsEXT;
-
- // EXT_performance_settings
- public final long
- xrPerfSettingsSetPerformanceLevelEXT;
-
- // EXT_plane_detection
- public final long
- xrCreatePlaneDetectorEXT,
- xrDestroyPlaneDetectorEXT,
- xrBeginPlaneDetectionEXT,
- xrGetPlaneDetectionStateEXT,
- xrGetPlaneDetectionsEXT,
- xrGetPlanePolygonBufferEXT;
-
- // EXT_thermal_query
- public final long
- xrThermalGetTemperatureTrendEXT;
-
- // FB_body_tracking
- public final long
+ xrLocateHandJointsEXT;
+
+ // EXT_performance_settings
+ public final long
+ xrPerfSettingsSetPerformanceLevelEXT;
+
+ // EXT_thermal_query
+ public final long
+ xrThermalGetTemperatureTrendEXT;
+
+ // FB_body_tracking
+ public final long
xrCreateBodyTrackerFB,
xrDestroyBodyTrackerFB,
xrLocateBodyJointsFB,
- xrGetBodySkeletonFB;
+ xrGetBodySkeletonFB;
- // FB_color_space
- public final long
+ // FB_color_space
+ public final long
xrEnumerateColorSpacesFB,
- xrSetColorSpaceFB;
+ xrSetColorSpaceFB;
- // FB_display_refresh_rate
- public final long
+ // FB_display_refresh_rate
+ public final long
xrEnumerateDisplayRefreshRatesFB,
xrGetDisplayRefreshRateFB,
- xrRequestDisplayRefreshRateFB;
+ xrRequestDisplayRefreshRateFB;
- // FB_eye_tracking_social
- public final long
+ // FB_eye_tracking_social
+ public final long
xrCreateEyeTrackerFB,
xrDestroyEyeTrackerFB,
- xrGetEyeGazesFB;
+ xrGetEyeGazesFB;
- // FB_face_tracking
- public final long
+ // FB_face_tracking
+ public final long
xrCreateFaceTrackerFB,
xrDestroyFaceTrackerFB,
- xrGetFaceExpressionWeightsFB;
+ xrGetFaceExpressionWeightsFB;
- // FB_foveation
- public final long
+ // FB_foveation
+ public final long
xrCreateFoveationProfileFB,
- xrDestroyFoveationProfileFB;
+ xrDestroyFoveationProfileFB;
- // FB_hand_tracking_mesh
- public final long
- xrGetHandMeshFB;
+ // FB_hand_tracking_mesh
+ public final long
+ xrGetHandMeshFB;
- // FB_haptic_pcm
- public final long
- xrGetDeviceSampleRateFB;
+ // FB_haptic_pcm
+ public final long
+ xrGetDeviceSampleRateFB;
- // FB_keyboard_tracking
- public final long
+ // FB_keyboard_tracking
+ public final long
xrQuerySystemTrackedKeyboardFB,
- xrCreateKeyboardSpaceFB;
+ xrCreateKeyboardSpaceFB;
- // FB_passthrough
- public final long
+ // FB_passthrough
+ public final long
xrCreatePassthroughFB,
xrDestroyPassthroughFB,
xrPassthroughStartFB,
@@ -174,73 +165,73 @@ public class XRCapabilities {
xrPassthroughLayerSetStyleFB,
xrCreateGeometryInstanceFB,
xrDestroyGeometryInstanceFB,
- xrGeometryInstanceSetTransformFB;
+ xrGeometryInstanceSetTransformFB;
- // FB_passthrough_keyboard_hands
- public final long
- xrPassthroughLayerSetKeyboardHandsIntensityFB;
+ // FB_passthrough_keyboard_hands
+ public final long
+ xrPassthroughLayerSetKeyboardHandsIntensityFB;
- // FB_render_model
- public final long
+ // FB_render_model
+ public final long
xrEnumerateRenderModelPathsFB,
xrGetRenderModelPropertiesFB,
- xrLoadRenderModelFB;
+ xrLoadRenderModelFB;
- // FB_scene
- public final long
+ // FB_scene
+ public final long
xrGetSpaceBoundingBox2DFB,
xrGetSpaceBoundingBox3DFB,
xrGetSpaceSemanticLabelsFB,
xrGetSpaceBoundary2DFB,
- xrGetSpaceRoomLayoutFB;
+ xrGetSpaceRoomLayoutFB;
- // FB_scene_capture
- public final long
- xrRequestSceneCaptureFB;
+ // FB_scene_capture
+ public final long
+ xrRequestSceneCaptureFB;
- // FB_spatial_entity
- public final long
+ // FB_spatial_entity
+ public final long
xrCreateSpatialAnchorFB,
xrGetSpaceUuidFB,
xrEnumerateSpaceSupportedComponentsFB,
xrSetSpaceComponentStatusFB,
- xrGetSpaceComponentStatusFB;
+ xrGetSpaceComponentStatusFB;
- // FB_spatial_entity_container
- public final long
- xrGetSpaceContainerFB;
+ // FB_spatial_entity_container
+ public final long
+ xrGetSpaceContainerFB;
- // FB_spatial_entity_query
- public final long
+ // FB_spatial_entity_query
+ public final long
xrQuerySpacesFB,
- xrRetrieveSpaceQueryResultsFB;
+ xrRetrieveSpaceQueryResultsFB;
- // FB_spatial_entity_sharing
- public final long
- xrShareSpacesFB;
+ // FB_spatial_entity_sharing
+ public final long
+ xrShareSpacesFB;
- // FB_spatial_entity_storage
- public final long
+ // FB_spatial_entity_storage
+ public final long
xrSaveSpaceFB,
- xrEraseSpaceFB;
+ xrEraseSpaceFB;
- // FB_spatial_entity_storage_batch
- public final long
- xrSaveSpaceListFB;
+ // FB_spatial_entity_storage_batch
+ public final long
+ xrSaveSpaceListFB;
- // FB_spatial_entity_user
- public final long
+ // FB_spatial_entity_user
+ public final long
xrCreateSpaceUserFB,
xrGetSpaceUserIdFB,
- xrDestroySpaceUserFB;
+ xrDestroySpaceUserFB;
- // FB_swapchain_update_state
- public final long
+ // FB_swapchain_update_state
+ public final long
xrUpdateSwapchainFB,
- xrGetSwapchainStateFB;
+ xrGetSwapchainStateFB;
- // FB_triangle_mesh
- public final long
+ // FB_triangle_mesh
+ public final long
xrCreateTriangleMeshFB,
xrDestroyTriangleMeshFB,
xrTriangleMeshGetVertexBufferFB,
@@ -248,125 +239,105 @@ public class XRCapabilities {
xrTriangleMeshBeginUpdateFB,
xrTriangleMeshEndUpdateFB,
xrTriangleMeshBeginVertexBufferUpdateFB,
- xrTriangleMeshEndVertexBufferUpdateFB;
+ xrTriangleMeshEndVertexBufferUpdateFB;
- // HTC_facial_tracking
- public final long
+ // HTC_facial_tracking
+ public final long
xrCreateFacialTrackerHTC,
xrDestroyFacialTrackerHTC,
- xrGetFacialExpressionsHTC;
+ xrGetFacialExpressionsHTC;
- // HTC_foveation
- public final long
- xrApplyFoveationHTC;
+ // HTC_foveation
+ public final long
+ xrApplyFoveationHTC;
- // HTC_passthrough
- public final long
+ // HTC_passthrough
+ public final long
xrCreatePassthroughHTC,
- xrDestroyPassthroughHTC;
+ xrDestroyPassthroughHTC;
- // HTCX_vive_tracker_interaction
- public final long
- xrEnumerateViveTrackerPathsHTCX;
+ // HTCX_vive_tracker_interaction
+ public final long
+ xrEnumerateViveTrackerPathsHTCX;
- // KHR_convert_timespec_time
- public final long
+ // KHR_convert_timespec_time
+ public final long
xrConvertTimespecTimeToTimeKHR,
- xrConvertTimeToTimespecTimeKHR;
+ xrConvertTimeToTimespecTimeKHR;
+
+ // KHR_opengl_enable
+ public final long
+ xrGetOpenGLGraphicsRequirementsKHR;
- // KHR_opengl_enable
- public final long
- xrGetOpenGLGraphicsRequirementsKHR;
+ // KHR_opengl_es_enable
+ public final long
+ xrGetOpenGLESGraphicsRequirementsKHR;
- // KHR_visibility_mask
- public final long
- xrGetVisibilityMaskKHR;
+ // KHR_visibility_mask
+ public final long
+ xrGetVisibilityMaskKHR;
- // KHR_vulkan_enable
- public final long
+ // KHR_vulkan_enable
+ public final long
xrGetVulkanInstanceExtensionsKHR,
xrGetVulkanDeviceExtensionsKHR,
xrGetVulkanGraphicsDeviceKHR,
- xrGetVulkanGraphicsRequirementsKHR;
+ xrGetVulkanGraphicsRequirementsKHR;
- // KHR_vulkan_enable2
- public final long
+ // KHR_vulkan_enable2
+ public final long
xrCreateVulkanInstanceKHR,
xrCreateVulkanDeviceKHR,
xrGetVulkanGraphicsDevice2KHR,
- xrGetVulkanGraphicsRequirements2KHR;
+ xrGetVulkanGraphicsRequirements2KHR;
- // KHR_win32_convert_performance_counter_time
- public final long
+ // KHR_win32_convert_performance_counter_time
+ public final long
xrConvertWin32PerformanceCounterToTimeKHR,
- xrConvertTimeToWin32PerformanceCounterKHR;
+ xrConvertTimeToWin32PerformanceCounterKHR;
- // META_foveation_eye_tracked
- public final long
- xrGetFoveationEyeTrackedStateMETA;
+ // META_foveation_eye_tracked
+ public final long
+ xrGetFoveationEyeTrackedStateMETA;
- // META_passthrough_color_lut
- public final long
- xrCreatePassthroughColorLutMETA,
- xrDestroyPassthroughColorLutMETA,
- xrUpdatePassthroughColorLutMETA;
-
- // META_passthrough_preferences
- public final long
- xrGetPassthroughPreferencesMETA;
-
- // META_performance_metrics
- public final long
+ // META_performance_metrics
+ public final long
xrEnumeratePerformanceMetricsCounterPathsMETA,
xrSetPerformanceMetricsStateMETA,
xrGetPerformanceMetricsStateMETA,
- xrQueryPerformanceMetricsCounterMETA;
-
- // META_virtual_keyboard
- public final long
- xrCreateVirtualKeyboardMETA,
- xrDestroyVirtualKeyboardMETA,
- xrCreateVirtualKeyboardSpaceMETA,
- xrSuggestVirtualKeyboardLocationMETA,
- xrGetVirtualKeyboardScaleMETA,
- xrSetVirtualKeyboardModelVisibilityMETA,
- xrGetVirtualKeyboardModelAnimationStatesMETA,
- xrGetVirtualKeyboardDirtyTexturesMETA,
- xrGetVirtualKeyboardTextureDataMETA,
- xrSendVirtualKeyboardInputMETA,
- xrChangeVirtualKeyboardTextContextMETA;
-
- // ML_compat
- public final long
- xrCreateSpaceFromCoordinateFrameUIDML;
-
- // MNDX_force_feedback_curl
- public final long
- xrApplyForceFeedbackCurlMNDX;
-
- // MSFT_composition_layer_reprojection
- public final long
- xrEnumerateReprojectionModesMSFT;
-
- // MSFT_controller_model
- public final long
+ xrQueryPerformanceMetricsCounterMETA;
+
+ // ML_compat
+ public final long
+ xrCreateSpaceFromCoordinateFrameUIDML;
+
+ // MNDX_force_feedback_curl
+ public final long
+ xrApplyForceFeedbackCurlMNDX;
+
+ // MSFT_composition_layer_reprojection
+ public final long
+ xrEnumerateReprojectionModesMSFT;
+
+ // MSFT_controller_model
+ public final long
xrGetControllerModelKeyMSFT,
xrLoadControllerModelMSFT,
xrGetControllerModelPropertiesMSFT,
- xrGetControllerModelStateMSFT;
+ xrGetControllerModelStateMSFT;
- // MSFT_hand_tracking_mesh
- public final long
+ // MSFT_hand_tracking_mesh
+ public final long
xrCreateHandMeshSpaceMSFT,
- xrUpdateHandMeshMSFT;
+ xrUpdateHandMeshMSFT;
- // MSFT_perception_anchor_interop
- public final long
+ // MSFT_perception_anchor_interop
+ public final long
xrCreateSpatialAnchorFromPerceptionAnchorMSFT,
- xrTryGetPerceptionAnchorFromSpatialAnchorMSFT;
+ xrTryGetPerceptionAnchorFromSpatialAnchorMSFT;
- // MSFT_scene_understanding
- public final long
+ // MSFT_scene_understanding
+ public final long
xrEnumerateSceneComputeFeaturesMSFT,
xrCreateSceneObserverMSFT,
xrDestroySceneObserverMSFT,
@@ -376,331 +347,329 @@ public class XRCapabilities {
xrGetSceneComputeStateMSFT,
xrGetSceneComponentsMSFT,
xrLocateSceneComponentsMSFT,
- xrGetSceneMeshBuffersMSFT;
+ xrGetSceneMeshBuffersMSFT;
- // MSFT_scene_understanding_serialization
- public final long
+ // MSFT_scene_understanding_serialization
+ public final long
xrDeserializeSceneMSFT,
- xrGetSerializedSceneFragmentDataMSFT;
+ xrGetSerializedSceneFragmentDataMSFT;
- // MSFT_spatial_anchor
- public final long
+ // MSFT_spatial_anchor
+ public final long
xrCreateSpatialAnchorMSFT,
xrCreateSpatialAnchorSpaceMSFT,
- xrDestroySpatialAnchorMSFT;
+ xrDestroySpatialAnchorMSFT;
- // MSFT_spatial_anchor_persistence
- public final long
+ // MSFT_spatial_anchor_persistence
+ public final long
xrCreateSpatialAnchorStoreConnectionMSFT,
xrDestroySpatialAnchorStoreConnectionMSFT,
xrPersistSpatialAnchorMSFT,
xrEnumeratePersistedSpatialAnchorNamesMSFT,
xrCreateSpatialAnchorFromPersistedNameMSFT,
xrUnpersistSpatialAnchorMSFT,
- xrClearSpatialAnchorStoreMSFT;
+ xrClearSpatialAnchorStoreMSFT;
- // MSFT_spatial_graph_bridge
- public final long
+ // MSFT_spatial_graph_bridge
+ public final long
xrCreateSpatialGraphNodeSpaceMSFT,
xrTryCreateSpatialGraphStaticNodeBindingMSFT,
xrDestroySpatialGraphNodeBindingMSFT,
- xrGetSpatialGraphNodeBindingPropertiesMSFT;
+ xrGetSpatialGraphNodeBindingPropertiesMSFT;
- // OCULUS_audio_device_guid
- public final long
+ // OCULUS_audio_device_guid
+ public final long
xrGetAudioOutputDeviceGuidOculus,
- xrGetAudioInputDeviceGuidOculus;
+ xrGetAudioInputDeviceGuidOculus;
- // OCULUS_external_camera
- public final long
- xrEnumerateExternalCamerasOCULUS;
+ // OCULUS_external_camera
+ public final long
+ xrEnumerateExternalCamerasOCULUS;
- // QCOM_tracking_optimization_settings
- public final long
- xrSetTrackingOptimizationSettingsHintQCOM;
+ // QCOM_tracking_optimization_settings
+ public final long
+ xrSetTrackingOptimizationSettingsHintQCOM;
- // VARJO_environment_depth_estimation
- public final long
- xrSetEnvironmentDepthEstimationVARJO;
+ // VARJO_environment_depth_estimation
+ public final long
+ xrSetEnvironmentDepthEstimationVARJO;
- // VARJO_marker_tracking
- public final long
+ // VARJO_marker_tracking
+ public final long
xrSetMarkerTrackingVARJO,
xrSetMarkerTrackingTimeoutVARJO,
xrSetMarkerTrackingPredictionVARJO,
xrGetMarkerSizeVARJO,
- xrCreateMarkerSpaceVARJO;
+ xrCreateMarkerSpaceVARJO;
- // VARJO_view_offset
- public final long
- xrSetViewOffsetVARJO;
+ // VARJO_view_offset
+ public final long
+ xrSetViewOffsetVARJO;
/** The OpenXR API version number. */
public final long apiVersion;
-
- /** When true, {@link XR10} is supported. */
- public final boolean OpenXR10;
- /** When true, {@link ALMALENCEDigitalLensControl} is supported. */
- public final boolean XR_ALMALENCE_digital_lens_control;
- /** When true, {@link BDControllerInteraction} is supported. */
- public final boolean XR_BD_controller_interaction;
- /** When true, {@link EPICViewConfigurationFov} is supported. */
- public final boolean XR_EPIC_view_configuration_fov;
- /** When true, {@link EXTActiveActionSetPriority} is supported. */
- public final boolean XR_EXT_active_action_set_priority;
- /** When true, {@link EXTConformanceAutomation} is supported. */
- public final boolean XR_EXT_conformance_automation;
- /** When true, {@link EXTDebugUtils} is supported. */
- public final boolean XR_EXT_debug_utils;
- /** When true, {@link EXTDpadBinding} is supported. */
- public final boolean XR_EXT_dpad_binding;
- /** When true, {@link EXTEyeGazeInteraction} is supported. */
- public final boolean XR_EXT_eye_gaze_interaction;
- /** When true, {@link EXTHandInteraction} is supported. */
- public final boolean XR_EXT_hand_interaction;
- /** When true, {@link EXTHandJointsMotionRange} is supported. */
- public final boolean XR_EXT_hand_joints_motion_range;
- /** When true, {@link EXTHandTracking} is supported. */
- public final boolean XR_EXT_hand_tracking;
- /** When true, {@link EXTHandTrackingDataSource} is supported. */
- public final boolean XR_EXT_hand_tracking_data_source;
- /** When true, {@link EXTHPMixedRealityController} is supported. */
- public final boolean XR_EXT_hp_mixed_reality_controller;
- /** When true, {@link EXTLocalFloor} is supported. */
- public final boolean XR_EXT_local_floor;
- /** When true, {@link EXTPalmPose} is supported. */
- public final boolean XR_EXT_palm_pose;
- /** When true, {@link EXTPerformanceSettings} is supported. */
- public final boolean XR_EXT_performance_settings;
- /** When true, {@link EXTPlaneDetection} is supported. */
- public final boolean XR_EXT_plane_detection;
- /** When true, {@link EXTSamsungOdysseyController} is supported. */
- public final boolean XR_EXT_samsung_odyssey_controller;
- /** When true, {@link EXTThermalQuery} is supported. */
- public final boolean XR_EXT_thermal_query;
- /** When true, {@link EXTUUIUD} is supported. */
- public final boolean XR_EXT_uuid;
- /** When true, {@link EXTViewConfigurationDepthRange} is supported. */
- public final boolean XR_EXT_view_configuration_depth_range;
- /** When true, {@link EXTWin32AppcontainerCompatible} is supported. */
- public final boolean XR_EXT_win32_appcontainer_compatible;
- /** When true, {@link EXTXOverlay} is supported. */
- public final boolean XR_EXTX_overlay;
- /** When true, {@link FBBodyTracking} is supported. */
- public final boolean XR_FB_body_tracking;
- /** When true, {@link FBColorSpace} is supported. */
- public final boolean XR_FB_color_space;
- /** When true, {@link FBCompositionLayerAlphaBlend} is supported. */
- public final boolean XR_FB_composition_layer_alpha_blend;
- /** When true, {@link FBCompositionLayerDepthTest} is supported. */
- public final boolean XR_FB_composition_layer_depth_test;
- /** When true, {@link FBCompositionLayerImageLayout} is supported. */
- public final boolean XR_FB_composition_layer_image_layout;
- /** When true, {@link FBCompositionLayerSecureContent} is supported. */
- public final boolean XR_FB_composition_layer_secure_content;
- /** When true, {@link FBCompositionLayerSettings} is supported. */
- public final boolean XR_FB_composition_layer_settings;
- /** When true, {@link FBDisplayRefreshRate} is supported. */
- public final boolean XR_FB_display_refresh_rate;
- /** When true, {@link FBEyeTrackingSocial} is supported. */
- public final boolean XR_FB_eye_tracking_social;
- /** When true, {@link FBFaceTracking} is supported. */
- public final boolean XR_FB_face_tracking;
- /** When true, {@link FBFoveation} is supported. */
- public final boolean XR_FB_foveation;
- /** When true, {@link FBFoveationConfiguration} is supported. */
- public final boolean XR_FB_foveation_configuration;
- /** When true, {@link FBFoveationVulkan} is supported. */
- public final boolean XR_FB_foveation_vulkan;
- /** When true, {@link FBHandTrackingAim} is supported. */
- public final boolean XR_FB_hand_tracking_aim;
- /** When true, {@link FBHandTrackingCapsules} is supported. */
- public final boolean XR_FB_hand_tracking_capsules;
- /** When true, {@link FBHandTrackingMesh} is supported. */
- public final boolean XR_FB_hand_tracking_mesh;
- /** When true, {@link FBHapticAmplitudeEnvelope} is supported. */
- public final boolean XR_FB_haptic_amplitude_envelope;
- /** When true, {@link FBHapticPcm} is supported. */
- public final boolean XR_FB_haptic_pcm;
- /** When true, {@link FBKeyboardTracking} is supported. */
- public final boolean XR_FB_keyboard_tracking;
- /** When true, {@link FBPassthrough} is supported. */
- public final boolean XR_FB_passthrough;
- /** When true, {@link FBPassthroughKeyboardHands} is supported. */
- public final boolean XR_FB_passthrough_keyboard_hands;
- /** When true, {@link FBRenderModel} is supported. */
- public final boolean XR_FB_render_model;
- /** When true, {@link FBScene} is supported. */
- public final boolean XR_FB_scene;
- /** When true, {@link FBSceneCapture} is supported. */
- public final boolean XR_FB_scene_capture;
- /** When true, {@link FBSpaceWarp} is supported. */
- public final boolean XR_FB_space_warp;
- /** When true, {@link FBSpatialEntity} is supported. */
- public final boolean XR_FB_spatial_entity;
- /** When true, {@link FBSpatialEntityContainer} is supported. */
- public final boolean XR_FB_spatial_entity_container;
- /** When true, {@link FBSpatialEntityQuery} is supported. */
- public final boolean XR_FB_spatial_entity_query;
- /** When true, {@link FBSpatialEntitySharing} is supported. */
- public final boolean XR_FB_spatial_entity_sharing;
- /** When true, {@link FBSpatialEntityStorage} is supported. */
- public final boolean XR_FB_spatial_entity_storage;
- /** When true, {@link FBSpatialEntityStorageBatch} is supported. */
- public final boolean XR_FB_spatial_entity_storage_batch;
- /** When true, {@link FBSpatialEntityUser} is supported. */
- public final boolean XR_FB_spatial_entity_user;
- /** When true, {@link FBSwapchainUpdateState} is supported. */
- public final boolean XR_FB_swapchain_update_state;
- /** When true, {@link FBSwapchainUpdateStateOpenGLES} is supported. */
- public final boolean XR_FB_swapchain_update_state_opengl_es;
- /** When true, {@link FBSwapchainUpdateStateVulkan} is supported. */
- public final boolean XR_FB_swapchain_update_state_vulkan;
- /** When true, {@link FBTouchControllerPro} is supported. */
- public final boolean XR_FB_touch_controller_pro;
- /** When true, {@link FBTouchControllerProximity} is supported. */
- public final boolean XR_FB_touch_controller_proximity;
- /** When true, {@link FBTriangleMesh} is supported. */
- public final boolean XR_FB_triangle_mesh;
- /** When true, {@link HTCFacialTracking} is supported. */
- public final boolean XR_HTC_facial_tracking;
- /** When true, {@link HTCFoveation} is supported. */
- public final boolean XR_HTC_foveation;
- /** When true, {@link HTCHandInteraction} is supported. */
- public final boolean XR_HTC_hand_interaction;
- /** When true, {@link HTCPassthrough} is supported. */
- public final boolean XR_HTC_passthrough;
- /** When true, {@link HTCViveCosmosControllerInteraction} is supported. */
- public final boolean XR_HTC_vive_cosmos_controller_interaction;
- /** When true, {@link HTCViveFocus3ControllerInteraction} is supported. */
- public final boolean XR_HTC_vive_focus3_controller_interaction;
- /** When true, {@link HTCViveWristTrackerInteraction} is supported. */
- public final boolean XR_HTC_vive_wrist_tracker_interaction;
- /** When true, {@link HTCXViveTrackerInteraction} is supported. */
- public final boolean XR_HTCX_vive_tracker_interaction;
- /** When true, {@link HUAWEIControllerInteraction} is supported. */
- public final boolean XR_HUAWEI_controller_interaction;
- /** When true, {@link KHRBindingModification} is supported. */
- public final boolean XR_KHR_binding_modification;
- /** When true, {@link KHRCompositionLayerColorScaleBias} is supported. */
- public final boolean XR_KHR_composition_layer_color_scale_bias;
- /** When true, {@link KHRCompositionLayerCube} is supported. */
- public final boolean XR_KHR_composition_layer_cube;
- /** When true, {@link KHRCompositionLayerCylinder} is supported. */
- public final boolean XR_KHR_composition_layer_cylinder;
- /** When true, {@link KHRCompositionLayerDepth} is supported. */
- public final boolean XR_KHR_composition_layer_depth;
- /** When true, {@link KHRCompositionLayerEquirect} is supported. */
- public final boolean XR_KHR_composition_layer_equirect;
- /** When true, {@link KHRCompositionLayerEquirect2} is supported. */
- public final boolean XR_KHR_composition_layer_equirect2;
- /** When true, {@link KHRConvertTimespecTime} is supported. */
- public final boolean XR_KHR_convert_timespec_time;
- /** When true, {@link KHRLoaderInit} is supported. */
- public final boolean XR_KHR_loader_init;
- /** When true, {@link KHROpenGLEnable} is supported. */
- public final boolean XR_KHR_opengl_enable;
- /** When true, {@link KHRSwapchainUsageInputAttachmentBit} is supported. */
- public final boolean XR_KHR_swapchain_usage_input_attachment_bit;
- /** When true, {@link KHRVisibilityMask} is supported. */
- public final boolean XR_KHR_visibility_mask;
- /** When true, {@link KHRVulkanEnable} is supported. */
- public final boolean XR_KHR_vulkan_enable;
- /** When true, {@link KHRVulkanEnable2} is supported. */
- public final boolean XR_KHR_vulkan_enable2;
- /** When true, {@link KHRVulkanSwapchainFormatList} is supported. */
- public final boolean XR_KHR_vulkan_swapchain_format_list;
- /** When true, {@link KHRWin32ConvertPerformanceCounterTime} is supported. */
- public final boolean XR_KHR_win32_convert_performance_counter_time;
- /** When true, {@link METAFoveationEyeTracked} is supported. */
- public final boolean XR_META_foveation_eye_tracked;
- /** When true, {@link METAHeadsetId} is supported. */
- public final boolean XR_META_headset_id;
- /** When true, {@link METALocalDimming} is supported. */
- public final boolean XR_META_local_dimming;
- /** When true, {@link METAPassthroughColorLut} is supported. */
- public final boolean XR_META_passthrough_color_lut;
- /** When true, {@link METAPassthroughPreferences} is supported. */
- public final boolean XR_META_passthrough_preferences;
- /** When true, {@link METAPerformanceMetrics} is supported. */
- public final boolean XR_META_performance_metrics;
- /** When true, {@link METAVirtualKeyboard} is supported. */
- public final boolean XR_META_virtual_keyboard;
- /** When true, {@link METAVulkanSwapchainCreateInfo} is supported. */
- public final boolean XR_META_vulkan_swapchain_create_info;
- /** When true, {@link MLCompat} is supported. */
- public final boolean XR_ML_compat;
- /** When true, {@link MLFrameEndInfo} is supported. */
- public final boolean XR_ML_frame_end_info;
- /** When true, {@link MLGlobalDimmer} is supported. */
- public final boolean XR_ML_global_dimmer;
- /** When true, {@link MLMl2ControllerInteraction} is supported. */
- public final boolean XR_ML_ml2_controller_interaction;
- /** When true, {@link MNDHeadless} is supported. */
- public final boolean XR_MND_headless;
- /** When true, {@link MNDSwapchainUsageInputAttachmentBit} is supported. */
- public final boolean XR_MND_swapchain_usage_input_attachment_bit;
- /** When true, {@link MNDXEGLEnable} is supported. */
- public final boolean XR_MNDX_egl_enable;
- /** When true, {@link MNDXForceFeedbackCurl} is supported. */
- public final boolean XR_MNDX_force_feedback_curl;
- /** When true, {@link MSFTCompositionLayerReprojection} is supported. */
- public final boolean XR_MSFT_composition_layer_reprojection;
- /** When true, {@link MSFTControllerModel} is supported. */
- public final boolean XR_MSFT_controller_model;
- /** When true, {@link MSFTFirstPersonObserver} is supported. */
- public final boolean XR_MSFT_first_person_observer;
- /** When true, {@link MSFTHandInteraction} is supported. */
- public final boolean XR_MSFT_hand_interaction;
- /** When true, {@link MSFTHandTrackingMesh} is supported. */
- public final boolean XR_MSFT_hand_tracking_mesh;
- /** When true, {@link MSFTHolographicWindowAttachment} is supported. */
- public final boolean XR_MSFT_holographic_window_attachment;
- /** When true, {@link MSFTPerceptionAnchorInterop} is supported. */
- public final boolean XR_MSFT_perception_anchor_interop;
- /** When true, {@link MSFTSceneUnderstanding} is supported. */
- public final boolean XR_MSFT_scene_understanding;
- /** When true, {@link MSFTSceneUnderstandingSerialization} is supported. */
- public final boolean XR_MSFT_scene_understanding_serialization;
- /** When true, {@link MSFTSecondaryViewConfiguration} is supported. */
- public final boolean XR_MSFT_secondary_view_configuration;
- /** When true, {@link MSFTSpatialAnchor} is supported. */
- public final boolean XR_MSFT_spatial_anchor;
- /** When true, {@link MSFTSpatialAnchorPersistence} is supported. */
- public final boolean XR_MSFT_spatial_anchor_persistence;
- /** When true, {@link MSFTSpatialGraphBridge} is supported. */
- public final boolean XR_MSFT_spatial_graph_bridge;
- /** When true, {@link MSFTUnboundedReferenceSpace} is supported. */
- public final boolean XR_MSFT_unbounded_reference_space;
- /** When true, {@link OCULUSAudioDeviceGuid} is supported. */
- public final boolean XR_OCULUS_audio_device_guid;
- /** When true, {@link OCULUSExternalCamera} is supported. */
- public final boolean XR_OCULUS_external_camera;
- /** When true, {@link OPPOControllerInteraction} is supported. */
- public final boolean XR_OPPO_controller_interaction;
- /** When true, {@link QCOMTrackingOptimizationSettings} is supported. */
- public final boolean XR_QCOM_tracking_optimization_settings;
- /** When true, {@link ULTRALEAPHandTrackingForearm} is supported. */
- public final boolean XR_ULTRALEAP_hand_tracking_forearm;
- /** When true, {@link VALVEAnalogThreshold} is supported. */
- public final boolean XR_VALVE_analog_threshold;
- /** When true, {@link VARJOCompositionLayerDepthTest} is supported. */
- public final boolean XR_VARJO_composition_layer_depth_test;
- /** When true, {@link VARJOEnvironmentDepthEstimation} is supported. */
- public final boolean XR_VARJO_environment_depth_estimation;
- /** When true, {@link VARJOFoveatedRendering} is supported. */
- public final boolean XR_VARJO_foveated_rendering;
- /** When true, {@link VARJOMarkerTracking} is supported. */
- public final boolean XR_VARJO_marker_tracking;
- /** When true, {@link VARJOQuadViews} is supported. */
- public final boolean XR_VARJO_quad_views;
- /** When true, {@link VARJOViewOffset} is supported. */
- public final boolean XR_VARJO_view_offset;
+
+ /** When true, {@link XR10} is supported. */
+ public final boolean OpenXR10;
+ /** When true, {@link ALMALENCEDigitalLensControl} is supported. */
+ public final boolean XR_ALMALENCE_digital_lens_control;
+ /** When true, {@link BDControllerInteraction} is supported. */
+ public final boolean XR_BD_controller_interaction;
+ /** When true, {@link EPICViewConfigurationFov} is supported. */
+ public final boolean XR_EPIC_view_configuration_fov;
+ /** When true, {@link EXTActiveActionSetPriority} is supported. */
+ public final boolean XR_EXT_active_action_set_priority;
+ /** When true, {@link EXTConformanceAutomation} is supported. */
+ public final boolean XR_EXT_conformance_automation;
+ /** When true, {@link EXTDebugUtils} is supported. */
+ public final boolean XR_EXT_debug_utils;
+ /** When true, {@link EXTDpadBinding} is supported. */
+ public final boolean XR_EXT_dpad_binding;
+ /** When true, {@link EXTEyeGazeInteraction} is supported. */
+ public final boolean XR_EXT_eye_gaze_interaction;
+ /** When true, {@link EXTHandInteraction} is supported. */
+ public final boolean XR_EXT_hand_interaction;
+ /** When true, {@link EXTHandJointsMotionRange} is supported. */
+ public final boolean XR_EXT_hand_joints_motion_range;
+ /** When true, {@link EXTHandTracking} is supported. */
+ public final boolean XR_EXT_hand_tracking;
+ /** When true, {@link EXTHandTrackingDataSource} is supported. */
+ public final boolean XR_EXT_hand_tracking_data_source;
+ /** When true, {@link EXTHPMixedRealityController} is supported. */
+ public final boolean XR_EXT_hp_mixed_reality_controller;
+ /** When true, {@link EXTLocalFloor} is supported. */
+ public final boolean XR_EXT_local_floor;
+ /** When true, {@link EXTPalmPose} is supported. */
+ public final boolean XR_EXT_palm_pose;
+ /** When true, {@link EXTPerformanceSettings} is supported. */
+ public final boolean XR_EXT_performance_settings;
+ /** When true, {@link EXTSamsungOdysseyController} is supported. */
+ public final boolean XR_EXT_samsung_odyssey_controller;
+ /** When true, {@link EXTThermalQuery} is supported. */
+ public final boolean XR_EXT_thermal_query;
+ /** When true, {@link EXTUUIUD} is supported. */
+ public final boolean XR_EXT_uuid;
+ /** When true, {@link EXTViewConfigurationDepthRange} is supported. */
+ public final boolean XR_EXT_view_configuration_depth_range;
+ /** When true, {@link EXTWin32AppcontainerCompatible} is supported. */
+ public final boolean XR_EXT_win32_appcontainer_compatible;
+ /** When true, {@link EXTXOverlay} is supported. */
+ public final boolean XR_EXTX_overlay;
+ /** When true, {@link FBBodyTracking} is supported. */
+ public final boolean XR_FB_body_tracking;
+ /** When true, {@link FBColorSpace} is supported. */
+ public final boolean XR_FB_color_space;
+ /** When true, {@link FBCompositionLayerAlphaBlend} is supported. */
+ public final boolean XR_FB_composition_layer_alpha_blend;
+ /** When true, {@link FBCompositionLayerDepthTest} is supported. */
+ public final boolean XR_FB_composition_layer_depth_test;
+ /** When true, {@link FBCompositionLayerImageLayout} is supported. */
+ public final boolean XR_FB_composition_layer_image_layout;
+ /** When true, {@link FBCompositionLayerSecureContent} is supported. */
+ public final boolean XR_FB_composition_layer_secure_content;
+ /** When true, {@link FBCompositionLayerSettings} is supported. */
+ public final boolean XR_FB_composition_layer_settings;
+ /** When true, {@link FBDisplayRefreshRate} is supported. */
+ public final boolean XR_FB_display_refresh_rate;
+ /** When true, {@link FBEyeTrackingSocial} is supported. */
+ public final boolean XR_FB_eye_tracking_social;
+ /** When true, {@link FBFaceTracking} is supported. */
+ public final boolean XR_FB_face_tracking;
+ /** When true, {@link FBFoveation} is supported. */
+ public final boolean XR_FB_foveation;
+ /** When true, {@link FBFoveationConfiguration} is supported. */
+ public final boolean XR_FB_foveation_configuration;
+ /** When true, {@link FBFoveationVulkan} is supported. */
+ public final boolean XR_FB_foveation_vulkan;
+ /** When true, {@link FBHandTrackingAim} is supported. */
+ public final boolean XR_FB_hand_tracking_aim;
+ /** When true, {@link FBHandTrackingCapsules} is supported. */
+ public final boolean XR_FB_hand_tracking_capsules;
+ /** When true, {@link FBHandTrackingMesh} is supported. */
+ public final boolean XR_FB_hand_tracking_mesh;
+ /** When true, {@link FBHapticAmplitudeEnvelope} is supported. */
+ public final boolean XR_FB_haptic_amplitude_envelope;
+ /** When true, {@link FBHapticPcm} is supported. */
+ public final boolean XR_FB_haptic_pcm;
+ /** When true, {@link FBKeyboardTracking} is supported. */
+ public final boolean XR_FB_keyboard_tracking;
+ /** When true, {@link FBPassthrough} is supported. */
+ public final boolean XR_FB_passthrough;
+ /** When true, {@link FBPassthroughKeyboardHands} is supported. */
+ public final boolean XR_FB_passthrough_keyboard_hands;
+ /** When true, {@link FBRenderModel} is supported. */
+ public final boolean XR_FB_render_model;
+ /** When true, {@link FBScene} is supported. */
+ public final boolean XR_FB_scene;
+ /** When true, {@link FBSceneCapture} is supported. */
+ public final boolean XR_FB_scene_capture;
+ /** When true, {@link FBSpaceWarp} is supported. */
+ public final boolean XR_FB_space_warp;
+ /** When true, {@link FBSpatialEntity} is supported. */
+ public final boolean XR_FB_spatial_entity;
+ /** When true, {@link FBSpatialEntityContainer} is supported. */
+ public final boolean XR_FB_spatial_entity_container;
+ /** When true, {@link FBSpatialEntityQuery} is supported. */
+ public final boolean XR_FB_spatial_entity_query;
+ /** When true, {@link FBSpatialEntitySharing} is supported. */
+ public final boolean XR_FB_spatial_entity_sharing;
+ /** When true, {@link FBSpatialEntityStorage} is supported. */
+ public final boolean XR_FB_spatial_entity_storage;
+ /** When true, {@link FBSpatialEntityStorageBatch} is supported. */
+ public final boolean XR_FB_spatial_entity_storage_batch;
+ /** When true, {@link FBSpatialEntityUser} is supported. */
+ public final boolean XR_FB_spatial_entity_user;
+ /** When true, {@link FBSwapchainUpdateState} is supported. */
+ public final boolean XR_FB_swapchain_update_state;
+ /** When true, {@link FBSwapchainUpdateStateOpenGLES} is supported. */
+ public final boolean XR_FB_swapchain_update_state_opengl_es;
+ /** When true, {@link FBSwapchainUpdateStateVulkan} is supported. */
+ public final boolean XR_FB_swapchain_update_state_vulkan;
+ /** When true, {@link FBTouchControllerPro} is supported. */
+ public final boolean XR_FB_touch_controller_pro;
+ /** When true, {@link FBTouchControllerProximity} is supported. */
+ public final boolean XR_FB_touch_controller_proximity;
+ /** When true, {@link FBTriangleMesh} is supported. */
+ public final boolean XR_FB_triangle_mesh;
+ /** When true, {@link HTCFacialTracking} is supported. */
+ public final boolean XR_HTC_facial_tracking;
+ /** When true, {@link HTCFoveation} is supported. */
+ public final boolean XR_HTC_foveation;
+ /** When true, {@link HTCHandInteraction} is supported. */
+ public final boolean XR_HTC_hand_interaction;
+ /** When true, {@link HTCPassthrough} is supported. */
+ public final boolean XR_HTC_passthrough;
+ /** When true, {@link HTCViveCosmosControllerInteraction} is supported. */
+ public final boolean XR_HTC_vive_cosmos_controller_interaction;
+ /** When true, {@link HTCViveFocus3ControllerInteraction} is supported. */
+ public final boolean XR_HTC_vive_focus3_controller_interaction;
+ /** When true, {@link HTCViveWristTrackerInteraction} is supported. */
+ public final boolean XR_HTC_vive_wrist_tracker_interaction;
+ /** When true, {@link HTCXViveTrackerInteraction} is supported. */
+ public final boolean XR_HTCX_vive_tracker_interaction;
+ /** When true, {@link HUAWEIControllerInteraction} is supported. */
+ public final boolean XR_HUAWEI_controller_interaction;
+ /** When true, {@link KHRAndroidCreateInstance} is supported. */
+ public final boolean XR_KHR_android_create_instance;
+ /** When true, {@link KHRBindingModification} is supported. */
+ public final boolean XR_KHR_binding_modification;
+ /** When true, {@link KHRCompositionLayerColorScaleBias} is supported. */
+ public final boolean XR_KHR_composition_layer_color_scale_bias;
+ /** When true, {@link KHRCompositionLayerCube} is supported. */
+ public final boolean XR_KHR_composition_layer_cube;
+ /** When true, {@link KHRCompositionLayerCylinder} is supported. */
+ public final boolean XR_KHR_composition_layer_cylinder;
+ /** When true, {@link KHRCompositionLayerDepth} is supported. */
+ public final boolean XR_KHR_composition_layer_depth;
+ /** When true, {@link KHRCompositionLayerEquirect} is supported. */
+ public final boolean XR_KHR_composition_layer_equirect;
+ /** When true, {@link KHRCompositionLayerEquirect2} is supported. */
+ public final boolean XR_KHR_composition_layer_equirect2;
+ /** When true, {@link KHRConvertTimespecTime} is supported. */
+ public final boolean XR_KHR_convert_timespec_time;
+ /** When true, {@link KHRLoaderInit} is supported. */
+ public final boolean XR_KHR_loader_init;
+ /** When true, {@link KHRLoaderInitAndroid} is supported. */
+ public final boolean XR_KHR_loader_init_android;
+ /** When true, {@link KHROpenGLEnable} is supported. */
+ public final boolean XR_KHR_opengl_enable;
+ /** When true, {@link KHROpenGLESEnable} is supported. */
+ public final boolean XR_KHR_opengl_es_enable;
+ /** When true, {@link KHRSwapchainUsageInputAttachmentBit} is supported. */
+ public final boolean XR_KHR_swapchain_usage_input_attachment_bit;
+ /** When true, {@link KHRVisibilityMask} is supported. */
+ public final boolean XR_KHR_visibility_mask;
+ /** When true, {@link KHRVulkanEnable} is supported. */
+ public final boolean XR_KHR_vulkan_enable;
+ /** When true, {@link KHRVulkanEnable2} is supported. */
+ public final boolean XR_KHR_vulkan_enable2;
+ /** When true, {@link KHRVulkanSwapchainFormatList} is supported. */
+ public final boolean XR_KHR_vulkan_swapchain_format_list;
+ /** When true, {@link KHRWin32ConvertPerformanceCounterTime} is supported. */
+ public final boolean XR_KHR_win32_convert_performance_counter_time;
+ /** When true, {@link METAFoveationEyeTracked} is supported. */
+ public final boolean XR_META_foveation_eye_tracked;
+ /** When true, {@link METAHeadsetId} is supported. */
+ public final boolean XR_META_headset_id;
+ /** When true, {@link METALocalDimming} is supported. */
+ public final boolean XR_META_local_dimming;
+ /** When true, {@link METAPerformanceMetrics} is supported. */
+ public final boolean XR_META_performance_metrics;
+ /** When true, {@link METAVulkanSwapchainCreateInfo} is supported. */
+ public final boolean XR_META_vulkan_swapchain_create_info;
+ /** When true, {@link MLCompat} is supported. */
+ public final boolean XR_ML_compat;
+ /** When true, {@link MLFrameEndInfo} is supported. */
+ public final boolean XR_ML_frame_end_info;
+ /** When true, {@link MLGlobalDimmer} is supported. */
+ public final boolean XR_ML_global_dimmer;
+ /** When true, {@link MLMl2ControllerInteraction} is supported. */
+ public final boolean XR_ML_ml2_controller_interaction;
+ /** When true, {@link MNDHeadless} is supported. */
+ public final boolean XR_MND_headless;
+ /** When true, {@link MNDSwapchainUsageInputAttachmentBit} is supported. */
+ public final boolean XR_MND_swapchain_usage_input_attachment_bit;
+ /** When true, {@link MNDXEGLEnable} is supported. */
+ public final boolean XR_MNDX_egl_enable;
+ /** When true, {@link MNDXForceFeedbackCurl} is supported. */
+ public final boolean XR_MNDX_force_feedback_curl;
+ /** When true, {@link MSFTCompositionLayerReprojection} is supported. */
+ public final boolean XR_MSFT_composition_layer_reprojection;
+ /** When true, {@link MSFTControllerModel} is supported. */
+ public final boolean XR_MSFT_controller_model;
+ /** When true, {@link MSFTFirstPersonObserver} is supported. */
+ public final boolean XR_MSFT_first_person_observer;
+ /** When true, {@link MSFTHandInteraction} is supported. */
+ public final boolean XR_MSFT_hand_interaction;
+ /** When true, {@link MSFTHandTrackingMesh} is supported. */
+ public final boolean XR_MSFT_hand_tracking_mesh;
+ /** When true, {@link MSFTHolographicWindowAttachment} is supported. */
+ public final boolean XR_MSFT_holographic_window_attachment;
+ /** When true, {@link MSFTPerceptionAnchorInterop} is supported. */
+ public final boolean XR_MSFT_perception_anchor_interop;
+ /** When true, {@link MSFTSceneUnderstanding} is supported. */
+ public final boolean XR_MSFT_scene_understanding;
+ /** When true, {@link MSFTSceneUnderstandingSerialization} is supported. */
+ public final boolean XR_MSFT_scene_understanding_serialization;
+ /** When true, {@link MSFTSecondaryViewConfiguration} is supported. */
+ public final boolean XR_MSFT_secondary_view_configuration;
+ /** When true, {@link MSFTSpatialAnchor} is supported. */
+ public final boolean XR_MSFT_spatial_anchor;
+ /** When true, {@link MSFTSpatialAnchorPersistence} is supported. */
+ public final boolean XR_MSFT_spatial_anchor_persistence;
+ /** When true, {@link MSFTSpatialGraphBridge} is supported. */
+ public final boolean XR_MSFT_spatial_graph_bridge;
+ /** When true, {@link MSFTUnboundedReferenceSpace} is supported. */
+ public final boolean XR_MSFT_unbounded_reference_space;
+ /** When true, {@link OCULUSAudioDeviceGuid} is supported. */
+ public final boolean XR_OCULUS_audio_device_guid;
+ /** When true, {@link OCULUSExternalCamera} is supported. */
+ public final boolean XR_OCULUS_external_camera;
+ /** When true, {@link OPPOControllerInteraction} is supported. */
+ public final boolean XR_OPPO_controller_interaction;
+ /** When true, {@link QCOMTrackingOptimizationSettings} is supported. */
+ public final boolean XR_QCOM_tracking_optimization_settings;
+ /** When true, {@link ULTRALEAPHandTrackingForearm} is supported. */
+ public final boolean XR_ULTRALEAP_hand_tracking_forearm;
+ /** When true, {@link VALVEAnalogThreshold} is supported. */
+ public final boolean XR_VALVE_analog_threshold;
+ /** When true, {@link VARJOCompositionLayerDepthTest} is supported. */
+ public final boolean XR_VARJO_composition_layer_depth_test;
+ /** When true, {@link VARJOEnvironmentDepthEstimation} is supported. */
+ public final boolean XR_VARJO_environment_depth_estimation;
+ /** When true, {@link VARJOFoveatedRendering} is supported. */
+ public final boolean XR_VARJO_foveated_rendering;
+ /** When true, {@link VARJOMarkerTracking} is supported. */
+ public final boolean XR_VARJO_marker_tracking;
+ /** When true, {@link VARJOQuadViews} is supported. */
+ public final boolean XR_VARJO_quad_views;
+ /** When true, {@link VARJOViewOffset} is supported. */
+ public final boolean XR_VARJO_view_offset;
XRCapabilities(FunctionProvider provider, long apiVersion, Set ext) {
this.apiVersion = apiVersion;
- long[] caps = new long[232];
+ long[] caps = new long[212];
OpenXR10 = check_XR10(provider, caps, ext);
XR_ALMALENCE_digital_lens_control = check_ALMALENCE_digital_lens_control(provider, caps, ext);
@@ -719,7 +688,6 @@ public class XRCapabilities {
XR_EXT_local_floor = ext.contains("XR_EXT_local_floor");
XR_EXT_palm_pose = ext.contains("XR_EXT_palm_pose");
XR_EXT_performance_settings = check_EXT_performance_settings(provider, caps, ext);
- XR_EXT_plane_detection = check_EXT_plane_detection(provider, caps, ext);
XR_EXT_samsung_odyssey_controller = ext.contains("XR_EXT_samsung_odyssey_controller");
XR_EXT_thermal_query = check_EXT_thermal_query(provider, caps, ext);
XR_EXT_uuid = ext.contains("XR_EXT_uuid");
@@ -773,6 +741,7 @@ public class XRCapabilities {
XR_HTC_vive_wrist_tracker_interaction = ext.contains("XR_HTC_vive_wrist_tracker_interaction");
XR_HTCX_vive_tracker_interaction = check_HTCX_vive_tracker_interaction(provider, caps, ext);
XR_HUAWEI_controller_interaction = ext.contains("XR_HUAWEI_controller_interaction");
+ XR_KHR_android_create_instance = ext.contains("XR_KHR_android_create_instance");
XR_KHR_binding_modification = ext.contains("XR_KHR_binding_modification");
XR_KHR_composition_layer_color_scale_bias = ext.contains("XR_KHR_composition_layer_color_scale_bias");
XR_KHR_composition_layer_cube = ext.contains("XR_KHR_composition_layer_cube");
@@ -782,7 +751,9 @@ public class XRCapabilities {
XR_KHR_composition_layer_equirect2 = ext.contains("XR_KHR_composition_layer_equirect2");
XR_KHR_convert_timespec_time = check_KHR_convert_timespec_time(provider, caps, ext);
XR_KHR_loader_init = ext.contains("XR_KHR_loader_init");
+ XR_KHR_loader_init_android = ext.contains("XR_KHR_loader_init_android");
XR_KHR_opengl_enable = check_KHR_opengl_enable(provider, caps, ext);
+ XR_KHR_opengl_es_enable = check_KHR_opengl_es_enable(provider, caps, ext);
XR_KHR_swapchain_usage_input_attachment_bit = ext.contains("XR_KHR_swapchain_usage_input_attachment_bit");
XR_KHR_visibility_mask = check_KHR_visibility_mask(provider, caps, ext);
XR_KHR_vulkan_enable = check_KHR_vulkan_enable(provider, caps, ext);
@@ -792,10 +763,7 @@ public class XRCapabilities {
XR_META_foveation_eye_tracked = check_META_foveation_eye_tracked(provider, caps, ext);
XR_META_headset_id = ext.contains("XR_META_headset_id");
XR_META_local_dimming = ext.contains("XR_META_local_dimming");
- XR_META_passthrough_color_lut = check_META_passthrough_color_lut(provider, caps, ext);
- XR_META_passthrough_preferences = check_META_passthrough_preferences(provider, caps, ext);
XR_META_performance_metrics = check_META_performance_metrics(provider, caps, ext);
- XR_META_virtual_keyboard = check_META_virtual_keyboard(provider, caps, ext);
XR_META_vulkan_swapchain_create_info = ext.contains("XR_META_vulkan_swapchain_create_info");
XR_ML_compat = check_ML_compat(provider, caps, ext);
XR_ML_frame_end_info = ext.contains("XR_ML_frame_end_info");
@@ -830,7 +798,7 @@ public class XRCapabilities {
XR_VARJO_foveated_rendering = ext.contains("XR_VARJO_foveated_rendering");
XR_VARJO_marker_tracking = check_VARJO_marker_tracking(provider, caps, ext);
XR_VARJO_quad_views = ext.contains("XR_VARJO_quad_views");
- XR_VARJO_view_offset = check_VARJO_view_offset(provider, caps, ext);
+ XR_VARJO_view_offset = check_VARJO_view_offset(provider, caps, ext);
xrDestroyInstance = caps[0];
xrGetInstanceProperties = caps[1];
@@ -900,170 +868,150 @@ public class XRCapabilities {
xrDestroyHandTrackerEXT = caps[65];
xrLocateHandJointsEXT = caps[66];
xrPerfSettingsSetPerformanceLevelEXT = caps[67];
- xrCreatePlaneDetectorEXT = caps[68];
- xrDestroyPlaneDetectorEXT = caps[69];
- xrBeginPlaneDetectionEXT = caps[70];
- xrGetPlaneDetectionStateEXT = caps[71];
- xrGetPlaneDetectionsEXT = caps[72];
- xrGetPlanePolygonBufferEXT = caps[73];
- xrThermalGetTemperatureTrendEXT = caps[74];
- xrCreateBodyTrackerFB = caps[75];
- xrDestroyBodyTrackerFB = caps[76];
- xrLocateBodyJointsFB = caps[77];
- xrGetBodySkeletonFB = caps[78];
- xrEnumerateColorSpacesFB = caps[79];
- xrSetColorSpaceFB = caps[80];
- xrEnumerateDisplayRefreshRatesFB = caps[81];
- xrGetDisplayRefreshRateFB = caps[82];
- xrRequestDisplayRefreshRateFB = caps[83];
- xrCreateEyeTrackerFB = caps[84];
- xrDestroyEyeTrackerFB = caps[85];
- xrGetEyeGazesFB = caps[86];
- xrCreateFaceTrackerFB = caps[87];
- xrDestroyFaceTrackerFB = caps[88];
- xrGetFaceExpressionWeightsFB = caps[89];
- xrCreateFoveationProfileFB = caps[90];
- xrDestroyFoveationProfileFB = caps[91];
- xrGetHandMeshFB = caps[92];
- xrGetDeviceSampleRateFB = caps[93];
- xrQuerySystemTrackedKeyboardFB = caps[94];
- xrCreateKeyboardSpaceFB = caps[95];
- xrCreatePassthroughFB = caps[96];
- xrDestroyPassthroughFB = caps[97];
- xrPassthroughStartFB = caps[98];
- xrPassthroughPauseFB = caps[99];
- xrCreatePassthroughLayerFB = caps[100];
- xrDestroyPassthroughLayerFB = caps[101];
- xrPassthroughLayerPauseFB = caps[102];
- xrPassthroughLayerResumeFB = caps[103];
- xrPassthroughLayerSetStyleFB = caps[104];
- xrCreateGeometryInstanceFB = caps[105];
- xrDestroyGeometryInstanceFB = caps[106];
- xrGeometryInstanceSetTransformFB = caps[107];
- xrPassthroughLayerSetKeyboardHandsIntensityFB = caps[108];
- xrEnumerateRenderModelPathsFB = caps[109];
- xrGetRenderModelPropertiesFB = caps[110];
- xrLoadRenderModelFB = caps[111];
- xrGetSpaceBoundingBox2DFB = caps[112];
- xrGetSpaceBoundingBox3DFB = caps[113];
- xrGetSpaceSemanticLabelsFB = caps[114];
- xrGetSpaceBoundary2DFB = caps[115];
- xrGetSpaceRoomLayoutFB = caps[116];
- xrRequestSceneCaptureFB = caps[117];
- xrCreateSpatialAnchorFB = caps[118];
- xrGetSpaceUuidFB = caps[119];
- xrEnumerateSpaceSupportedComponentsFB = caps[120];
- xrSetSpaceComponentStatusFB = caps[121];
- xrGetSpaceComponentStatusFB = caps[122];
- xrGetSpaceContainerFB = caps[123];
- xrQuerySpacesFB = caps[124];
- xrRetrieveSpaceQueryResultsFB = caps[125];
- xrShareSpacesFB = caps[126];
- xrSaveSpaceFB = caps[127];
- xrEraseSpaceFB = caps[128];
- xrSaveSpaceListFB = caps[129];
- xrCreateSpaceUserFB = caps[130];
- xrGetSpaceUserIdFB = caps[131];
- xrDestroySpaceUserFB = caps[132];
- xrUpdateSwapchainFB = caps[133];
- xrGetSwapchainStateFB = caps[134];
- xrCreateTriangleMeshFB = caps[135];
- xrDestroyTriangleMeshFB = caps[136];
- xrTriangleMeshGetVertexBufferFB = caps[137];
- xrTriangleMeshGetIndexBufferFB = caps[138];
- xrTriangleMeshBeginUpdateFB = caps[139];
- xrTriangleMeshEndUpdateFB = caps[140];
- xrTriangleMeshBeginVertexBufferUpdateFB = caps[141];
- xrTriangleMeshEndVertexBufferUpdateFB = caps[142];
- xrCreateFacialTrackerHTC = caps[143];
- xrDestroyFacialTrackerHTC = caps[144];
- xrGetFacialExpressionsHTC = caps[145];
- xrApplyFoveationHTC = caps[146];
- xrCreatePassthroughHTC = caps[147];
- xrDestroyPassthroughHTC = caps[148];
- xrEnumerateViveTrackerPathsHTCX = caps[149];
- xrConvertTimespecTimeToTimeKHR = caps[150];
- xrConvertTimeToTimespecTimeKHR = caps[151];
- xrGetOpenGLGraphicsRequirementsKHR = caps[152];
- xrGetVisibilityMaskKHR = caps[153];
- xrGetVulkanInstanceExtensionsKHR = caps[154];
- xrGetVulkanDeviceExtensionsKHR = caps[155];
- xrGetVulkanGraphicsDeviceKHR = caps[156];
- xrGetVulkanGraphicsRequirementsKHR = caps[157];
- xrCreateVulkanInstanceKHR = caps[158];
- xrCreateVulkanDeviceKHR = caps[159];
- xrGetVulkanGraphicsDevice2KHR = caps[160];
- xrGetVulkanGraphicsRequirements2KHR = caps[161];
- xrConvertWin32PerformanceCounterToTimeKHR = caps[162];
- xrConvertTimeToWin32PerformanceCounterKHR = caps[163];
- xrGetFoveationEyeTrackedStateMETA = caps[164];
- xrCreatePassthroughColorLutMETA = caps[165];
- xrDestroyPassthroughColorLutMETA = caps[166];
- xrUpdatePassthroughColorLutMETA = caps[167];
- xrGetPassthroughPreferencesMETA = caps[168];
- xrEnumeratePerformanceMetricsCounterPathsMETA = caps[169];
- xrSetPerformanceMetricsStateMETA = caps[170];
- xrGetPerformanceMetricsStateMETA = caps[171];
- xrQueryPerformanceMetricsCounterMETA = caps[172];
- xrCreateVirtualKeyboardMETA = caps[173];
- xrDestroyVirtualKeyboardMETA = caps[174];
- xrCreateVirtualKeyboardSpaceMETA = caps[175];
- xrSuggestVirtualKeyboardLocationMETA = caps[176];
- xrGetVirtualKeyboardScaleMETA = caps[177];
- xrSetVirtualKeyboardModelVisibilityMETA = caps[178];
- xrGetVirtualKeyboardModelAnimationStatesMETA = caps[179];
- xrGetVirtualKeyboardDirtyTexturesMETA = caps[180];
- xrGetVirtualKeyboardTextureDataMETA = caps[181];
- xrSendVirtualKeyboardInputMETA = caps[182];
- xrChangeVirtualKeyboardTextContextMETA = caps[183];
- xrCreateSpaceFromCoordinateFrameUIDML = caps[184];
- xrApplyForceFeedbackCurlMNDX = caps[185];
- xrEnumerateReprojectionModesMSFT = caps[186];
- xrGetControllerModelKeyMSFT = caps[187];
- xrLoadControllerModelMSFT = caps[188];
- xrGetControllerModelPropertiesMSFT = caps[189];
- xrGetControllerModelStateMSFT = caps[190];
- xrCreateHandMeshSpaceMSFT = caps[191];
- xrUpdateHandMeshMSFT = caps[192];
- xrCreateSpatialAnchorFromPerceptionAnchorMSFT = caps[193];
- xrTryGetPerceptionAnchorFromSpatialAnchorMSFT = caps[194];
- xrEnumerateSceneComputeFeaturesMSFT = caps[195];
- xrCreateSceneObserverMSFT = caps[196];
- xrDestroySceneObserverMSFT = caps[197];
- xrCreateSceneMSFT = caps[198];
- xrDestroySceneMSFT = caps[199];
- xrComputeNewSceneMSFT = caps[200];
- xrGetSceneComputeStateMSFT = caps[201];
- xrGetSceneComponentsMSFT = caps[202];
- xrLocateSceneComponentsMSFT = caps[203];
- xrGetSceneMeshBuffersMSFT = caps[204];
- xrDeserializeSceneMSFT = caps[205];
- xrGetSerializedSceneFragmentDataMSFT = caps[206];
- xrCreateSpatialAnchorMSFT = caps[207];
- xrCreateSpatialAnchorSpaceMSFT = caps[208];
- xrDestroySpatialAnchorMSFT = caps[209];
- xrCreateSpatialAnchorStoreConnectionMSFT = caps[210];
- xrDestroySpatialAnchorStoreConnectionMSFT = caps[211];
- xrPersistSpatialAnchorMSFT = caps[212];
- xrEnumeratePersistedSpatialAnchorNamesMSFT = caps[213];
- xrCreateSpatialAnchorFromPersistedNameMSFT = caps[214];
- xrUnpersistSpatialAnchorMSFT = caps[215];
- xrClearSpatialAnchorStoreMSFT = caps[216];
- xrCreateSpatialGraphNodeSpaceMSFT = caps[217];
- xrTryCreateSpatialGraphStaticNodeBindingMSFT = caps[218];
- xrDestroySpatialGraphNodeBindingMSFT = caps[219];
- xrGetSpatialGraphNodeBindingPropertiesMSFT = caps[220];
- xrGetAudioOutputDeviceGuidOculus = caps[221];
- xrGetAudioInputDeviceGuidOculus = caps[222];
- xrEnumerateExternalCamerasOCULUS = caps[223];
- xrSetTrackingOptimizationSettingsHintQCOM = caps[224];
- xrSetEnvironmentDepthEstimationVARJO = caps[225];
- xrSetMarkerTrackingVARJO = caps[226];
- xrSetMarkerTrackingTimeoutVARJO = caps[227];
- xrSetMarkerTrackingPredictionVARJO = caps[228];
- xrGetMarkerSizeVARJO = caps[229];
- xrCreateMarkerSpaceVARJO = caps[230];
- xrSetViewOffsetVARJO = caps[231];
+ xrThermalGetTemperatureTrendEXT = caps[68];
+ xrCreateBodyTrackerFB = caps[69];
+ xrDestroyBodyTrackerFB = caps[70];
+ xrLocateBodyJointsFB = caps[71];
+ xrGetBodySkeletonFB = caps[72];
+ xrEnumerateColorSpacesFB = caps[73];
+ xrSetColorSpaceFB = caps[74];
+ xrEnumerateDisplayRefreshRatesFB = caps[75];
+ xrGetDisplayRefreshRateFB = caps[76];
+ xrRequestDisplayRefreshRateFB = caps[77];
+ xrCreateEyeTrackerFB = caps[78];
+ xrDestroyEyeTrackerFB = caps[79];
+ xrGetEyeGazesFB = caps[80];
+ xrCreateFaceTrackerFB = caps[81];
+ xrDestroyFaceTrackerFB = caps[82];
+ xrGetFaceExpressionWeightsFB = caps[83];
+ xrCreateFoveationProfileFB = caps[84];
+ xrDestroyFoveationProfileFB = caps[85];
+ xrGetHandMeshFB = caps[86];
+ xrGetDeviceSampleRateFB = caps[87];
+ xrQuerySystemTrackedKeyboardFB = caps[88];
+ xrCreateKeyboardSpaceFB = caps[89];
+ xrCreatePassthroughFB = caps[90];
+ xrDestroyPassthroughFB = caps[91];
+ xrPassthroughStartFB = caps[92];
+ xrPassthroughPauseFB = caps[93];
+ xrCreatePassthroughLayerFB = caps[94];
+ xrDestroyPassthroughLayerFB = caps[95];
+ xrPassthroughLayerPauseFB = caps[96];
+ xrPassthroughLayerResumeFB = caps[97];
+ xrPassthroughLayerSetStyleFB = caps[98];
+ xrCreateGeometryInstanceFB = caps[99];
+ xrDestroyGeometryInstanceFB = caps[100];
+ xrGeometryInstanceSetTransformFB = caps[101];
+ xrPassthroughLayerSetKeyboardHandsIntensityFB = caps[102];
+ xrEnumerateRenderModelPathsFB = caps[103];
+ xrGetRenderModelPropertiesFB = caps[104];
+ xrLoadRenderModelFB = caps[105];
+ xrGetSpaceBoundingBox2DFB = caps[106];
+ xrGetSpaceBoundingBox3DFB = caps[107];
+ xrGetSpaceSemanticLabelsFB = caps[108];
+ xrGetSpaceBoundary2DFB = caps[109];
+ xrGetSpaceRoomLayoutFB = caps[110];
+ xrRequestSceneCaptureFB = caps[111];
+ xrCreateSpatialAnchorFB = caps[112];
+ xrGetSpaceUuidFB = caps[113];
+ xrEnumerateSpaceSupportedComponentsFB = caps[114];
+ xrSetSpaceComponentStatusFB = caps[115];
+ xrGetSpaceComponentStatusFB = caps[116];
+ xrGetSpaceContainerFB = caps[117];
+ xrQuerySpacesFB = caps[118];
+ xrRetrieveSpaceQueryResultsFB = caps[119];
+ xrShareSpacesFB = caps[120];
+ xrSaveSpaceFB = caps[121];
+ xrEraseSpaceFB = caps[122];
+ xrSaveSpaceListFB = caps[123];
+ xrCreateSpaceUserFB = caps[124];
+ xrGetSpaceUserIdFB = caps[125];
+ xrDestroySpaceUserFB = caps[126];
+ xrUpdateSwapchainFB = caps[127];
+ xrGetSwapchainStateFB = caps[128];
+ xrCreateTriangleMeshFB = caps[129];
+ xrDestroyTriangleMeshFB = caps[130];
+ xrTriangleMeshGetVertexBufferFB = caps[131];
+ xrTriangleMeshGetIndexBufferFB = caps[132];
+ xrTriangleMeshBeginUpdateFB = caps[133];
+ xrTriangleMeshEndUpdateFB = caps[134];
+ xrTriangleMeshBeginVertexBufferUpdateFB = caps[135];
+ xrTriangleMeshEndVertexBufferUpdateFB = caps[136];
+ xrCreateFacialTrackerHTC = caps[137];
+ xrDestroyFacialTrackerHTC = caps[138];
+ xrGetFacialExpressionsHTC = caps[139];
+ xrApplyFoveationHTC = caps[140];
+ xrCreatePassthroughHTC = caps[141];
+ xrDestroyPassthroughHTC = caps[142];
+ xrEnumerateViveTrackerPathsHTCX = caps[143];
+ xrConvertTimespecTimeToTimeKHR = caps[144];
+ xrConvertTimeToTimespecTimeKHR = caps[145];
+ xrGetOpenGLGraphicsRequirementsKHR = caps[146];
+ xrGetOpenGLESGraphicsRequirementsKHR = caps[147];
+ xrGetVisibilityMaskKHR = caps[148];
+ xrGetVulkanInstanceExtensionsKHR = caps[149];
+ xrGetVulkanDeviceExtensionsKHR = caps[150];
+ xrGetVulkanGraphicsDeviceKHR = caps[151];
+ xrGetVulkanGraphicsRequirementsKHR = caps[152];
+ xrCreateVulkanInstanceKHR = caps[153];
+ xrCreateVulkanDeviceKHR = caps[154];
+ xrGetVulkanGraphicsDevice2KHR = caps[155];
+ xrGetVulkanGraphicsRequirements2KHR = caps[156];
+ xrConvertWin32PerformanceCounterToTimeKHR = caps[157];
+ xrConvertTimeToWin32PerformanceCounterKHR = caps[158];
+ xrGetFoveationEyeTrackedStateMETA = caps[159];
+ xrEnumeratePerformanceMetricsCounterPathsMETA = caps[160];
+ xrSetPerformanceMetricsStateMETA = caps[161];
+ xrGetPerformanceMetricsStateMETA = caps[162];
+ xrQueryPerformanceMetricsCounterMETA = caps[163];
+ xrCreateSpaceFromCoordinateFrameUIDML = caps[164];
+ xrApplyForceFeedbackCurlMNDX = caps[165];
+ xrEnumerateReprojectionModesMSFT = caps[166];
+ xrGetControllerModelKeyMSFT = caps[167];
+ xrLoadControllerModelMSFT = caps[168];
+ xrGetControllerModelPropertiesMSFT = caps[169];
+ xrGetControllerModelStateMSFT = caps[170];
+ xrCreateHandMeshSpaceMSFT = caps[171];
+ xrUpdateHandMeshMSFT = caps[172];
+ xrCreateSpatialAnchorFromPerceptionAnchorMSFT = caps[173];
+ xrTryGetPerceptionAnchorFromSpatialAnchorMSFT = caps[174];
+ xrEnumerateSceneComputeFeaturesMSFT = caps[175];
+ xrCreateSceneObserverMSFT = caps[176];
+ xrDestroySceneObserverMSFT = caps[177];
+ xrCreateSceneMSFT = caps[178];
+ xrDestroySceneMSFT = caps[179];
+ xrComputeNewSceneMSFT = caps[180];
+ xrGetSceneComputeStateMSFT = caps[181];
+ xrGetSceneComponentsMSFT = caps[182];
+ xrLocateSceneComponentsMSFT = caps[183];
+ xrGetSceneMeshBuffersMSFT = caps[184];
+ xrDeserializeSceneMSFT = caps[185];
+ xrGetSerializedSceneFragmentDataMSFT = caps[186];
+ xrCreateSpatialAnchorMSFT = caps[187];
+ xrCreateSpatialAnchorSpaceMSFT = caps[188];
+ xrDestroySpatialAnchorMSFT = caps[189];
+ xrCreateSpatialAnchorStoreConnectionMSFT = caps[190];
+ xrDestroySpatialAnchorStoreConnectionMSFT = caps[191];
+ xrPersistSpatialAnchorMSFT = caps[192];
+ xrEnumeratePersistedSpatialAnchorNamesMSFT = caps[193];
+ xrCreateSpatialAnchorFromPersistedNameMSFT = caps[194];
+ xrUnpersistSpatialAnchorMSFT = caps[195];
+ xrClearSpatialAnchorStoreMSFT = caps[196];
+ xrCreateSpatialGraphNodeSpaceMSFT = caps[197];
+ xrTryCreateSpatialGraphStaticNodeBindingMSFT = caps[198];
+ xrDestroySpatialGraphNodeBindingMSFT = caps[199];
+ xrGetSpatialGraphNodeBindingPropertiesMSFT = caps[200];
+ xrGetAudioOutputDeviceGuidOculus = caps[201];
+ xrGetAudioInputDeviceGuidOculus = caps[202];
+ xrEnumerateExternalCamerasOCULUS = caps[203];
+ xrSetTrackingOptimizationSettingsHintQCOM = caps[204];
+ xrSetEnvironmentDepthEstimationVARJO = caps[205];
+ xrSetMarkerTrackingVARJO = caps[206];
+ xrSetMarkerTrackingTimeoutVARJO = caps[207];
+ xrSetMarkerTrackingPredictionVARJO = caps[208];
+ xrGetMarkerSizeVARJO = caps[209];
+ xrCreateMarkerSpaceVARJO = caps[210];
+ xrSetViewOffsetVARJO = caps[211];
}
private static boolean check_XR10(FunctionProvider provider, long[] caps, java.util.Set ext) {
@@ -1085,8 +1033,8 @@ private static boolean check_XR10(FunctionProvider provider, long[] caps, java.u
"xrSuggestInteractionProfileBindings", "xrAttachSessionActionSets", "xrGetCurrentInteractionProfile", "xrGetActionStateBoolean",
"xrGetActionStateFloat", "xrGetActionStateVector2f", "xrGetActionStatePose", "xrSyncActions", "xrEnumerateBoundSourcesForAction",
"xrGetInputSourceLocalizedName", "xrApplyHapticFeedback", "xrStopHapticFeedback"
- ) || reportMissing("XR", "OpenXR10");
- }
+ ) || reportMissing("XR", "OpenXR10");
+ }
private static boolean check_ALMALENCE_digital_lens_control(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_ALMALENCE_digital_lens_control")) {
@@ -1097,8 +1045,8 @@ private static boolean check_ALMALENCE_digital_lens_control(FunctionProvider pro
51
},
"xrSetDigitalLensControlALMALENCE"
- ) || reportMissing("XR", "XR_ALMALENCE_digital_lens_control");
- }
+ ) || reportMissing("XR", "XR_ALMALENCE_digital_lens_control");
+ }
private static boolean check_EXT_conformance_automation(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_EXT_conformance_automation")) {
@@ -1110,8 +1058,8 @@ private static boolean check_EXT_conformance_automation(FunctionProvider provide
},
"xrSetInputDeviceActiveEXT", "xrSetInputDeviceStateBoolEXT", "xrSetInputDeviceStateFloatEXT", "xrSetInputDeviceStateVector2fEXT",
"xrSetInputDeviceLocationEXT"
- ) || reportMissing("XR", "XR_EXT_conformance_automation");
- }
+ ) || reportMissing("XR", "XR_EXT_conformance_automation");
+ }
private static boolean check_EXT_debug_utils(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_EXT_debug_utils")) {
@@ -1123,8 +1071,8 @@ private static boolean check_EXT_debug_utils(FunctionProvider provider, long[] c
},
"xrSetDebugUtilsObjectNameEXT", "xrCreateDebugUtilsMessengerEXT", "xrDestroyDebugUtilsMessengerEXT", "xrSubmitDebugUtilsMessageEXT",
"xrSessionBeginDebugUtilsLabelRegionEXT", "xrSessionEndDebugUtilsLabelRegionEXT", "xrSessionInsertDebugUtilsLabelEXT"
- ) || reportMissing("XR", "XR_EXT_debug_utils");
- }
+ ) || reportMissing("XR", "XR_EXT_debug_utils");
+ }
private static boolean check_EXT_hand_tracking(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_EXT_hand_tracking")) {
@@ -1135,8 +1083,8 @@ private static boolean check_EXT_hand_tracking(FunctionProvider provider, long[]
64, 65, 66
},
"xrCreateHandTrackerEXT", "xrDestroyHandTrackerEXT", "xrLocateHandJointsEXT"
- ) || reportMissing("XR", "XR_EXT_hand_tracking");
- }
+ ) || reportMissing("XR", "XR_EXT_hand_tracking");
+ }
private static boolean check_EXT_performance_settings(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_EXT_performance_settings")) {
@@ -1147,21 +1095,8 @@ private static boolean check_EXT_performance_settings(FunctionProvider provider,
67
},
"xrPerfSettingsSetPerformanceLevelEXT"
- ) || reportMissing("XR", "XR_EXT_performance_settings");
- }
-
- private static boolean check_EXT_plane_detection(FunctionProvider provider, long[] caps, java.util.Set ext) {
- if (!ext.contains("XR_EXT_plane_detection")) {
- return false;
- }
-
- return checkFunctions(provider, caps, new int[] {
- 68, 69, 70, 71, 72, 73
- },
- "xrCreatePlaneDetectorEXT", "xrDestroyPlaneDetectorEXT", "xrBeginPlaneDetectionEXT", "xrGetPlaneDetectionStateEXT", "xrGetPlaneDetectionsEXT",
- "xrGetPlanePolygonBufferEXT"
- ) || reportMissing("XR", "XR_EXT_plane_detection");
- }
+ ) || reportMissing("XR", "XR_EXT_performance_settings");
+ }
private static boolean check_EXT_thermal_query(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_EXT_thermal_query")) {
@@ -1169,11 +1104,11 @@ private static boolean check_EXT_thermal_query(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 74
+ 68
},
"xrThermalGetTemperatureTrendEXT"
- ) || reportMissing("XR", "XR_EXT_thermal_query");
- }
+ ) || reportMissing("XR", "XR_EXT_thermal_query");
+ }
private static boolean check_FB_body_tracking(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_body_tracking")) {
@@ -1181,11 +1116,11 @@ private static boolean check_FB_body_tracking(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 75, 76, 77, 78
+ 69, 70, 71, 72
},
"xrCreateBodyTrackerFB", "xrDestroyBodyTrackerFB", "xrLocateBodyJointsFB", "xrGetBodySkeletonFB"
- ) || reportMissing("XR", "XR_FB_body_tracking");
- }
+ ) || reportMissing("XR", "XR_FB_body_tracking");
+ }
private static boolean check_FB_color_space(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_color_space")) {
@@ -1193,11 +1128,11 @@ private static boolean check_FB_color_space(FunctionProvider provider, long[] ca
}
return checkFunctions(provider, caps, new int[] {
- 79, 80
+ 73, 74
},
"xrEnumerateColorSpacesFB", "xrSetColorSpaceFB"
- ) || reportMissing("XR", "XR_FB_color_space");
- }
+ ) || reportMissing("XR", "XR_FB_color_space");
+ }
private static boolean check_FB_display_refresh_rate(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_display_refresh_rate")) {
@@ -1205,11 +1140,11 @@ private static boolean check_FB_display_refresh_rate(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 81, 82, 83
+ 75, 76, 77
},
"xrEnumerateDisplayRefreshRatesFB", "xrGetDisplayRefreshRateFB", "xrRequestDisplayRefreshRateFB"
- ) || reportMissing("XR", "XR_FB_display_refresh_rate");
- }
+ ) || reportMissing("XR", "XR_FB_display_refresh_rate");
+ }
private static boolean check_FB_eye_tracking_social(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_eye_tracking_social")) {
@@ -1217,11 +1152,11 @@ private static boolean check_FB_eye_tracking_social(FunctionProvider provider, l
}
return checkFunctions(provider, caps, new int[] {
- 84, 85, 86
+ 78, 79, 80
},
"xrCreateEyeTrackerFB", "xrDestroyEyeTrackerFB", "xrGetEyeGazesFB"
- ) || reportMissing("XR", "XR_FB_eye_tracking_social");
- }
+ ) || reportMissing("XR", "XR_FB_eye_tracking_social");
+ }
private static boolean check_FB_face_tracking(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_face_tracking")) {
@@ -1229,11 +1164,11 @@ private static boolean check_FB_face_tracking(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 87, 88, 89
+ 81, 82, 83
},
"xrCreateFaceTrackerFB", "xrDestroyFaceTrackerFB", "xrGetFaceExpressionWeightsFB"
- ) || reportMissing("XR", "XR_FB_face_tracking");
- }
+ ) || reportMissing("XR", "XR_FB_face_tracking");
+ }
private static boolean check_FB_foveation(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_foveation")) {
@@ -1241,11 +1176,11 @@ private static boolean check_FB_foveation(FunctionProvider provider, long[] caps
}
return checkFunctions(provider, caps, new int[] {
- 90, 91
+ 84, 85
},
"xrCreateFoveationProfileFB", "xrDestroyFoveationProfileFB"
- ) || reportMissing("XR", "XR_FB_foveation");
- }
+ ) || reportMissing("XR", "XR_FB_foveation");
+ }
private static boolean check_FB_hand_tracking_mesh(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_hand_tracking_mesh")) {
@@ -1253,11 +1188,11 @@ private static boolean check_FB_hand_tracking_mesh(FunctionProvider provider, lo
}
return checkFunctions(provider, caps, new int[] {
- 92
+ 86
},
"xrGetHandMeshFB"
- ) || reportMissing("XR", "XR_FB_hand_tracking_mesh");
- }
+ ) || reportMissing("XR", "XR_FB_hand_tracking_mesh");
+ }
private static boolean check_FB_haptic_pcm(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_haptic_pcm")) {
@@ -1265,11 +1200,11 @@ private static boolean check_FB_haptic_pcm(FunctionProvider provider, long[] cap
}
return checkFunctions(provider, caps, new int[] {
- 93
+ 87
},
"xrGetDeviceSampleRateFB"
- ) || reportMissing("XR", "XR_FB_haptic_pcm");
- }
+ ) || reportMissing("XR", "XR_FB_haptic_pcm");
+ }
private static boolean check_FB_keyboard_tracking(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_keyboard_tracking")) {
@@ -1277,11 +1212,11 @@ private static boolean check_FB_keyboard_tracking(FunctionProvider provider, lon
}
return checkFunctions(provider, caps, new int[] {
- 94, 95
+ 88, 89
},
"xrQuerySystemTrackedKeyboardFB", "xrCreateKeyboardSpaceFB"
- ) || reportMissing("XR", "XR_FB_keyboard_tracking");
- }
+ ) || reportMissing("XR", "XR_FB_keyboard_tracking");
+ }
private static boolean check_FB_passthrough(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_passthrough")) {
@@ -1289,13 +1224,13 @@ private static boolean check_FB_passthrough(FunctionProvider provider, long[] ca
}
return checkFunctions(provider, caps, new int[] {
- 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107
+ 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101
},
"xrCreatePassthroughFB", "xrDestroyPassthroughFB", "xrPassthroughStartFB", "xrPassthroughPauseFB", "xrCreatePassthroughLayerFB",
"xrDestroyPassthroughLayerFB", "xrPassthroughLayerPauseFB", "xrPassthroughLayerResumeFB", "xrPassthroughLayerSetStyleFB",
"xrCreateGeometryInstanceFB", "xrDestroyGeometryInstanceFB", "xrGeometryInstanceSetTransformFB"
- ) || reportMissing("XR", "XR_FB_passthrough");
- }
+ ) || reportMissing("XR", "XR_FB_passthrough");
+ }
private static boolean check_FB_passthrough_keyboard_hands(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_passthrough_keyboard_hands")) {
@@ -1303,11 +1238,11 @@ private static boolean check_FB_passthrough_keyboard_hands(FunctionProvider prov
}
return checkFunctions(provider, caps, new int[] {
- 108
+ 102
},
"xrPassthroughLayerSetKeyboardHandsIntensityFB"
- ) || reportMissing("XR", "XR_FB_passthrough_keyboard_hands");
- }
+ ) || reportMissing("XR", "XR_FB_passthrough_keyboard_hands");
+ }
private static boolean check_FB_render_model(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_render_model")) {
@@ -1315,11 +1250,11 @@ private static boolean check_FB_render_model(FunctionProvider provider, long[] c
}
return checkFunctions(provider, caps, new int[] {
- 109, 110, 111
+ 103, 104, 105
},
"xrEnumerateRenderModelPathsFB", "xrGetRenderModelPropertiesFB", "xrLoadRenderModelFB"
- ) || reportMissing("XR", "XR_FB_render_model");
- }
+ ) || reportMissing("XR", "XR_FB_render_model");
+ }
private static boolean check_FB_scene(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_scene")) {
@@ -1327,11 +1262,11 @@ private static boolean check_FB_scene(FunctionProvider provider, long[] caps, ja
}
return checkFunctions(provider, caps, new int[] {
- 112, 113, 114, 115, 116
+ 106, 107, 108, 109, 110
},
"xrGetSpaceBoundingBox2DFB", "xrGetSpaceBoundingBox3DFB", "xrGetSpaceSemanticLabelsFB", "xrGetSpaceBoundary2DFB", "xrGetSpaceRoomLayoutFB"
- ) || reportMissing("XR", "XR_FB_scene");
- }
+ ) || reportMissing("XR", "XR_FB_scene");
+ }
private static boolean check_FB_scene_capture(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_scene_capture")) {
@@ -1339,11 +1274,11 @@ private static boolean check_FB_scene_capture(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 117
+ 111
},
"xrRequestSceneCaptureFB"
- ) || reportMissing("XR", "XR_FB_scene_capture");
- }
+ ) || reportMissing("XR", "XR_FB_scene_capture");
+ }
private static boolean check_FB_spatial_entity(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity")) {
@@ -1351,12 +1286,12 @@ private static boolean check_FB_spatial_entity(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 118, 119, 120, 121, 122
+ 112, 113, 114, 115, 116
},
"xrCreateSpatialAnchorFB", "xrGetSpaceUuidFB", "xrEnumerateSpaceSupportedComponentsFB", "xrSetSpaceComponentStatusFB",
"xrGetSpaceComponentStatusFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity");
+ }
private static boolean check_FB_spatial_entity_container(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity_container")) {
@@ -1364,11 +1299,11 @@ private static boolean check_FB_spatial_entity_container(FunctionProvider provid
}
return checkFunctions(provider, caps, new int[] {
- 123
+ 117
},
"xrGetSpaceContainerFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity_container");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity_container");
+ }
private static boolean check_FB_spatial_entity_query(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity_query")) {
@@ -1376,11 +1311,11 @@ private static boolean check_FB_spatial_entity_query(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 124, 125
+ 118, 119
},
"xrQuerySpacesFB", "xrRetrieveSpaceQueryResultsFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity_query");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity_query");
+ }
private static boolean check_FB_spatial_entity_sharing(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity_sharing")) {
@@ -1388,11 +1323,11 @@ private static boolean check_FB_spatial_entity_sharing(FunctionProvider provider
}
return checkFunctions(provider, caps, new int[] {
- 126
+ 120
},
"xrShareSpacesFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity_sharing");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity_sharing");
+ }
private static boolean check_FB_spatial_entity_storage(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity_storage")) {
@@ -1400,11 +1335,11 @@ private static boolean check_FB_spatial_entity_storage(FunctionProvider provider
}
return checkFunctions(provider, caps, new int[] {
- 127, 128
+ 121, 122
},
"xrSaveSpaceFB", "xrEraseSpaceFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity_storage");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity_storage");
+ }
private static boolean check_FB_spatial_entity_storage_batch(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity_storage_batch")) {
@@ -1412,11 +1347,11 @@ private static boolean check_FB_spatial_entity_storage_batch(FunctionProvider pr
}
return checkFunctions(provider, caps, new int[] {
- 129
+ 123
},
"xrSaveSpaceListFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity_storage_batch");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity_storage_batch");
+ }
private static boolean check_FB_spatial_entity_user(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_spatial_entity_user")) {
@@ -1424,11 +1359,11 @@ private static boolean check_FB_spatial_entity_user(FunctionProvider provider, l
}
return checkFunctions(provider, caps, new int[] {
- 130, 131, 132
+ 124, 125, 126
},
"xrCreateSpaceUserFB", "xrGetSpaceUserIdFB", "xrDestroySpaceUserFB"
- ) || reportMissing("XR", "XR_FB_spatial_entity_user");
- }
+ ) || reportMissing("XR", "XR_FB_spatial_entity_user");
+ }
private static boolean check_FB_swapchain_update_state(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_swapchain_update_state")) {
@@ -1436,11 +1371,11 @@ private static boolean check_FB_swapchain_update_state(FunctionProvider provider
}
return checkFunctions(provider, caps, new int[] {
- 133, 134
+ 127, 128
},
"xrUpdateSwapchainFB", "xrGetSwapchainStateFB"
- ) || reportMissing("XR", "XR_FB_swapchain_update_state");
- }
+ ) || reportMissing("XR", "XR_FB_swapchain_update_state");
+ }
private static boolean check_FB_triangle_mesh(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_FB_triangle_mesh")) {
@@ -1448,12 +1383,12 @@ private static boolean check_FB_triangle_mesh(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 135, 136, 137, 138, 139, 140, 141, 142
+ 129, 130, 131, 132, 133, 134, 135, 136
},
"xrCreateTriangleMeshFB", "xrDestroyTriangleMeshFB", "xrTriangleMeshGetVertexBufferFB", "xrTriangleMeshGetIndexBufferFB",
"xrTriangleMeshBeginUpdateFB", "xrTriangleMeshEndUpdateFB", "xrTriangleMeshBeginVertexBufferUpdateFB", "xrTriangleMeshEndVertexBufferUpdateFB"
- ) || reportMissing("XR", "XR_FB_triangle_mesh");
- }
+ ) || reportMissing("XR", "XR_FB_triangle_mesh");
+ }
private static boolean check_HTC_facial_tracking(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_HTC_facial_tracking")) {
@@ -1461,11 +1396,11 @@ private static boolean check_HTC_facial_tracking(FunctionProvider provider, long
}
return checkFunctions(provider, caps, new int[] {
- 143, 144, 145
+ 137, 138, 139
},
"xrCreateFacialTrackerHTC", "xrDestroyFacialTrackerHTC", "xrGetFacialExpressionsHTC"
- ) || reportMissing("XR", "XR_HTC_facial_tracking");
- }
+ ) || reportMissing("XR", "XR_HTC_facial_tracking");
+ }
private static boolean check_HTC_foveation(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_HTC_foveation")) {
@@ -1473,11 +1408,11 @@ private static boolean check_HTC_foveation(FunctionProvider provider, long[] cap
}
return checkFunctions(provider, caps, new int[] {
- 146
+ 140
},
"xrApplyFoveationHTC"
- ) || reportMissing("XR", "XR_HTC_foveation");
- }
+ ) || reportMissing("XR", "XR_HTC_foveation");
+ }
private static boolean check_HTC_passthrough(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_HTC_passthrough")) {
@@ -1485,11 +1420,11 @@ private static boolean check_HTC_passthrough(FunctionProvider provider, long[] c
}
return checkFunctions(provider, caps, new int[] {
- 147, 148
+ 141, 142
},
"xrCreatePassthroughHTC", "xrDestroyPassthroughHTC"
- ) || reportMissing("XR", "XR_HTC_passthrough");
- }
+ ) || reportMissing("XR", "XR_HTC_passthrough");
+ }
private static boolean check_HTCX_vive_tracker_interaction(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_HTCX_vive_tracker_interaction")) {
@@ -1497,11 +1432,11 @@ private static boolean check_HTCX_vive_tracker_interaction(FunctionProvider prov
}
return checkFunctions(provider, caps, new int[] {
- 149
+ 143
},
"xrEnumerateViveTrackerPathsHTCX"
- ) || reportMissing("XR", "XR_HTCX_vive_tracker_interaction");
- }
+ ) || reportMissing("XR", "XR_HTCX_vive_tracker_interaction");
+ }
private static boolean check_KHR_convert_timespec_time(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_KHR_convert_timespec_time")) {
@@ -1509,11 +1444,11 @@ private static boolean check_KHR_convert_timespec_time(FunctionProvider provider
}
return checkFunctions(provider, caps, new int[] {
- 150, 151
+ 144, 145
},
"xrConvertTimespecTimeToTimeKHR", "xrConvertTimeToTimespecTimeKHR"
- ) || reportMissing("XR", "XR_KHR_convert_timespec_time");
- }
+ ) || reportMissing("XR", "XR_KHR_convert_timespec_time");
+ }
private static boolean check_KHR_opengl_enable(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_KHR_opengl_enable")) {
@@ -1521,11 +1456,23 @@ private static boolean check_KHR_opengl_enable(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 152
+ 146
},
"xrGetOpenGLGraphicsRequirementsKHR"
- ) || reportMissing("XR", "XR_KHR_opengl_enable");
- }
+ ) || reportMissing("XR", "XR_KHR_opengl_enable");
+ }
+
+ private static boolean check_KHR_opengl_es_enable(FunctionProvider provider, long[] caps, java.util.Set ext) {
+ if (!ext.contains("XR_KHR_opengl_es_enable")) {
+ return false;
+ }
+
+ return checkFunctions(provider, caps, new int[] {
+ 147
+ },
+ "xrGetOpenGLESGraphicsRequirementsKHR"
+ ) || reportMissing("XR", "XR_KHR_opengl_es_enable");
+ }
private static boolean check_KHR_visibility_mask(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_KHR_visibility_mask")) {
@@ -1533,11 +1480,11 @@ private static boolean check_KHR_visibility_mask(FunctionProvider provider, long
}
return checkFunctions(provider, caps, new int[] {
- 153
+ 148
},
"xrGetVisibilityMaskKHR"
- ) || reportMissing("XR", "XR_KHR_visibility_mask");
- }
+ ) || reportMissing("XR", "XR_KHR_visibility_mask");
+ }
private static boolean check_KHR_vulkan_enable(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_KHR_vulkan_enable")) {
@@ -1545,11 +1492,11 @@ private static boolean check_KHR_vulkan_enable(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 154, 155, 156, 157
+ 149, 150, 151, 152
},
"xrGetVulkanInstanceExtensionsKHR", "xrGetVulkanDeviceExtensionsKHR", "xrGetVulkanGraphicsDeviceKHR", "xrGetVulkanGraphicsRequirementsKHR"
- ) || reportMissing("XR", "XR_KHR_vulkan_enable");
- }
+ ) || reportMissing("XR", "XR_KHR_vulkan_enable");
+ }
private static boolean check_KHR_vulkan_enable2(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_KHR_vulkan_enable2")) {
@@ -1557,11 +1504,11 @@ private static boolean check_KHR_vulkan_enable2(FunctionProvider provider, long[
}
return checkFunctions(provider, caps, new int[] {
- 158, 159, 160, 161
+ 153, 154, 155, 156
},
"xrCreateVulkanInstanceKHR", "xrCreateVulkanDeviceKHR", "xrGetVulkanGraphicsDevice2KHR", "xrGetVulkanGraphicsRequirements2KHR"
- ) || reportMissing("XR", "XR_KHR_vulkan_enable2");
- }
+ ) || reportMissing("XR", "XR_KHR_vulkan_enable2");
+ }
private static boolean check_KHR_win32_convert_performance_counter_time(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_KHR_win32_convert_performance_counter_time")) {
@@ -1569,11 +1516,11 @@ private static boolean check_KHR_win32_convert_performance_counter_time(Function
}
return checkFunctions(provider, caps, new int[] {
- 162, 163
+ 157, 158
},
"xrConvertWin32PerformanceCounterToTimeKHR", "xrConvertTimeToWin32PerformanceCounterKHR"
- ) || reportMissing("XR", "XR_KHR_win32_convert_performance_counter_time");
- }
+ ) || reportMissing("XR", "XR_KHR_win32_convert_performance_counter_time");
+ }
private static boolean check_META_foveation_eye_tracked(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_META_foveation_eye_tracked")) {
@@ -1581,35 +1528,11 @@ private static boolean check_META_foveation_eye_tracked(FunctionProvider provide
}
return checkFunctions(provider, caps, new int[] {
- 164
+ 159
},
"xrGetFoveationEyeTrackedStateMETA"
- ) || reportMissing("XR", "XR_META_foveation_eye_tracked");
- }
-
- private static boolean check_META_passthrough_color_lut(FunctionProvider provider, long[] caps, java.util.Set ext) {
- if (!ext.contains("XR_META_passthrough_color_lut")) {
- return false;
- }
-
- return checkFunctions(provider, caps, new int[] {
- 165, 166, 167
- },
- "xrCreatePassthroughColorLutMETA", "xrDestroyPassthroughColorLutMETA", "xrUpdatePassthroughColorLutMETA"
- ) || reportMissing("XR", "XR_META_passthrough_color_lut");
- }
-
- private static boolean check_META_passthrough_preferences(FunctionProvider provider, long[] caps, java.util.Set ext) {
- if (!ext.contains("XR_META_passthrough_preferences")) {
- return false;
- }
-
- return checkFunctions(provider, caps, new int[] {
- 168
- },
- "xrGetPassthroughPreferencesMETA"
- ) || reportMissing("XR", "XR_META_passthrough_preferences");
- }
+ ) || reportMissing("XR", "XR_META_foveation_eye_tracked");
+ }
private static boolean check_META_performance_metrics(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_META_performance_metrics")) {
@@ -1617,27 +1540,12 @@ private static boolean check_META_performance_metrics(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 169, 170, 171, 172
+ 160, 161, 162, 163
},
"xrEnumeratePerformanceMetricsCounterPathsMETA", "xrSetPerformanceMetricsStateMETA", "xrGetPerformanceMetricsStateMETA",
"xrQueryPerformanceMetricsCounterMETA"
- ) || reportMissing("XR", "XR_META_performance_metrics");
- }
-
- private static boolean check_META_virtual_keyboard(FunctionProvider provider, long[] caps, java.util.Set ext) {
- if (!ext.contains("XR_META_virtual_keyboard")) {
- return false;
- }
-
- return checkFunctions(provider, caps, new int[] {
- 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183
- },
- "xrCreateVirtualKeyboardMETA", "xrDestroyVirtualKeyboardMETA", "xrCreateVirtualKeyboardSpaceMETA", "xrSuggestVirtualKeyboardLocationMETA",
- "xrGetVirtualKeyboardScaleMETA", "xrSetVirtualKeyboardModelVisibilityMETA", "xrGetVirtualKeyboardModelAnimationStatesMETA",
- "xrGetVirtualKeyboardDirtyTexturesMETA", "xrGetVirtualKeyboardTextureDataMETA", "xrSendVirtualKeyboardInputMETA",
- "xrChangeVirtualKeyboardTextContextMETA"
- ) || reportMissing("XR", "XR_META_virtual_keyboard");
- }
+ ) || reportMissing("XR", "XR_META_performance_metrics");
+ }
private static boolean check_ML_compat(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_ML_compat")) {
@@ -1645,11 +1553,11 @@ private static boolean check_ML_compat(FunctionProvider provider, long[] caps, j
}
return checkFunctions(provider, caps, new int[] {
- 184
+ 164
},
"xrCreateSpaceFromCoordinateFrameUIDML"
- ) || reportMissing("XR", "XR_ML_compat");
- }
+ ) || reportMissing("XR", "XR_ML_compat");
+ }
private static boolean check_MNDX_force_feedback_curl(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MNDX_force_feedback_curl")) {
@@ -1657,11 +1565,11 @@ private static boolean check_MNDX_force_feedback_curl(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 185
+ 165
},
"xrApplyForceFeedbackCurlMNDX"
- ) || reportMissing("XR", "XR_MNDX_force_feedback_curl");
- }
+ ) || reportMissing("XR", "XR_MNDX_force_feedback_curl");
+ }
private static boolean check_MSFT_composition_layer_reprojection(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_composition_layer_reprojection")) {
@@ -1669,11 +1577,11 @@ private static boolean check_MSFT_composition_layer_reprojection(FunctionProvide
}
return checkFunctions(provider, caps, new int[] {
- 186
+ 166
},
"xrEnumerateReprojectionModesMSFT"
- ) || reportMissing("XR", "XR_MSFT_composition_layer_reprojection");
- }
+ ) || reportMissing("XR", "XR_MSFT_composition_layer_reprojection");
+ }
private static boolean check_MSFT_controller_model(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_controller_model")) {
@@ -1681,11 +1589,11 @@ private static boolean check_MSFT_controller_model(FunctionProvider provider, lo
}
return checkFunctions(provider, caps, new int[] {
- 187, 188, 189, 190
+ 167, 168, 169, 170
},
"xrGetControllerModelKeyMSFT", "xrLoadControllerModelMSFT", "xrGetControllerModelPropertiesMSFT", "xrGetControllerModelStateMSFT"
- ) || reportMissing("XR", "XR_MSFT_controller_model");
- }
+ ) || reportMissing("XR", "XR_MSFT_controller_model");
+ }
private static boolean check_MSFT_hand_tracking_mesh(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_hand_tracking_mesh")) {
@@ -1693,11 +1601,11 @@ private static boolean check_MSFT_hand_tracking_mesh(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 191, 192
+ 171, 172
},
"xrCreateHandMeshSpaceMSFT", "xrUpdateHandMeshMSFT"
- ) || reportMissing("XR", "XR_MSFT_hand_tracking_mesh");
- }
+ ) || reportMissing("XR", "XR_MSFT_hand_tracking_mesh");
+ }
private static boolean check_MSFT_perception_anchor_interop(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_perception_anchor_interop")) {
@@ -1705,11 +1613,11 @@ private static boolean check_MSFT_perception_anchor_interop(FunctionProvider pro
}
return checkFunctions(provider, caps, new int[] {
- 193, 194
+ 173, 174
},
"xrCreateSpatialAnchorFromPerceptionAnchorMSFT", "xrTryGetPerceptionAnchorFromSpatialAnchorMSFT"
- ) || reportMissing("XR", "XR_MSFT_perception_anchor_interop");
- }
+ ) || reportMissing("XR", "XR_MSFT_perception_anchor_interop");
+ }
private static boolean check_MSFT_scene_understanding(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_scene_understanding")) {
@@ -1717,12 +1625,12 @@ private static boolean check_MSFT_scene_understanding(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 195, 196, 197, 198, 199, 200, 201, 202, 203, 204
+ 175, 176, 177, 178, 179, 180, 181, 182, 183, 184
},
"xrEnumerateSceneComputeFeaturesMSFT", "xrCreateSceneObserverMSFT", "xrDestroySceneObserverMSFT", "xrCreateSceneMSFT", "xrDestroySceneMSFT",
"xrComputeNewSceneMSFT", "xrGetSceneComputeStateMSFT", "xrGetSceneComponentsMSFT", "xrLocateSceneComponentsMSFT", "xrGetSceneMeshBuffersMSFT"
- ) || reportMissing("XR", "XR_MSFT_scene_understanding");
- }
+ ) || reportMissing("XR", "XR_MSFT_scene_understanding");
+ }
private static boolean check_MSFT_scene_understanding_serialization(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_scene_understanding_serialization")) {
@@ -1730,11 +1638,11 @@ private static boolean check_MSFT_scene_understanding_serialization(FunctionProv
}
return checkFunctions(provider, caps, new int[] {
- 205, 206
+ 185, 186
},
"xrDeserializeSceneMSFT", "xrGetSerializedSceneFragmentDataMSFT"
- ) || reportMissing("XR", "XR_MSFT_scene_understanding_serialization");
- }
+ ) || reportMissing("XR", "XR_MSFT_scene_understanding_serialization");
+ }
private static boolean check_MSFT_spatial_anchor(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_spatial_anchor")) {
@@ -1742,11 +1650,11 @@ private static boolean check_MSFT_spatial_anchor(FunctionProvider provider, long
}
return checkFunctions(provider, caps, new int[] {
- 207, 208, 209
+ 187, 188, 189
},
"xrCreateSpatialAnchorMSFT", "xrCreateSpatialAnchorSpaceMSFT", "xrDestroySpatialAnchorMSFT"
- ) || reportMissing("XR", "XR_MSFT_spatial_anchor");
- }
+ ) || reportMissing("XR", "XR_MSFT_spatial_anchor");
+ }
private static boolean check_MSFT_spatial_anchor_persistence(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_spatial_anchor_persistence")) {
@@ -1754,13 +1662,13 @@ private static boolean check_MSFT_spatial_anchor_persistence(FunctionProvider pr
}
return checkFunctions(provider, caps, new int[] {
- 210, 211, 212, 213, 214, 215, 216
+ 190, 191, 192, 193, 194, 195, 196
},
"xrCreateSpatialAnchorStoreConnectionMSFT", "xrDestroySpatialAnchorStoreConnectionMSFT", "xrPersistSpatialAnchorMSFT",
"xrEnumeratePersistedSpatialAnchorNamesMSFT", "xrCreateSpatialAnchorFromPersistedNameMSFT", "xrUnpersistSpatialAnchorMSFT",
"xrClearSpatialAnchorStoreMSFT"
- ) || reportMissing("XR", "XR_MSFT_spatial_anchor_persistence");
- }
+ ) || reportMissing("XR", "XR_MSFT_spatial_anchor_persistence");
+ }
private static boolean check_MSFT_spatial_graph_bridge(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_MSFT_spatial_graph_bridge")) {
@@ -1768,12 +1676,12 @@ private static boolean check_MSFT_spatial_graph_bridge(FunctionProvider provider
}
return checkFunctions(provider, caps, new int[] {
- 217, 218, 219, 220
+ 197, 198, 199, 200
},
"xrCreateSpatialGraphNodeSpaceMSFT", "xrTryCreateSpatialGraphStaticNodeBindingMSFT", "xrDestroySpatialGraphNodeBindingMSFT",
"xrGetSpatialGraphNodeBindingPropertiesMSFT"
- ) || reportMissing("XR", "XR_MSFT_spatial_graph_bridge");
- }
+ ) || reportMissing("XR", "XR_MSFT_spatial_graph_bridge");
+ }
private static boolean check_OCULUS_audio_device_guid(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_OCULUS_audio_device_guid")) {
@@ -1781,11 +1689,11 @@ private static boolean check_OCULUS_audio_device_guid(FunctionProvider provider,
}
return checkFunctions(provider, caps, new int[] {
- 221, 222
+ 201, 202
},
"xrGetAudioOutputDeviceGuidOculus", "xrGetAudioInputDeviceGuidOculus"
- ) || reportMissing("XR", "XR_OCULUS_audio_device_guid");
- }
+ ) || reportMissing("XR", "XR_OCULUS_audio_device_guid");
+ }
private static boolean check_OCULUS_external_camera(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_OCULUS_external_camera")) {
@@ -1793,11 +1701,11 @@ private static boolean check_OCULUS_external_camera(FunctionProvider provider, l
}
return checkFunctions(provider, caps, new int[] {
- 223
+ 203
},
"xrEnumerateExternalCamerasOCULUS"
- ) || reportMissing("XR", "XR_OCULUS_external_camera");
- }
+ ) || reportMissing("XR", "XR_OCULUS_external_camera");
+ }
private static boolean check_QCOM_tracking_optimization_settings(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_QCOM_tracking_optimization_settings")) {
@@ -1805,11 +1713,11 @@ private static boolean check_QCOM_tracking_optimization_settings(FunctionProvide
}
return checkFunctions(provider, caps, new int[] {
- 224
+ 204
},
"xrSetTrackingOptimizationSettingsHintQCOM"
- ) || reportMissing("XR", "XR_QCOM_tracking_optimization_settings");
- }
+ ) || reportMissing("XR", "XR_QCOM_tracking_optimization_settings");
+ }
private static boolean check_VARJO_environment_depth_estimation(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_VARJO_environment_depth_estimation")) {
@@ -1817,11 +1725,11 @@ private static boolean check_VARJO_environment_depth_estimation(FunctionProvider
}
return checkFunctions(provider, caps, new int[] {
- 225
+ 205
},
"xrSetEnvironmentDepthEstimationVARJO"
- ) || reportMissing("XR", "XR_VARJO_environment_depth_estimation");
- }
+ ) || reportMissing("XR", "XR_VARJO_environment_depth_estimation");
+ }
private static boolean check_VARJO_marker_tracking(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_VARJO_marker_tracking")) {
@@ -1829,12 +1737,12 @@ private static boolean check_VARJO_marker_tracking(FunctionProvider provider, lo
}
return checkFunctions(provider, caps, new int[] {
- 226, 227, 228, 229, 230
+ 206, 207, 208, 209, 210
},
"xrSetMarkerTrackingVARJO", "xrSetMarkerTrackingTimeoutVARJO", "xrSetMarkerTrackingPredictionVARJO", "xrGetMarkerSizeVARJO",
"xrCreateMarkerSpaceVARJO"
- ) || reportMissing("XR", "XR_VARJO_marker_tracking");
- }
+ ) || reportMissing("XR", "XR_VARJO_marker_tracking");
+ }
private static boolean check_VARJO_view_offset(FunctionProvider provider, long[] caps, java.util.Set ext) {
if (!ext.contains("XR_VARJO_view_offset")) {
@@ -1842,10 +1750,10 @@ private static boolean check_VARJO_view_offset(FunctionProvider provider, long[]
}
return checkFunctions(provider, caps, new int[] {
- 231
+ 211
},
"xrSetViewOffsetVARJO"
- ) || reportMissing("XR", "XR_VARJO_view_offset");
- }
+ ) || reportMissing("XR", "XR_VARJO_view_offset");
+ }
-}
+}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrAction.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrAction.java
index be493217e1..58bc23578a 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrAction.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrAction.java
@@ -4,8 +4,8 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-/** Wraps an {@code XrAction} handle. */
+
+/** Wraps an {@code XrAction} handle. */
public class XrAction extends DispatchableHandle {
private final XrActionSet actionSet;
@@ -26,4 +26,4 @@ public XrActionSet getActionSet() {
return actionSet;
}
-}
+}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionCreateInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionCreateInfo.java
index 0b6e3032d2..4c07091b75 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionCreateInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionCreateInfo.java
@@ -4,20 +4,20 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
-import static org.lwjgl.openxr.XR10.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
+import static org.lwjgl.openxr.XR10.*;
+
/**
* XrAction creation info.
*
@@ -56,13 +56,13 @@
* The application called {@code xrGetActionState*} or a haptic function with a subaction path that was not specified when the action was created.
*
*
- * If {@code actionName} or {@code localizedActionName} are empty strings, the runtime must return {@link XR10#XR_ERROR_NAME_INVALID ERROR_NAME_INVALID} or {@link XR10#XR_ERROR_LOCALIZED_NAME_INVALID ERROR_LOCALIZED_NAME_INVALID} respectively. If {@code actionName} or {@code localizedActionName} are duplicates of the corresponding field for any existing action in the specified action set, the runtime must return {@link XR10#XR_ERROR_NAME_DUPLICATED ERROR_NAME_DUPLICATED} or {@link XR10#XR_ERROR_LOCALIZED_NAME_DUPLICATED ERROR_LOCALIZED_NAME_DUPLICATED} respectively. If the conflicting action is destroyed, the conflicting field is no longer considered duplicated. If {@code actionName} contains characters which are not allowed in a single level of a well-formed path string, the runtime must return {@link XR10#XR_ERROR_PATH_FORMAT_INVALID ERROR_PATH_FORMAT_INVALID}.
+ * If {@code actionName} or {@code localizedActionName} are empty strings, the runtime must return {@link XR10#XR_ERROR_NAME_INVALID ERROR_NAME_INVALID} or {@link XR10#XR_ERROR_LOCALIZED_NAME_INVALID ERROR_LOCALIZED_NAME_INVALID} respectively. If {@code actionName} or {@code localizedActionName} are duplicates of the corresponding field for any existing action in the specified action set, the runtime must return {@link XR10#XR_ERROR_NAME_DUPLICATED ERROR_NAME_DUPLICATED} or {@link XR10#XR_ERROR_LOCALIZED_NAME_DUPLICATED ERROR_LOCALIZED_NAME_DUPLICATED} respectively. If the conflicting action is destroyed, the conflicting field is no longer considered duplicated. If {@code actionName} contains characters which are not allowed in a single level of a well-formed path string, the runtime must return {@link XR10#XR_ERROR_PATH_FORMAT_INVALID ERROR_PATH_FORMAT_INVALID}.
*
* Valid Usage (Implicit)
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_CREATE_INFO TYPE_ACTION_CREATE_INFO}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code actionName} must be a null-terminated UTF-8 string whose length is less than or equal to {@link XR10#XR_MAX_ACTION_NAME_SIZE MAX_ACTION_NAME_SIZE}
* - {@code actionType} must be a valid {@code XrActionType} value
* - If {@code countSubactionPaths} is not 0, {@code subactionPaths} must be a pointer to an array of {@code countSubactionPaths} valid {@code XrPath} values
@@ -85,8 +85,8 @@
* XrPath const * {@link #subactionPaths};
* char {@link #localizedActionName}[XR_MAX_LOCALIZED_ACTION_NAME_SIZE];
* }
- */
-public class XrActionCreateInfo extends Struct implements NativeResource {
+ */
+public class XrActionCreateInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -96,36 +96,36 @@ public class XrActionCreateInfo extends Struct implements Na
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- ACTIONNAME,
- ACTIONTYPE,
- COUNTSUBACTIONPATHS,
- SUBACTIONPATHS,
- LOCALIZEDACTIONNAME;
+ TYPE,
+ NEXT,
+ ACTIONNAME,
+ ACTIONTYPE,
+ COUNTSUBACTIONPATHS,
+ SUBACTIONPATHS,
+ LOCALIZEDACTIONNAME;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __array(1, XR_MAX_ACTION_NAME_SIZE),
- __member(4),
- __member(4),
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __array(1, XR_MAX_ACTION_NAME_SIZE),
+ __member(4),
+ __member(4),
+ __member(POINTER_SIZE),
__array(1, XR_MAX_LOCALIZED_ACTION_NAME_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- ACTIONNAME = layout.offsetof(2);
- ACTIONTYPE = layout.offsetof(3);
- COUNTSUBACTIONPATHS = layout.offsetof(4);
- SUBACTIONPATHS = layout.offsetof(5);
- LOCALIZEDACTIONNAME = layout.offsetof(6);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ ACTIONNAME = layout.offsetof(2);
+ ACTIONTYPE = layout.offsetof(3);
+ COUNTSUBACTIONPATHS = layout.offsetof(4);
+ SUBACTIONPATHS = layout.offsetof(5);
+ LOCALIZEDACTIONNAME = layout.offsetof(6);
+ }
protected XrActionCreateInfo(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -148,70 +148,70 @@ public XrActionCreateInfo(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** an array containing a {@code NULL} terminated string with the name of this action. */
- @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
- public ByteBuffer actionName() { return nactionName(address()); }
- /** an array containing a {@code NULL} terminated string with the name of this action. */
- @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
- public String actionNameString() { return nactionNameString(address()); }
- /** the {@code XrActionType} of the action to be created. */
- @NativeType("XrActionType")
- public int actionType() { return nactionType(address()); }
- /** the number of elements in the {@code subactionPaths} array. If {@code subactionPaths} is NULL, this parameter must be 0. */
- @NativeType("uint32_t")
- public int countSubactionPaths() { return ncountSubactionPaths(address()); }
- /** an array of {@code XrPath} or {@code NULL}. If this array is specified, it contains one or more subaction paths that the application intends to query action state for. */
- @Nullable
- @NativeType("XrPath const *")
- public LongBuffer subactionPaths() { return nsubactionPaths(address()); }
- /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action. This string should be in the system’s current active locale. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
- public ByteBuffer localizedActionName() { return nlocalizedActionName(address()); }
- /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action. This string should be in the system’s current active locale. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
- public String localizedActionNameString() { return nlocalizedActionNameString(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionCreateInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_CREATE_INFO TYPE_ACTION_CREATE_INFO} value to the {@link #type} field. */
- public XrActionCreateInfo type$Default() { return type(XR10.XR_TYPE_ACTION_CREATE_INFO); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionCreateInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Copies the specified encoded string to the {@link #actionName} field. */
- public XrActionCreateInfo actionName(@NativeType("char[XR_MAX_ACTION_NAME_SIZE]") ByteBuffer value) { nactionName(address(), value); return this; }
- /** Sets the specified value to the {@link #actionType} field. */
- public XrActionCreateInfo actionType(@NativeType("XrActionType") int value) { nactionType(address(), value); return this; }
- /** Sets the specified value to the {@link #countSubactionPaths} field. */
- public XrActionCreateInfo countSubactionPaths(@NativeType("uint32_t") int value) { ncountSubactionPaths(address(), value); return this; }
- /** Sets the address of the specified {@link LongBuffer} to the {@link #subactionPaths} field. */
- public XrActionCreateInfo subactionPaths(@Nullable @NativeType("XrPath const *") LongBuffer value) { nsubactionPaths(address(), value); return this; }
- /** Copies the specified encoded string to the {@link #localizedActionName} field. */
- public XrActionCreateInfo localizedActionName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]") ByteBuffer value) { nlocalizedActionName(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** an array containing a {@code NULL} terminated string with the name of this action. */
+ @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
+ public ByteBuffer actionName() { return nactionName(address()); }
+ /** an array containing a {@code NULL} terminated string with the name of this action. */
+ @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
+ public String actionNameString() { return nactionNameString(address()); }
+ /** the {@code XrActionType} of the action to be created. */
+ @NativeType("XrActionType")
+ public int actionType() { return nactionType(address()); }
+ /** the number of elements in the {@code subactionPaths} array. If {@code subactionPaths} is NULL, this parameter must be 0. */
+ @NativeType("uint32_t")
+ public int countSubactionPaths() { return ncountSubactionPaths(address()); }
+ /** an array of {@code XrPath} or {@code NULL}. If this array is specified, it contains one or more subaction paths that the application intends to query action state for. */
+ @Nullable
+ @NativeType("XrPath const *")
+ public LongBuffer subactionPaths() { return nsubactionPaths(address()); }
+ /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action. This string should be in the system’s current active locale. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
+ public ByteBuffer localizedActionName() { return nlocalizedActionName(address()); }
+ /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action. This string should be in the system’s current active locale. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
+ public String localizedActionNameString() { return nlocalizedActionNameString(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionCreateInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_CREATE_INFO TYPE_ACTION_CREATE_INFO} value to the {@link #type} field. */
+ public XrActionCreateInfo type$Default() { return type(XR10.XR_TYPE_ACTION_CREATE_INFO); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionCreateInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link #actionName} field. */
+ public XrActionCreateInfo actionName(@NativeType("char[XR_MAX_ACTION_NAME_SIZE]") ByteBuffer value) { nactionName(address(), value); return this; }
+ /** Sets the specified value to the {@link #actionType} field. */
+ public XrActionCreateInfo actionType(@NativeType("XrActionType") int value) { nactionType(address(), value); return this; }
+ /** Sets the specified value to the {@link #countSubactionPaths} field. */
+ public XrActionCreateInfo countSubactionPaths(@NativeType("uint32_t") int value) { ncountSubactionPaths(address(), value); return this; }
+ /** Sets the address of the specified {@link LongBuffer} to the {@link #subactionPaths} field. */
+ public XrActionCreateInfo subactionPaths(@Nullable @NativeType("XrPath const *") LongBuffer value) { nsubactionPaths(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link #localizedActionName} field. */
+ public XrActionCreateInfo localizedActionName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]") ByteBuffer value) { nlocalizedActionName(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActionCreateInfo set(
- int type,
- long next,
- ByteBuffer actionName,
- int actionType,
- int countSubactionPaths,
- @Nullable LongBuffer subactionPaths,
+ int type,
+ long next,
+ ByteBuffer actionName,
+ int actionType,
+ int countSubactionPaths,
+ @Nullable LongBuffer subactionPaths,
ByteBuffer localizedActionName
- ) {
- type(type);
- next(next);
- actionName(actionName);
- actionType(actionType);
- countSubactionPaths(countSubactionPaths);
- subactionPaths(subactionPaths);
- localizedActionName(localizedActionName);
+ ) {
+ type(type);
+ next(next);
+ actionName(actionName);
+ actionType(actionType);
+ countSubactionPaths(countSubactionPaths);
+ subactionPaths(subactionPaths);
+ localizedActionName(localizedActionName);
return this;
}
@@ -340,54 +340,54 @@ public static XrActionCreateInfo.Buffer calloc(int capacity, MemoryStack stack)
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionCreateInfo.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionCreateInfo.NEXT); }
- /** Unsafe version of {@link #actionName}. */
- public static ByteBuffer nactionName(long struct) { return memByteBuffer(struct + XrActionCreateInfo.ACTIONNAME, XR_MAX_ACTION_NAME_SIZE); }
- /** Unsafe version of {@link #actionNameString}. */
- public static String nactionNameString(long struct) { return memUTF8(struct + XrActionCreateInfo.ACTIONNAME); }
- /** Unsafe version of {@link #actionType}. */
- public static int nactionType(long struct) { return UNSAFE.getInt(null, struct + XrActionCreateInfo.ACTIONTYPE); }
- /** Unsafe version of {@link #countSubactionPaths}. */
- public static int ncountSubactionPaths(long struct) { return UNSAFE.getInt(null, struct + XrActionCreateInfo.COUNTSUBACTIONPATHS); }
- /** Unsafe version of {@link #subactionPaths() subactionPaths}. */
- @Nullable public static LongBuffer nsubactionPaths(long struct) { return memLongBufferSafe(memGetAddress(struct + XrActionCreateInfo.SUBACTIONPATHS), ncountSubactionPaths(struct)); }
- /** Unsafe version of {@link #localizedActionName}. */
- public static ByteBuffer nlocalizedActionName(long struct) { return memByteBuffer(struct + XrActionCreateInfo.LOCALIZEDACTIONNAME, XR_MAX_LOCALIZED_ACTION_NAME_SIZE); }
- /** Unsafe version of {@link #localizedActionNameString}. */
- public static String nlocalizedActionNameString(long struct) { return memUTF8(struct + XrActionCreateInfo.LOCALIZEDACTIONNAME); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionCreateInfo.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionCreateInfo.NEXT, value); }
- /** Unsafe version of {@link #actionName(ByteBuffer) actionName}. */
- public static void nactionName(long struct, ByteBuffer value) {
- if (CHECKS) {
- checkNT1(value);
- checkGT(value, XR_MAX_ACTION_NAME_SIZE);
- }
- memCopy(memAddress(value), struct + XrActionCreateInfo.ACTIONNAME, value.remaining());
- }
- /** Unsafe version of {@link #actionType(int) actionType}. */
- public static void nactionType(long struct, int value) { UNSAFE.putInt(null, struct + XrActionCreateInfo.ACTIONTYPE, value); }
- /** Sets the specified value to the {@code countSubactionPaths} field of the specified {@code struct}. */
- public static void ncountSubactionPaths(long struct, int value) { UNSAFE.putInt(null, struct + XrActionCreateInfo.COUNTSUBACTIONPATHS, value); }
- /** Unsafe version of {@link #subactionPaths(LongBuffer) subactionPaths}. */
- public static void nsubactionPaths(long struct, @Nullable LongBuffer value) { memPutAddress(struct + XrActionCreateInfo.SUBACTIONPATHS, memAddressSafe(value)); if (value != null) { ncountSubactionPaths(struct, value.remaining()); } }
- /** Unsafe version of {@link #localizedActionName(ByteBuffer) localizedActionName}. */
- public static void nlocalizedActionName(long struct, ByteBuffer value) {
- if (CHECKS) {
- checkNT1(value);
- checkGT(value, XR_MAX_LOCALIZED_ACTION_NAME_SIZE);
- }
- memCopy(memAddress(value), struct + XrActionCreateInfo.LOCALIZEDACTIONNAME, value.remaining());
- }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionCreateInfo.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionCreateInfo.NEXT); }
+ /** Unsafe version of {@link #actionName}. */
+ public static ByteBuffer nactionName(long struct) { return memByteBuffer(struct + XrActionCreateInfo.ACTIONNAME, XR_MAX_ACTION_NAME_SIZE); }
+ /** Unsafe version of {@link #actionNameString}. */
+ public static String nactionNameString(long struct) { return memUTF8(struct + XrActionCreateInfo.ACTIONNAME); }
+ /** Unsafe version of {@link #actionType}. */
+ public static int nactionType(long struct) { return UNSAFE.getInt(null, struct + XrActionCreateInfo.ACTIONTYPE); }
+ /** Unsafe version of {@link #countSubactionPaths}. */
+ public static int ncountSubactionPaths(long struct) { return UNSAFE.getInt(null, struct + XrActionCreateInfo.COUNTSUBACTIONPATHS); }
+ /** Unsafe version of {@link #subactionPaths() subactionPaths}. */
+ @Nullable public static LongBuffer nsubactionPaths(long struct) { return memLongBufferSafe(memGetAddress(struct + XrActionCreateInfo.SUBACTIONPATHS), ncountSubactionPaths(struct)); }
+ /** Unsafe version of {@link #localizedActionName}. */
+ public static ByteBuffer nlocalizedActionName(long struct) { return memByteBuffer(struct + XrActionCreateInfo.LOCALIZEDACTIONNAME, XR_MAX_LOCALIZED_ACTION_NAME_SIZE); }
+ /** Unsafe version of {@link #localizedActionNameString}. */
+ public static String nlocalizedActionNameString(long struct) { return memUTF8(struct + XrActionCreateInfo.LOCALIZEDACTIONNAME); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionCreateInfo.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionCreateInfo.NEXT, value); }
+ /** Unsafe version of {@link #actionName(ByteBuffer) actionName}. */
+ public static void nactionName(long struct, ByteBuffer value) {
+ if (CHECKS) {
+ checkNT1(value);
+ checkGT(value, XR_MAX_ACTION_NAME_SIZE);
+ }
+ memCopy(memAddress(value), struct + XrActionCreateInfo.ACTIONNAME, value.remaining());
+ }
+ /** Unsafe version of {@link #actionType(int) actionType}. */
+ public static void nactionType(long struct, int value) { UNSAFE.putInt(null, struct + XrActionCreateInfo.ACTIONTYPE, value); }
+ /** Sets the specified value to the {@code countSubactionPaths} field of the specified {@code struct}. */
+ public static void ncountSubactionPaths(long struct, int value) { UNSAFE.putInt(null, struct + XrActionCreateInfo.COUNTSUBACTIONPATHS, value); }
+ /** Unsafe version of {@link #subactionPaths(LongBuffer) subactionPaths}. */
+ public static void nsubactionPaths(long struct, @Nullable LongBuffer value) { memPutAddress(struct + XrActionCreateInfo.SUBACTIONPATHS, memAddressSafe(value)); if (value != null) { ncountSubactionPaths(struct, value.remaining()); } }
+ /** Unsafe version of {@link #localizedActionName(ByteBuffer) localizedActionName}. */
+ public static void nlocalizedActionName(long struct, ByteBuffer value) {
+ if (CHECKS) {
+ checkNT1(value);
+ checkGT(value, XR_MAX_LOCALIZED_ACTION_NAME_SIZE);
+ }
+ memCopy(memAddress(value), struct + XrActionCreateInfo.LOCALIZEDACTIONNAME, value.remaining());
+ }
+
+ // -----------------------------------
/** An array of {@link XrActionCreateInfo} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -424,52 +424,52 @@ protected Buffer self() {
protected XrActionCreateInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionCreateInfo#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionCreateInfo.ntype(address()); }
- /** @return the value of the {@link XrActionCreateInfo#next} field. */
- @NativeType("void const *")
- public long next() { return XrActionCreateInfo.nnext(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrActionCreateInfo#actionName} field. */
- @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
- public ByteBuffer actionName() { return XrActionCreateInfo.nactionName(address()); }
- /** @return the null-terminated string stored in the {@link XrActionCreateInfo#actionName} field. */
- @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
- public String actionNameString() { return XrActionCreateInfo.nactionNameString(address()); }
- /** @return the value of the {@link XrActionCreateInfo#actionType} field. */
- @NativeType("XrActionType")
- public int actionType() { return XrActionCreateInfo.nactionType(address()); }
- /** @return the value of the {@link XrActionCreateInfo#countSubactionPaths} field. */
- @NativeType("uint32_t")
- public int countSubactionPaths() { return XrActionCreateInfo.ncountSubactionPaths(address()); }
- /** @return a {@link LongBuffer} view of the data pointed to by the {@link XrActionCreateInfo#subactionPaths} field. */
- @Nullable
- @NativeType("XrPath const *")
- public LongBuffer subactionPaths() { return XrActionCreateInfo.nsubactionPaths(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrActionCreateInfo#localizedActionName} field. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
- public ByteBuffer localizedActionName() { return XrActionCreateInfo.nlocalizedActionName(address()); }
- /** @return the null-terminated string stored in the {@link XrActionCreateInfo#localizedActionName} field. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
- public String localizedActionNameString() { return XrActionCreateInfo.nlocalizedActionNameString(address()); }
-
- /** Sets the specified value to the {@link XrActionCreateInfo#type} field. */
- public XrActionCreateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionCreateInfo.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_CREATE_INFO TYPE_ACTION_CREATE_INFO} value to the {@link XrActionCreateInfo#type} field. */
- public XrActionCreateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_CREATE_INFO); }
- /** Sets the specified value to the {@link XrActionCreateInfo#next} field. */
- public XrActionCreateInfo.Buffer next(@NativeType("void const *") long value) { XrActionCreateInfo.nnext(address(), value); return this; }
- /** Copies the specified encoded string to the {@link XrActionCreateInfo#actionName} field. */
- public XrActionCreateInfo.Buffer actionName(@NativeType("char[XR_MAX_ACTION_NAME_SIZE]") ByteBuffer value) { XrActionCreateInfo.nactionName(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionCreateInfo#actionType} field. */
- public XrActionCreateInfo.Buffer actionType(@NativeType("XrActionType") int value) { XrActionCreateInfo.nactionType(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionCreateInfo#countSubactionPaths} field. */
- public XrActionCreateInfo.Buffer countSubactionPaths(@NativeType("uint32_t") int value) { XrActionCreateInfo.ncountSubactionPaths(address(), value); return this; }
- /** Sets the address of the specified {@link LongBuffer} to the {@link XrActionCreateInfo#subactionPaths} field. */
- public XrActionCreateInfo.Buffer subactionPaths(@Nullable @NativeType("XrPath const *") LongBuffer value) { XrActionCreateInfo.nsubactionPaths(address(), value); return this; }
- /** Copies the specified encoded string to the {@link XrActionCreateInfo#localizedActionName} field. */
- public XrActionCreateInfo.Buffer localizedActionName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]") ByteBuffer value) { XrActionCreateInfo.nlocalizedActionName(address(), value); return this; }
+
+ /** @return the value of the {@link XrActionCreateInfo#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionCreateInfo.ntype(address()); }
+ /** @return the value of the {@link XrActionCreateInfo#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrActionCreateInfo.nnext(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrActionCreateInfo#actionName} field. */
+ @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
+ public ByteBuffer actionName() { return XrActionCreateInfo.nactionName(address()); }
+ /** @return the null-terminated string stored in the {@link XrActionCreateInfo#actionName} field. */
+ @NativeType("char[XR_MAX_ACTION_NAME_SIZE]")
+ public String actionNameString() { return XrActionCreateInfo.nactionNameString(address()); }
+ /** @return the value of the {@link XrActionCreateInfo#actionType} field. */
+ @NativeType("XrActionType")
+ public int actionType() { return XrActionCreateInfo.nactionType(address()); }
+ /** @return the value of the {@link XrActionCreateInfo#countSubactionPaths} field. */
+ @NativeType("uint32_t")
+ public int countSubactionPaths() { return XrActionCreateInfo.ncountSubactionPaths(address()); }
+ /** @return a {@link LongBuffer} view of the data pointed to by the {@link XrActionCreateInfo#subactionPaths} field. */
+ @Nullable
+ @NativeType("XrPath const *")
+ public LongBuffer subactionPaths() { return XrActionCreateInfo.nsubactionPaths(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrActionCreateInfo#localizedActionName} field. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
+ public ByteBuffer localizedActionName() { return XrActionCreateInfo.nlocalizedActionName(address()); }
+ /** @return the null-terminated string stored in the {@link XrActionCreateInfo#localizedActionName} field. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]")
+ public String localizedActionNameString() { return XrActionCreateInfo.nlocalizedActionNameString(address()); }
+
+ /** Sets the specified value to the {@link XrActionCreateInfo#type} field. */
+ public XrActionCreateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionCreateInfo.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_CREATE_INFO TYPE_ACTION_CREATE_INFO} value to the {@link XrActionCreateInfo#type} field. */
+ public XrActionCreateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_CREATE_INFO); }
+ /** Sets the specified value to the {@link XrActionCreateInfo#next} field. */
+ public XrActionCreateInfo.Buffer next(@NativeType("void const *") long value) { XrActionCreateInfo.nnext(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link XrActionCreateInfo#actionName} field. */
+ public XrActionCreateInfo.Buffer actionName(@NativeType("char[XR_MAX_ACTION_NAME_SIZE]") ByteBuffer value) { XrActionCreateInfo.nactionName(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionCreateInfo#actionType} field. */
+ public XrActionCreateInfo.Buffer actionType(@NativeType("XrActionType") int value) { XrActionCreateInfo.nactionType(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionCreateInfo#countSubactionPaths} field. */
+ public XrActionCreateInfo.Buffer countSubactionPaths(@NativeType("uint32_t") int value) { XrActionCreateInfo.ncountSubactionPaths(address(), value); return this; }
+ /** Sets the address of the specified {@link LongBuffer} to the {@link XrActionCreateInfo#subactionPaths} field. */
+ public XrActionCreateInfo.Buffer subactionPaths(@Nullable @NativeType("XrPath const *") LongBuffer value) { XrActionCreateInfo.nsubactionPaths(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link XrActionCreateInfo#localizedActionName} field. */
+ public XrActionCreateInfo.Buffer localizedActionName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_NAME_SIZE]") ByteBuffer value) { XrActionCreateInfo.nlocalizedActionName(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSet.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSet.java
index b230c5206e..984552ff04 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSet.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSet.java
@@ -4,8 +4,8 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-/** Wraps an {@code XrActionSet} handle. */
+
+/** Wraps an {@code XrActionSet} handle. */
public class XrActionSet extends DispatchableHandle {
private final XrInstance instance;
@@ -26,4 +26,4 @@ public XrInstance getInstance() {
return instance;
}
-}
+}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSetCreateInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSetCreateInfo.java
index b2fe9d756a..33090e617a 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSetCreateInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSetCreateInfo.java
@@ -4,20 +4,20 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
-import static org.lwjgl.openxr.XR10.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
+import static org.lwjgl.openxr.XR10.*;
+
/**
* XrActionSet creation info.
*
@@ -25,17 +25,17 @@
*
* When multiple actions are bound to the same input source, the {@code priority} of each action set determines which bindings are suppressed. Runtimes must ignore input sources from action sets with a lower priority number if those specific input sources are also present in active actions within a higher priority action set. If multiple action sets with the same priority are bound to the same input source and that is the highest priority number, runtimes must process all those bindings at the same time.
*
- * Two actions are considered to be bound to the same input source if they use the same identifier and optional location path segments, even if they have different component segments.
+ * Two actions are considered to be bound to the same input source if they use the same identifier and optional location path segments, even if they have different component segments.
*
* When runtimes are ignoring bindings because of priority, they must treat the binding to that input source as though they do not exist. That means the {@code isActive} field must be {@link XR10#XR_FALSE FALSE} when retrieving action data, and that the runtime must not provide any visual, haptic, or other feedback related to the binding of that action to that input source. Other actions in the same action set which are bound to input sources that do not collide are not affected and are processed as normal.
*
- * If {@code actionSetName} or {@code localizedActionSetName} are empty strings, the runtime must return {@link XR10#XR_ERROR_NAME_INVALID ERROR_NAME_INVALID} or {@link XR10#XR_ERROR_LOCALIZED_NAME_INVALID ERROR_LOCALIZED_NAME_INVALID} respectively. If {@code actionSetName} or {@code localizedActionSetName} are duplicates of the corresponding field for any existing action set in the specified instance, the runtime must return {@link XR10#XR_ERROR_NAME_DUPLICATED ERROR_NAME_DUPLICATED} or {@link XR10#XR_ERROR_LOCALIZED_NAME_DUPLICATED ERROR_LOCALIZED_NAME_DUPLICATED} respectively. If the conflicting action set is destroyed, the conflicting field is no longer considered duplicated. If {@code actionSetName} contains characters which are not allowed in a single level of a well-formed path string, the runtime must return {@link XR10#XR_ERROR_PATH_FORMAT_INVALID ERROR_PATH_FORMAT_INVALID}.
+ * If {@code actionSetName} or {@code localizedActionSetName} are empty strings, the runtime must return {@link XR10#XR_ERROR_NAME_INVALID ERROR_NAME_INVALID} or {@link XR10#XR_ERROR_LOCALIZED_NAME_INVALID ERROR_LOCALIZED_NAME_INVALID} respectively. If {@code actionSetName} or {@code localizedActionSetName} are duplicates of the corresponding field for any existing action set in the specified instance, the runtime must return {@link XR10#XR_ERROR_NAME_DUPLICATED ERROR_NAME_DUPLICATED} or {@link XR10#XR_ERROR_LOCALIZED_NAME_DUPLICATED ERROR_LOCALIZED_NAME_DUPLICATED} respectively. If the conflicting action set is destroyed, the conflicting field is no longer considered duplicated. If {@code actionSetName} contains characters which are not allowed in a single level of a well-formed path string, the runtime must return {@link XR10#XR_ERROR_PATH_FORMAT_INVALID ERROR_PATH_FORMAT_INVALID}.
*
* Valid Usage (Implicit)
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_SET_CREATE_INFO TYPE_ACTION_SET_CREATE_INFO}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code actionSetName} must be a null-terminated UTF-8 string whose length is less than or equal to {@link XR10#XR_MAX_ACTION_SET_NAME_SIZE MAX_ACTION_SET_NAME_SIZE}
* - {@code localizedActionSetName} must be a null-terminated UTF-8 string whose length is less than or equal to {@link XR10#XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE MAX_LOCALIZED_ACTION_SET_NAME_SIZE}
*
@@ -54,8 +54,8 @@
* char {@link #localizedActionSetName}[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE];
* uint32_t {@link #priority};
* }
- */
-public class XrActionSetCreateInfo extends Struct implements NativeResource {
+ */
+public class XrActionSetCreateInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -65,30 +65,30 @@ public class XrActionSetCreateInfo extends Struct impleme
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- ACTIONSETNAME,
- LOCALIZEDACTIONSETNAME,
- PRIORITY;
+ TYPE,
+ NEXT,
+ ACTIONSETNAME,
+ LOCALIZEDACTIONSETNAME,
+ PRIORITY;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __array(1, XR_MAX_ACTION_SET_NAME_SIZE),
- __array(1, XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __array(1, XR_MAX_ACTION_SET_NAME_SIZE),
+ __array(1, XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- ACTIONSETNAME = layout.offsetof(2);
- LOCALIZEDACTIONSETNAME = layout.offsetof(3);
- PRIORITY = layout.offsetof(4);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ ACTIONSETNAME = layout.offsetof(2);
+ LOCALIZEDACTIONSETNAME = layout.offsetof(3);
+ PRIORITY = layout.offsetof(4);
+ }
protected XrActionSetCreateInfo(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -111,55 +111,55 @@ public XrActionSetCreateInfo(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** an array containing a {@code NULL} terminated non-empty string with the name of this action set. */
- @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
- public ByteBuffer actionSetName() { return nactionSetName(address()); }
- /** an array containing a {@code NULL} terminated non-empty string with the name of this action set. */
- @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
- public String actionSetNameString() { return nactionSetNameString(address()); }
- /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action set. This string should be presented in the system’s current active locale. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
- public ByteBuffer localizedActionSetName() { return nlocalizedActionSetName(address()); }
- /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action set. This string should be presented in the system’s current active locale. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
- public String localizedActionSetNameString() { return nlocalizedActionSetNameString(address()); }
- /** defines which action sets' actions are active on a given input source when actions on multiple active action sets are bound to the same input source. Larger priority numbers take precedence over smaller priority numbers. */
- @NativeType("uint32_t")
- public int priority() { return npriority(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionSetCreateInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_SET_CREATE_INFO TYPE_ACTION_SET_CREATE_INFO} value to the {@link #type} field. */
- public XrActionSetCreateInfo type$Default() { return type(XR10.XR_TYPE_ACTION_SET_CREATE_INFO); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionSetCreateInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Copies the specified encoded string to the {@link #actionSetName} field. */
- public XrActionSetCreateInfo actionSetName(@NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]") ByteBuffer value) { nactionSetName(address(), value); return this; }
- /** Copies the specified encoded string to the {@link #localizedActionSetName} field. */
- public XrActionSetCreateInfo localizedActionSetName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]") ByteBuffer value) { nlocalizedActionSetName(address(), value); return this; }
- /** Sets the specified value to the {@link #priority} field. */
- public XrActionSetCreateInfo priority(@NativeType("uint32_t") int value) { npriority(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** an array containing a {@code NULL} terminated non-empty string with the name of this action set. */
+ @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
+ public ByteBuffer actionSetName() { return nactionSetName(address()); }
+ /** an array containing a {@code NULL} terminated non-empty string with the name of this action set. */
+ @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
+ public String actionSetNameString() { return nactionSetNameString(address()); }
+ /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action set. This string should be presented in the system’s current active locale. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
+ public ByteBuffer localizedActionSetName() { return nlocalizedActionSetName(address()); }
+ /** an array containing a {@code NULL} terminated {@code UTF}-8 string that can be presented to the user as a description of the action set. This string should be presented in the system’s current active locale. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
+ public String localizedActionSetNameString() { return nlocalizedActionSetNameString(address()); }
+ /** defines which action sets' actions are active on a given input source when actions on multiple active action sets are bound to the same input source. Larger priority numbers take precedence over smaller priority numbers. */
+ @NativeType("uint32_t")
+ public int priority() { return npriority(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionSetCreateInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_SET_CREATE_INFO TYPE_ACTION_SET_CREATE_INFO} value to the {@link #type} field. */
+ public XrActionSetCreateInfo type$Default() { return type(XR10.XR_TYPE_ACTION_SET_CREATE_INFO); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionSetCreateInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link #actionSetName} field. */
+ public XrActionSetCreateInfo actionSetName(@NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]") ByteBuffer value) { nactionSetName(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link #localizedActionSetName} field. */
+ public XrActionSetCreateInfo localizedActionSetName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]") ByteBuffer value) { nlocalizedActionSetName(address(), value); return this; }
+ /** Sets the specified value to the {@link #priority} field. */
+ public XrActionSetCreateInfo priority(@NativeType("uint32_t") int value) { npriority(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActionSetCreateInfo set(
- int type,
- long next,
- ByteBuffer actionSetName,
- ByteBuffer localizedActionSetName,
+ int type,
+ long next,
+ ByteBuffer actionSetName,
+ ByteBuffer localizedActionSetName,
int priority
- ) {
- type(type);
- next(next);
- actionSetName(actionSetName);
- localizedActionSetName(localizedActionSetName);
- priority(priority);
+ ) {
+ type(type);
+ next(next);
+ actionSetName(actionSetName);
+ localizedActionSetName(localizedActionSetName);
+ priority(priority);
return this;
}
@@ -288,46 +288,46 @@ public static XrActionSetCreateInfo.Buffer calloc(int capacity, MemoryStack stac
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionSetCreateInfo.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionSetCreateInfo.NEXT); }
- /** Unsafe version of {@link #actionSetName}. */
- public static ByteBuffer nactionSetName(long struct) { return memByteBuffer(struct + XrActionSetCreateInfo.ACTIONSETNAME, XR_MAX_ACTION_SET_NAME_SIZE); }
- /** Unsafe version of {@link #actionSetNameString}. */
- public static String nactionSetNameString(long struct) { return memUTF8(struct + XrActionSetCreateInfo.ACTIONSETNAME); }
- /** Unsafe version of {@link #localizedActionSetName}. */
- public static ByteBuffer nlocalizedActionSetName(long struct) { return memByteBuffer(struct + XrActionSetCreateInfo.LOCALIZEDACTIONSETNAME, XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE); }
- /** Unsafe version of {@link #localizedActionSetNameString}. */
- public static String nlocalizedActionSetNameString(long struct) { return memUTF8(struct + XrActionSetCreateInfo.LOCALIZEDACTIONSETNAME); }
- /** Unsafe version of {@link #priority}. */
- public static int npriority(long struct) { return UNSAFE.getInt(null, struct + XrActionSetCreateInfo.PRIORITY); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionSetCreateInfo.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionSetCreateInfo.NEXT, value); }
- /** Unsafe version of {@link #actionSetName(ByteBuffer) actionSetName}. */
- public static void nactionSetName(long struct, ByteBuffer value) {
- if (CHECKS) {
- checkNT1(value);
- checkGT(value, XR_MAX_ACTION_SET_NAME_SIZE);
- }
- memCopy(memAddress(value), struct + XrActionSetCreateInfo.ACTIONSETNAME, value.remaining());
- }
- /** Unsafe version of {@link #localizedActionSetName(ByteBuffer) localizedActionSetName}. */
- public static void nlocalizedActionSetName(long struct, ByteBuffer value) {
- if (CHECKS) {
- checkNT1(value);
- checkGT(value, XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE);
- }
- memCopy(memAddress(value), struct + XrActionSetCreateInfo.LOCALIZEDACTIONSETNAME, value.remaining());
- }
- /** Unsafe version of {@link #priority(int) priority}. */
- public static void npriority(long struct, int value) { UNSAFE.putInt(null, struct + XrActionSetCreateInfo.PRIORITY, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionSetCreateInfo.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionSetCreateInfo.NEXT); }
+ /** Unsafe version of {@link #actionSetName}. */
+ public static ByteBuffer nactionSetName(long struct) { return memByteBuffer(struct + XrActionSetCreateInfo.ACTIONSETNAME, XR_MAX_ACTION_SET_NAME_SIZE); }
+ /** Unsafe version of {@link #actionSetNameString}. */
+ public static String nactionSetNameString(long struct) { return memUTF8(struct + XrActionSetCreateInfo.ACTIONSETNAME); }
+ /** Unsafe version of {@link #localizedActionSetName}. */
+ public static ByteBuffer nlocalizedActionSetName(long struct) { return memByteBuffer(struct + XrActionSetCreateInfo.LOCALIZEDACTIONSETNAME, XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE); }
+ /** Unsafe version of {@link #localizedActionSetNameString}. */
+ public static String nlocalizedActionSetNameString(long struct) { return memUTF8(struct + XrActionSetCreateInfo.LOCALIZEDACTIONSETNAME); }
+ /** Unsafe version of {@link #priority}. */
+ public static int npriority(long struct) { return UNSAFE.getInt(null, struct + XrActionSetCreateInfo.PRIORITY); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionSetCreateInfo.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionSetCreateInfo.NEXT, value); }
+ /** Unsafe version of {@link #actionSetName(ByteBuffer) actionSetName}. */
+ public static void nactionSetName(long struct, ByteBuffer value) {
+ if (CHECKS) {
+ checkNT1(value);
+ checkGT(value, XR_MAX_ACTION_SET_NAME_SIZE);
+ }
+ memCopy(memAddress(value), struct + XrActionSetCreateInfo.ACTIONSETNAME, value.remaining());
+ }
+ /** Unsafe version of {@link #localizedActionSetName(ByteBuffer) localizedActionSetName}. */
+ public static void nlocalizedActionSetName(long struct, ByteBuffer value) {
+ if (CHECKS) {
+ checkNT1(value);
+ checkGT(value, XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE);
+ }
+ memCopy(memAddress(value), struct + XrActionSetCreateInfo.LOCALIZEDACTIONSETNAME, value.remaining());
+ }
+ /** Unsafe version of {@link #priority(int) priority}. */
+ public static void npriority(long struct, int value) { UNSAFE.putInt(null, struct + XrActionSetCreateInfo.PRIORITY, value); }
+
+ // -----------------------------------
/** An array of {@link XrActionSetCreateInfo} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -364,41 +364,41 @@ protected Buffer self() {
protected XrActionSetCreateInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionSetCreateInfo#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionSetCreateInfo.ntype(address()); }
- /** @return the value of the {@link XrActionSetCreateInfo#next} field. */
- @NativeType("void const *")
- public long next() { return XrActionSetCreateInfo.nnext(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrActionSetCreateInfo#actionSetName} field. */
- @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
- public ByteBuffer actionSetName() { return XrActionSetCreateInfo.nactionSetName(address()); }
- /** @return the null-terminated string stored in the {@link XrActionSetCreateInfo#actionSetName} field. */
- @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
- public String actionSetNameString() { return XrActionSetCreateInfo.nactionSetNameString(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrActionSetCreateInfo#localizedActionSetName} field. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
- public ByteBuffer localizedActionSetName() { return XrActionSetCreateInfo.nlocalizedActionSetName(address()); }
- /** @return the null-terminated string stored in the {@link XrActionSetCreateInfo#localizedActionSetName} field. */
- @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
- public String localizedActionSetNameString() { return XrActionSetCreateInfo.nlocalizedActionSetNameString(address()); }
- /** @return the value of the {@link XrActionSetCreateInfo#priority} field. */
- @NativeType("uint32_t")
- public int priority() { return XrActionSetCreateInfo.npriority(address()); }
-
- /** Sets the specified value to the {@link XrActionSetCreateInfo#type} field. */
- public XrActionSetCreateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionSetCreateInfo.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_SET_CREATE_INFO TYPE_ACTION_SET_CREATE_INFO} value to the {@link XrActionSetCreateInfo#type} field. */
- public XrActionSetCreateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_SET_CREATE_INFO); }
- /** Sets the specified value to the {@link XrActionSetCreateInfo#next} field. */
- public XrActionSetCreateInfo.Buffer next(@NativeType("void const *") long value) { XrActionSetCreateInfo.nnext(address(), value); return this; }
- /** Copies the specified encoded string to the {@link XrActionSetCreateInfo#actionSetName} field. */
- public XrActionSetCreateInfo.Buffer actionSetName(@NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]") ByteBuffer value) { XrActionSetCreateInfo.nactionSetName(address(), value); return this; }
- /** Copies the specified encoded string to the {@link XrActionSetCreateInfo#localizedActionSetName} field. */
- public XrActionSetCreateInfo.Buffer localizedActionSetName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]") ByteBuffer value) { XrActionSetCreateInfo.nlocalizedActionSetName(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionSetCreateInfo#priority} field. */
- public XrActionSetCreateInfo.Buffer priority(@NativeType("uint32_t") int value) { XrActionSetCreateInfo.npriority(address(), value); return this; }
+
+ /** @return the value of the {@link XrActionSetCreateInfo#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionSetCreateInfo.ntype(address()); }
+ /** @return the value of the {@link XrActionSetCreateInfo#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrActionSetCreateInfo.nnext(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrActionSetCreateInfo#actionSetName} field. */
+ @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
+ public ByteBuffer actionSetName() { return XrActionSetCreateInfo.nactionSetName(address()); }
+ /** @return the null-terminated string stored in the {@link XrActionSetCreateInfo#actionSetName} field. */
+ @NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]")
+ public String actionSetNameString() { return XrActionSetCreateInfo.nactionSetNameString(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrActionSetCreateInfo#localizedActionSetName} field. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
+ public ByteBuffer localizedActionSetName() { return XrActionSetCreateInfo.nlocalizedActionSetName(address()); }
+ /** @return the null-terminated string stored in the {@link XrActionSetCreateInfo#localizedActionSetName} field. */
+ @NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]")
+ public String localizedActionSetNameString() { return XrActionSetCreateInfo.nlocalizedActionSetNameString(address()); }
+ /** @return the value of the {@link XrActionSetCreateInfo#priority} field. */
+ @NativeType("uint32_t")
+ public int priority() { return XrActionSetCreateInfo.npriority(address()); }
+
+ /** Sets the specified value to the {@link XrActionSetCreateInfo#type} field. */
+ public XrActionSetCreateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionSetCreateInfo.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_SET_CREATE_INFO TYPE_ACTION_SET_CREATE_INFO} value to the {@link XrActionSetCreateInfo#type} field. */
+ public XrActionSetCreateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_SET_CREATE_INFO); }
+ /** Sets the specified value to the {@link XrActionSetCreateInfo#next} field. */
+ public XrActionSetCreateInfo.Buffer next(@NativeType("void const *") long value) { XrActionSetCreateInfo.nnext(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link XrActionSetCreateInfo#actionSetName} field. */
+ public XrActionSetCreateInfo.Buffer actionSetName(@NativeType("char[XR_MAX_ACTION_SET_NAME_SIZE]") ByteBuffer value) { XrActionSetCreateInfo.nactionSetName(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link XrActionSetCreateInfo#localizedActionSetName} field. */
+ public XrActionSetCreateInfo.Buffer localizedActionSetName(@NativeType("char[XR_MAX_LOCALIZED_ACTION_SET_NAME_SIZE]") ByteBuffer value) { XrActionSetCreateInfo.nlocalizedActionSetName(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionSetCreateInfo#priority} field. */
+ public XrActionSetCreateInfo.Buffer priority(@NativeType("uint32_t") int value) { XrActionSetCreateInfo.npriority(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSpaceCreateInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSpaceCreateInfo.java
index f458edd83e..bf221c18af 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSpaceCreateInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSpaceCreateInfo.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Creation info for an action space.
*
@@ -23,7 +23,7 @@
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_SPACE_CREATE_INFO TYPE_ACTION_SPACE_CREATE_INFO}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code action} must be a valid {@code XrAction} handle
*
*
@@ -41,8 +41,8 @@
* XrPath {@link #subactionPath};
* {@link XrPosef XrPosef} {@link #poseInActionSpace};
* }
- */
-public class XrActionSpaceCreateInfo extends Struct implements NativeResource {
+ */
+public class XrActionSpaceCreateInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -52,30 +52,30 @@ public class XrActionSpaceCreateInfo extends Struct imp
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- ACTION,
- SUBACTIONPATH,
- POSEINACTIONSPACE;
+ TYPE,
+ NEXT,
+ ACTION,
+ SUBACTIONPATH,
+ POSEINACTIONSPACE;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(POINTER_SIZE),
- __member(8),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(POINTER_SIZE),
+ __member(8),
__member(XrPosef.SIZEOF, XrPosef.ALIGNOF)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- ACTION = layout.offsetof(2);
- SUBACTIONPATH = layout.offsetof(3);
- POSEINACTIONSPACE = layout.offsetof(4);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ ACTION = layout.offsetof(2);
+ SUBACTIONPATH = layout.offsetof(3);
+ POSEINACTIONSPACE = layout.offsetof(4);
+ }
protected XrActionSpaceCreateInfo(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -98,50 +98,50 @@ public XrActionSpaceCreateInfo(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** a handle to a pose {@code XrAction} previously created with {@link XR10#xrCreateAction CreateAction}. */
- @NativeType("XrAction")
- public long action() { return naction(address()); }
- /** {@link XR10#XR_NULL_PATH NULL_PATH} or an {@code XrPath} that was specified when the action was created. If {@code subactionPath} is a valid path not specified when the action was created the runtime must return {@link XR10#XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. If this parameter is set, the runtime must create a space that is relative to only that subaction’s pose binding. */
- @NativeType("XrPath")
- public long subactionPath() { return nsubactionPath(address()); }
- /** an {@link XrPosef} defining the position and orientation of the new space’s origin within the natural reference frame of the pose action. */
- public XrPosef poseInActionSpace() { return nposeInActionSpace(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionSpaceCreateInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_SPACE_CREATE_INFO TYPE_ACTION_SPACE_CREATE_INFO} value to the {@link #type} field. */
- public XrActionSpaceCreateInfo type$Default() { return type(XR10.XR_TYPE_ACTION_SPACE_CREATE_INFO); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionSpaceCreateInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #action} field. */
- public XrActionSpaceCreateInfo action(XrAction value) { naction(address(), value); return this; }
- /** Sets the specified value to the {@link #subactionPath} field. */
- public XrActionSpaceCreateInfo subactionPath(@NativeType("XrPath") long value) { nsubactionPath(address(), value); return this; }
- /** Copies the specified {@link XrPosef} to the {@link #poseInActionSpace} field. */
- public XrActionSpaceCreateInfo poseInActionSpace(XrPosef value) { nposeInActionSpace(address(), value); return this; }
- /** Passes the {@link #poseInActionSpace} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrActionSpaceCreateInfo poseInActionSpace(java.util.function.Consumer consumer) { consumer.accept(poseInActionSpace()); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** a handle to a pose {@code XrAction} previously created with {@link XR10#xrCreateAction CreateAction}. */
+ @NativeType("XrAction")
+ public long action() { return naction(address()); }
+ /** {@link XR10#XR_NULL_PATH NULL_PATH} or an {@code XrPath} that was specified when the action was created. If {@code subactionPath} is a valid path not specified when the action was created the runtime must return {@link XR10#XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. If this parameter is set, the runtime must create a space that is relative to only that subaction’s pose binding. */
+ @NativeType("XrPath")
+ public long subactionPath() { return nsubactionPath(address()); }
+ /** an {@link XrPosef} defining the position and orientation of the new space’s origin within the natural reference frame of the pose action. */
+ public XrPosef poseInActionSpace() { return nposeInActionSpace(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionSpaceCreateInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_SPACE_CREATE_INFO TYPE_ACTION_SPACE_CREATE_INFO} value to the {@link #type} field. */
+ public XrActionSpaceCreateInfo type$Default() { return type(XR10.XR_TYPE_ACTION_SPACE_CREATE_INFO); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionSpaceCreateInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #action} field. */
+ public XrActionSpaceCreateInfo action(XrAction value) { naction(address(), value); return this; }
+ /** Sets the specified value to the {@link #subactionPath} field. */
+ public XrActionSpaceCreateInfo subactionPath(@NativeType("XrPath") long value) { nsubactionPath(address(), value); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link #poseInActionSpace} field. */
+ public XrActionSpaceCreateInfo poseInActionSpace(XrPosef value) { nposeInActionSpace(address(), value); return this; }
+ /** Passes the {@link #poseInActionSpace} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrActionSpaceCreateInfo poseInActionSpace(java.util.function.Consumer consumer) { consumer.accept(poseInActionSpace()); return this; }
/** Initializes this struct with the specified values. */
public XrActionSpaceCreateInfo set(
- int type,
- long next,
- XrAction action,
- long subactionPath,
+ int type,
+ long next,
+ XrAction action,
+ long subactionPath,
XrPosef poseInActionSpace
- ) {
- type(type);
- next(next);
- action(action);
- subactionPath(subactionPath);
- poseInActionSpace(poseInActionSpace);
+ ) {
+ type(type);
+ next(next);
+ action(action);
+ subactionPath(subactionPath);
+ poseInActionSpace(poseInActionSpace);
return this;
}
@@ -270,28 +270,28 @@ public static XrActionSpaceCreateInfo.Buffer calloc(int capacity, MemoryStack st
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionSpaceCreateInfo.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionSpaceCreateInfo.NEXT); }
- /** Unsafe version of {@link #action}. */
- public static long naction(long struct) { return memGetAddress(struct + XrActionSpaceCreateInfo.ACTION); }
- /** Unsafe version of {@link #subactionPath}. */
- public static long nsubactionPath(long struct) { return UNSAFE.getLong(null, struct + XrActionSpaceCreateInfo.SUBACTIONPATH); }
- /** Unsafe version of {@link #poseInActionSpace}. */
- public static XrPosef nposeInActionSpace(long struct) { return XrPosef.create(struct + XrActionSpaceCreateInfo.POSEINACTIONSPACE); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionSpaceCreateInfo.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionSpaceCreateInfo.NEXT, value); }
- /** Unsafe version of {@link #action(XrAction) action}. */
- public static void naction(long struct, XrAction value) { memPutAddress(struct + XrActionSpaceCreateInfo.ACTION, value.address()); }
- /** Unsafe version of {@link #subactionPath(long) subactionPath}. */
- public static void nsubactionPath(long struct, long value) { UNSAFE.putLong(null, struct + XrActionSpaceCreateInfo.SUBACTIONPATH, value); }
- /** Unsafe version of {@link #poseInActionSpace(XrPosef) poseInActionSpace}. */
- public static void nposeInActionSpace(long struct, XrPosef value) { memCopy(value.address(), struct + XrActionSpaceCreateInfo.POSEINACTIONSPACE, XrPosef.SIZEOF); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionSpaceCreateInfo.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionSpaceCreateInfo.NEXT); }
+ /** Unsafe version of {@link #action}. */
+ public static long naction(long struct) { return memGetAddress(struct + XrActionSpaceCreateInfo.ACTION); }
+ /** Unsafe version of {@link #subactionPath}. */
+ public static long nsubactionPath(long struct) { return UNSAFE.getLong(null, struct + XrActionSpaceCreateInfo.SUBACTIONPATH); }
+ /** Unsafe version of {@link #poseInActionSpace}. */
+ public static XrPosef nposeInActionSpace(long struct) { return XrPosef.create(struct + XrActionSpaceCreateInfo.POSEINACTIONSPACE); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionSpaceCreateInfo.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionSpaceCreateInfo.NEXT, value); }
+ /** Unsafe version of {@link #action(XrAction) action}. */
+ public static void naction(long struct, XrAction value) { memPutAddress(struct + XrActionSpaceCreateInfo.ACTION, value.address()); }
+ /** Unsafe version of {@link #subactionPath(long) subactionPath}. */
+ public static void nsubactionPath(long struct, long value) { UNSAFE.putLong(null, struct + XrActionSpaceCreateInfo.SUBACTIONPATH, value); }
+ /** Unsafe version of {@link #poseInActionSpace(XrPosef) poseInActionSpace}. */
+ public static void nposeInActionSpace(long struct, XrPosef value) { memCopy(value.address(), struct + XrActionSpaceCreateInfo.POSEINACTIONSPACE, XrPosef.SIZEOF); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -300,9 +300,9 @@ public static XrActionSpaceCreateInfo.Buffer calloc(int capacity, MemoryStack st
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrActionSpaceCreateInfo.ACTION));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrActionSpaceCreateInfo} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -339,36 +339,36 @@ protected Buffer self() {
protected XrActionSpaceCreateInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionSpaceCreateInfo#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionSpaceCreateInfo.ntype(address()); }
- /** @return the value of the {@link XrActionSpaceCreateInfo#next} field. */
- @NativeType("void const *")
- public long next() { return XrActionSpaceCreateInfo.nnext(address()); }
- /** @return the value of the {@link XrActionSpaceCreateInfo#action} field. */
- @NativeType("XrAction")
- public long action() { return XrActionSpaceCreateInfo.naction(address()); }
- /** @return the value of the {@link XrActionSpaceCreateInfo#subactionPath} field. */
- @NativeType("XrPath")
- public long subactionPath() { return XrActionSpaceCreateInfo.nsubactionPath(address()); }
- /** @return a {@link XrPosef} view of the {@link XrActionSpaceCreateInfo#poseInActionSpace} field. */
- public XrPosef poseInActionSpace() { return XrActionSpaceCreateInfo.nposeInActionSpace(address()); }
-
- /** Sets the specified value to the {@link XrActionSpaceCreateInfo#type} field. */
- public XrActionSpaceCreateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionSpaceCreateInfo.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_SPACE_CREATE_INFO TYPE_ACTION_SPACE_CREATE_INFO} value to the {@link XrActionSpaceCreateInfo#type} field. */
- public XrActionSpaceCreateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_SPACE_CREATE_INFO); }
- /** Sets the specified value to the {@link XrActionSpaceCreateInfo#next} field. */
- public XrActionSpaceCreateInfo.Buffer next(@NativeType("void const *") long value) { XrActionSpaceCreateInfo.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionSpaceCreateInfo#action} field. */
- public XrActionSpaceCreateInfo.Buffer action(XrAction value) { XrActionSpaceCreateInfo.naction(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionSpaceCreateInfo#subactionPath} field. */
- public XrActionSpaceCreateInfo.Buffer subactionPath(@NativeType("XrPath") long value) { XrActionSpaceCreateInfo.nsubactionPath(address(), value); return this; }
- /** Copies the specified {@link XrPosef} to the {@link XrActionSpaceCreateInfo#poseInActionSpace} field. */
- public XrActionSpaceCreateInfo.Buffer poseInActionSpace(XrPosef value) { XrActionSpaceCreateInfo.nposeInActionSpace(address(), value); return this; }
- /** Passes the {@link XrActionSpaceCreateInfo#poseInActionSpace} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrActionSpaceCreateInfo.Buffer poseInActionSpace(java.util.function.Consumer consumer) { consumer.accept(poseInActionSpace()); return this; }
+
+ /** @return the value of the {@link XrActionSpaceCreateInfo#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionSpaceCreateInfo.ntype(address()); }
+ /** @return the value of the {@link XrActionSpaceCreateInfo#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrActionSpaceCreateInfo.nnext(address()); }
+ /** @return the value of the {@link XrActionSpaceCreateInfo#action} field. */
+ @NativeType("XrAction")
+ public long action() { return XrActionSpaceCreateInfo.naction(address()); }
+ /** @return the value of the {@link XrActionSpaceCreateInfo#subactionPath} field. */
+ @NativeType("XrPath")
+ public long subactionPath() { return XrActionSpaceCreateInfo.nsubactionPath(address()); }
+ /** @return a {@link XrPosef} view of the {@link XrActionSpaceCreateInfo#poseInActionSpace} field. */
+ public XrPosef poseInActionSpace() { return XrActionSpaceCreateInfo.nposeInActionSpace(address()); }
+
+ /** Sets the specified value to the {@link XrActionSpaceCreateInfo#type} field. */
+ public XrActionSpaceCreateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionSpaceCreateInfo.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_SPACE_CREATE_INFO TYPE_ACTION_SPACE_CREATE_INFO} value to the {@link XrActionSpaceCreateInfo#type} field. */
+ public XrActionSpaceCreateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_SPACE_CREATE_INFO); }
+ /** Sets the specified value to the {@link XrActionSpaceCreateInfo#next} field. */
+ public XrActionSpaceCreateInfo.Buffer next(@NativeType("void const *") long value) { XrActionSpaceCreateInfo.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionSpaceCreateInfo#action} field. */
+ public XrActionSpaceCreateInfo.Buffer action(XrAction value) { XrActionSpaceCreateInfo.naction(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionSpaceCreateInfo#subactionPath} field. */
+ public XrActionSpaceCreateInfo.Buffer subactionPath(@NativeType("XrPath") long value) { XrActionSpaceCreateInfo.nsubactionPath(address(), value); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link XrActionSpaceCreateInfo#poseInActionSpace} field. */
+ public XrActionSpaceCreateInfo.Buffer poseInActionSpace(XrPosef value) { XrActionSpaceCreateInfo.nposeInActionSpace(address(), value); return this; }
+ /** Passes the {@link XrActionSpaceCreateInfo#poseInActionSpace} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrActionSpaceCreateInfo.Buffer poseInActionSpace(java.util.function.Consumer consumer) { consumer.accept(poseInActionSpace()); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateBoolean.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateBoolean.java
index 0110325e05..e7163a4612 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateBoolean.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateBoolean.java
@@ -4,29 +4,29 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Boolean action state.
*
* Description
*
- * When multiple input sources are bound to this action, the {@code currentState} follows the previously defined rule to resolve ambiguity.
+ * When multiple input sources are bound to this action, the {@code currentState} follows the previously defined rule to resolve ambiguity.
*
* Valid Usage (Implicit)
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_STATE_BOOLEAN TYPE_ACTION_STATE_BOOLEAN}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -44,8 +44,8 @@
* XrTime {@link #lastChangeTime};
* XrBool32 {@link #isActive};
* }
- */
-public class XrActionStateBoolean extends Struct implements NativeResource {
+ */
+public class XrActionStateBoolean extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -55,33 +55,33 @@ public class XrActionStateBoolean extends Struct implement
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- CURRENTSTATE,
- CHANGEDSINCELASTSYNC,
- LASTCHANGETIME,
- ISACTIVE;
+ TYPE,
+ NEXT,
+ CURRENTSTATE,
+ CHANGEDSINCELASTSYNC,
+ LASTCHANGETIME,
+ ISACTIVE;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
- __member(4),
- __member(8),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
+ __member(4),
+ __member(8),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- CURRENTSTATE = layout.offsetof(2);
- CHANGEDSINCELASTSYNC = layout.offsetof(3);
- LASTCHANGETIME = layout.offsetof(4);
- ISACTIVE = layout.offsetof(5);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ CURRENTSTATE = layout.offsetof(2);
+ CHANGEDSINCELASTSYNC = layout.offsetof(3);
+ LASTCHANGETIME = layout.offsetof(4);
+ ISACTIVE = layout.offsetof(5);
+ }
protected XrActionStateBoolean(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -104,56 +104,56 @@ public XrActionStateBoolean(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** the current state of the action. */
- @NativeType("XrBool32")
- public boolean currentState() { return ncurrentState(address()) != 0; }
- /** {@link XR10#XR_TRUE TRUE} if the value of {@code currentState} is different than it was before the most recent call to {@link XR10#xrSyncActions SyncActions}. This parameter can be combined with {@code currentState} to detect rising and falling edges since the previous call to {@link XR10#xrSyncActions SyncActions}. E.g. if both {@code changedSinceLastSync} and {@code currentState} are {@link XR10#XR_TRUE TRUE} then a rising edge ({@link XR10#XR_FALSE FALSE} to {@link XR10#XR_TRUE TRUE}) has taken place. */
- @NativeType("XrBool32")
- public boolean changedSinceLastSync() { return nchangedSinceLastSync(address()) != 0; }
- /** the {@code XrTime} when this action’s value last changed. */
- @NativeType("XrTime")
- public long lastChangeTime() { return nlastChangeTime(address()); }
- /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is contributing to the current state of this action. */
- @NativeType("XrBool32")
- public boolean isActive() { return nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionStateBoolean type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_BOOLEAN TYPE_ACTION_STATE_BOOLEAN} value to the {@link #type} field. */
- public XrActionStateBoolean type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_BOOLEAN); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionStateBoolean next(@NativeType("void *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #currentState} field. */
- public XrActionStateBoolean currentState(@NativeType("XrBool32") boolean value) { ncurrentState(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link #changedSinceLastSync} field. */
- public XrActionStateBoolean changedSinceLastSync(@NativeType("XrBool32") boolean value) { nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link #lastChangeTime} field. */
- public XrActionStateBoolean lastChangeTime(@NativeType("XrTime") long value) { nlastChangeTime(address(), value); return this; }
- /** Sets the specified value to the {@link #isActive} field. */
- public XrActionStateBoolean isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** the current state of the action. */
+ @NativeType("XrBool32")
+ public boolean currentState() { return ncurrentState(address()) != 0; }
+ /** {@link XR10#XR_TRUE TRUE} if the value of {@code currentState} is different than it was before the most recent call to {@link XR10#xrSyncActions SyncActions}. This parameter can be combined with {@code currentState} to detect rising and falling edges since the previous call to {@link XR10#xrSyncActions SyncActions}. E.g. if both {@code changedSinceLastSync} and {@code currentState} are {@link XR10#XR_TRUE TRUE} then a rising edge ({@link XR10#XR_FALSE FALSE} to {@link XR10#XR_TRUE TRUE}) has taken place. */
+ @NativeType("XrBool32")
+ public boolean changedSinceLastSync() { return nchangedSinceLastSync(address()) != 0; }
+ /** the {@code XrTime} when this action’s value last changed. */
+ @NativeType("XrTime")
+ public long lastChangeTime() { return nlastChangeTime(address()); }
+ /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is contributing to the current state of this action. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionStateBoolean type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_BOOLEAN TYPE_ACTION_STATE_BOOLEAN} value to the {@link #type} field. */
+ public XrActionStateBoolean type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_BOOLEAN); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionStateBoolean next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #currentState} field. */
+ public XrActionStateBoolean currentState(@NativeType("XrBool32") boolean value) { ncurrentState(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link #changedSinceLastSync} field. */
+ public XrActionStateBoolean changedSinceLastSync(@NativeType("XrBool32") boolean value) { nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link #lastChangeTime} field. */
+ public XrActionStateBoolean lastChangeTime(@NativeType("XrTime") long value) { nlastChangeTime(address(), value); return this; }
+ /** Sets the specified value to the {@link #isActive} field. */
+ public XrActionStateBoolean isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
/** Initializes this struct with the specified values. */
public XrActionStateBoolean set(
- int type,
- long next,
- boolean currentState,
- boolean changedSinceLastSync,
- long lastChangeTime,
+ int type,
+ long next,
+ boolean currentState,
+ boolean changedSinceLastSync,
+ long lastChangeTime,
boolean isActive
- ) {
- type(type);
- next(next);
- currentState(currentState);
- changedSinceLastSync(changedSinceLastSync);
- lastChangeTime(lastChangeTime);
- isActive(isActive);
+ ) {
+ type(type);
+ next(next);
+ currentState(currentState);
+ changedSinceLastSync(changedSinceLastSync);
+ lastChangeTime(lastChangeTime);
+ isActive(isActive);
return this;
}
@@ -282,34 +282,34 @@ public static XrActionStateBoolean.Buffer calloc(int capacity, MemoryStack stack
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionStateBoolean.NEXT); }
- /** Unsafe version of {@link #currentState}. */
- public static int ncurrentState(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.CURRENTSTATE); }
- /** Unsafe version of {@link #changedSinceLastSync}. */
- public static int nchangedSinceLastSync(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.CHANGEDSINCELASTSYNC); }
- /** Unsafe version of {@link #lastChangeTime}. */
- public static long nlastChangeTime(long struct) { return UNSAFE.getLong(null, struct + XrActionStateBoolean.LASTCHANGETIME); }
- /** Unsafe version of {@link #isActive}. */
- public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.ISACTIVE); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateBoolean.NEXT, value); }
- /** Unsafe version of {@link #currentState(boolean) currentState}. */
- public static void ncurrentState(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.CURRENTSTATE, value); }
- /** Unsafe version of {@link #changedSinceLastSync(boolean) changedSinceLastSync}. */
- public static void nchangedSinceLastSync(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.CHANGEDSINCELASTSYNC, value); }
- /** Unsafe version of {@link #lastChangeTime(long) lastChangeTime}. */
- public static void nlastChangeTime(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateBoolean.LASTCHANGETIME, value); }
- /** Unsafe version of {@link #isActive(boolean) isActive}. */
- public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.ISACTIVE, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionStateBoolean.NEXT); }
+ /** Unsafe version of {@link #currentState}. */
+ public static int ncurrentState(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.CURRENTSTATE); }
+ /** Unsafe version of {@link #changedSinceLastSync}. */
+ public static int nchangedSinceLastSync(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.CHANGEDSINCELASTSYNC); }
+ /** Unsafe version of {@link #lastChangeTime}. */
+ public static long nlastChangeTime(long struct) { return UNSAFE.getLong(null, struct + XrActionStateBoolean.LASTCHANGETIME); }
+ /** Unsafe version of {@link #isActive}. */
+ public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStateBoolean.ISACTIVE); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateBoolean.NEXT, value); }
+ /** Unsafe version of {@link #currentState(boolean) currentState}. */
+ public static void ncurrentState(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.CURRENTSTATE, value); }
+ /** Unsafe version of {@link #changedSinceLastSync(boolean) changedSinceLastSync}. */
+ public static void nchangedSinceLastSync(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.CHANGEDSINCELASTSYNC, value); }
+ /** Unsafe version of {@link #lastChangeTime(long) lastChangeTime}. */
+ public static void nlastChangeTime(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateBoolean.LASTCHANGETIME, value); }
+ /** Unsafe version of {@link #isActive(boolean) isActive}. */
+ public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateBoolean.ISACTIVE, value); }
+
+ // -----------------------------------
/** An array of {@link XrActionStateBoolean} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -346,40 +346,40 @@ protected Buffer self() {
protected XrActionStateBoolean getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionStateBoolean#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionStateBoolean.ntype(address()); }
- /** @return the value of the {@link XrActionStateBoolean#next} field. */
- @NativeType("void *")
- public long next() { return XrActionStateBoolean.nnext(address()); }
- /** @return the value of the {@link XrActionStateBoolean#currentState} field. */
- @NativeType("XrBool32")
- public boolean currentState() { return XrActionStateBoolean.ncurrentState(address()) != 0; }
- /** @return the value of the {@link XrActionStateBoolean#changedSinceLastSync} field. */
- @NativeType("XrBool32")
- public boolean changedSinceLastSync() { return XrActionStateBoolean.nchangedSinceLastSync(address()) != 0; }
- /** @return the value of the {@link XrActionStateBoolean#lastChangeTime} field. */
- @NativeType("XrTime")
- public long lastChangeTime() { return XrActionStateBoolean.nlastChangeTime(address()); }
- /** @return the value of the {@link XrActionStateBoolean#isActive} field. */
- @NativeType("XrBool32")
- public boolean isActive() { return XrActionStateBoolean.nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link XrActionStateBoolean#type} field. */
- public XrActionStateBoolean.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateBoolean.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_BOOLEAN TYPE_ACTION_STATE_BOOLEAN} value to the {@link XrActionStateBoolean#type} field. */
- public XrActionStateBoolean.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_BOOLEAN); }
- /** Sets the specified value to the {@link XrActionStateBoolean#next} field. */
- public XrActionStateBoolean.Buffer next(@NativeType("void *") long value) { XrActionStateBoolean.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateBoolean#currentState} field. */
- public XrActionStateBoolean.Buffer currentState(@NativeType("XrBool32") boolean value) { XrActionStateBoolean.ncurrentState(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link XrActionStateBoolean#changedSinceLastSync} field. */
- public XrActionStateBoolean.Buffer changedSinceLastSync(@NativeType("XrBool32") boolean value) { XrActionStateBoolean.nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link XrActionStateBoolean#lastChangeTime} field. */
- public XrActionStateBoolean.Buffer lastChangeTime(@NativeType("XrTime") long value) { XrActionStateBoolean.nlastChangeTime(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateBoolean#isActive} field. */
- public XrActionStateBoolean.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStateBoolean.nisActive(address(), value ? 1 : 0); return this; }
+
+ /** @return the value of the {@link XrActionStateBoolean#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionStateBoolean.ntype(address()); }
+ /** @return the value of the {@link XrActionStateBoolean#next} field. */
+ @NativeType("void *")
+ public long next() { return XrActionStateBoolean.nnext(address()); }
+ /** @return the value of the {@link XrActionStateBoolean#currentState} field. */
+ @NativeType("XrBool32")
+ public boolean currentState() { return XrActionStateBoolean.ncurrentState(address()) != 0; }
+ /** @return the value of the {@link XrActionStateBoolean#changedSinceLastSync} field. */
+ @NativeType("XrBool32")
+ public boolean changedSinceLastSync() { return XrActionStateBoolean.nchangedSinceLastSync(address()) != 0; }
+ /** @return the value of the {@link XrActionStateBoolean#lastChangeTime} field. */
+ @NativeType("XrTime")
+ public long lastChangeTime() { return XrActionStateBoolean.nlastChangeTime(address()); }
+ /** @return the value of the {@link XrActionStateBoolean#isActive} field. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return XrActionStateBoolean.nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link XrActionStateBoolean#type} field. */
+ public XrActionStateBoolean.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateBoolean.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_BOOLEAN TYPE_ACTION_STATE_BOOLEAN} value to the {@link XrActionStateBoolean#type} field. */
+ public XrActionStateBoolean.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_BOOLEAN); }
+ /** Sets the specified value to the {@link XrActionStateBoolean#next} field. */
+ public XrActionStateBoolean.Buffer next(@NativeType("void *") long value) { XrActionStateBoolean.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateBoolean#currentState} field. */
+ public XrActionStateBoolean.Buffer currentState(@NativeType("XrBool32") boolean value) { XrActionStateBoolean.ncurrentState(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link XrActionStateBoolean#changedSinceLastSync} field. */
+ public XrActionStateBoolean.Buffer changedSinceLastSync(@NativeType("XrBool32") boolean value) { XrActionStateBoolean.nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link XrActionStateBoolean#lastChangeTime} field. */
+ public XrActionStateBoolean.Buffer lastChangeTime(@NativeType("XrTime") long value) { XrActionStateBoolean.nlastChangeTime(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateBoolean#isActive} field. */
+ public XrActionStateBoolean.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStateBoolean.nisActive(address(), value ? 1 : 0); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateFloat.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateFloat.java
index 5f98ab519c..6394a33fa1 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateFloat.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateFloat.java
@@ -4,29 +4,29 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Floating point action state.
*
* Description
*
- * When multiple input sources are bound to this action, the {@code currentState} follows the previously defined rule to resolve ambiguity.
+ * When multiple input sources are bound to this action, the {@code currentState} follows the previously defined rule to resolve ambiguity.
*
* Valid Usage (Implicit)
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_STATE_FLOAT TYPE_ACTION_STATE_FLOAT}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -44,8 +44,8 @@
* XrTime {@link #lastChangeTime};
* XrBool32 {@link #isActive};
* }
- */
-public class XrActionStateFloat extends Struct implements NativeResource {
+ */
+public class XrActionStateFloat extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -55,33 +55,33 @@ public class XrActionStateFloat extends Struct implements Na
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- CURRENTSTATE,
- CHANGEDSINCELASTSYNC,
- LASTCHANGETIME,
- ISACTIVE;
+ TYPE,
+ NEXT,
+ CURRENTSTATE,
+ CHANGEDSINCELASTSYNC,
+ LASTCHANGETIME,
+ ISACTIVE;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
- __member(4),
- __member(8),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
+ __member(4),
+ __member(8),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- CURRENTSTATE = layout.offsetof(2);
- CHANGEDSINCELASTSYNC = layout.offsetof(3);
- LASTCHANGETIME = layout.offsetof(4);
- ISACTIVE = layout.offsetof(5);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ CURRENTSTATE = layout.offsetof(2);
+ CHANGEDSINCELASTSYNC = layout.offsetof(3);
+ LASTCHANGETIME = layout.offsetof(4);
+ ISACTIVE = layout.offsetof(5);
+ }
protected XrActionStateFloat(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -104,55 +104,55 @@ public XrActionStateFloat(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** the current state of the Action. */
- public float currentState() { return ncurrentState(address()); }
- /** {@link XR10#XR_TRUE TRUE} if the value of {@code currentState} is different than it was before the most recent call to {@link XR10#xrSyncActions SyncActions}. */
- @NativeType("XrBool32")
- public boolean changedSinceLastSync() { return nchangedSinceLastSync(address()) != 0; }
- /** the {@code XrTime} in nanoseconds since this action’s value last changed. */
- @NativeType("XrTime")
- public long lastChangeTime() { return nlastChangeTime(address()); }
- /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is contributing to the current state of this action. */
- @NativeType("XrBool32")
- public boolean isActive() { return nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionStateFloat type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_FLOAT TYPE_ACTION_STATE_FLOAT} value to the {@link #type} field. */
- public XrActionStateFloat type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_FLOAT); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionStateFloat next(@NativeType("void *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #currentState} field. */
- public XrActionStateFloat currentState(float value) { ncurrentState(address(), value); return this; }
- /** Sets the specified value to the {@link #changedSinceLastSync} field. */
- public XrActionStateFloat changedSinceLastSync(@NativeType("XrBool32") boolean value) { nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link #lastChangeTime} field. */
- public XrActionStateFloat lastChangeTime(@NativeType("XrTime") long value) { nlastChangeTime(address(), value); return this; }
- /** Sets the specified value to the {@link #isActive} field. */
- public XrActionStateFloat isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** the current state of the Action. */
+ public float currentState() { return ncurrentState(address()); }
+ /** {@link XR10#XR_TRUE TRUE} if the value of {@code currentState} is different than it was before the most recent call to {@link XR10#xrSyncActions SyncActions}. */
+ @NativeType("XrBool32")
+ public boolean changedSinceLastSync() { return nchangedSinceLastSync(address()) != 0; }
+ /** the {@code XrTime} in nanoseconds since this action’s value last changed. */
+ @NativeType("XrTime")
+ public long lastChangeTime() { return nlastChangeTime(address()); }
+ /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is contributing to the current state of this action. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionStateFloat type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_FLOAT TYPE_ACTION_STATE_FLOAT} value to the {@link #type} field. */
+ public XrActionStateFloat type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_FLOAT); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionStateFloat next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #currentState} field. */
+ public XrActionStateFloat currentState(float value) { ncurrentState(address(), value); return this; }
+ /** Sets the specified value to the {@link #changedSinceLastSync} field. */
+ public XrActionStateFloat changedSinceLastSync(@NativeType("XrBool32") boolean value) { nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link #lastChangeTime} field. */
+ public XrActionStateFloat lastChangeTime(@NativeType("XrTime") long value) { nlastChangeTime(address(), value); return this; }
+ /** Sets the specified value to the {@link #isActive} field. */
+ public XrActionStateFloat isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
/** Initializes this struct with the specified values. */
public XrActionStateFloat set(
- int type,
- long next,
- float currentState,
- boolean changedSinceLastSync,
- long lastChangeTime,
+ int type,
+ long next,
+ float currentState,
+ boolean changedSinceLastSync,
+ long lastChangeTime,
boolean isActive
- ) {
- type(type);
- next(next);
- currentState(currentState);
- changedSinceLastSync(changedSinceLastSync);
- lastChangeTime(lastChangeTime);
- isActive(isActive);
+ ) {
+ type(type);
+ next(next);
+ currentState(currentState);
+ changedSinceLastSync(changedSinceLastSync);
+ lastChangeTime(lastChangeTime);
+ isActive(isActive);
return this;
}
@@ -281,34 +281,34 @@ public static XrActionStateFloat.Buffer calloc(int capacity, MemoryStack stack)
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateFloat.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionStateFloat.NEXT); }
- /** Unsafe version of {@link #currentState}. */
- public static float ncurrentState(long struct) { return UNSAFE.getFloat(null, struct + XrActionStateFloat.CURRENTSTATE); }
- /** Unsafe version of {@link #changedSinceLastSync}. */
- public static int nchangedSinceLastSync(long struct) { return UNSAFE.getInt(null, struct + XrActionStateFloat.CHANGEDSINCELASTSYNC); }
- /** Unsafe version of {@link #lastChangeTime}. */
- public static long nlastChangeTime(long struct) { return UNSAFE.getLong(null, struct + XrActionStateFloat.LASTCHANGETIME); }
- /** Unsafe version of {@link #isActive}. */
- public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStateFloat.ISACTIVE); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateFloat.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateFloat.NEXT, value); }
- /** Unsafe version of {@link #currentState(float) currentState}. */
- public static void ncurrentState(long struct, float value) { UNSAFE.putFloat(null, struct + XrActionStateFloat.CURRENTSTATE, value); }
- /** Unsafe version of {@link #changedSinceLastSync(boolean) changedSinceLastSync}. */
- public static void nchangedSinceLastSync(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateFloat.CHANGEDSINCELASTSYNC, value); }
- /** Unsafe version of {@link #lastChangeTime(long) lastChangeTime}. */
- public static void nlastChangeTime(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateFloat.LASTCHANGETIME, value); }
- /** Unsafe version of {@link #isActive(boolean) isActive}. */
- public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateFloat.ISACTIVE, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateFloat.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionStateFloat.NEXT); }
+ /** Unsafe version of {@link #currentState}. */
+ public static float ncurrentState(long struct) { return UNSAFE.getFloat(null, struct + XrActionStateFloat.CURRENTSTATE); }
+ /** Unsafe version of {@link #changedSinceLastSync}. */
+ public static int nchangedSinceLastSync(long struct) { return UNSAFE.getInt(null, struct + XrActionStateFloat.CHANGEDSINCELASTSYNC); }
+ /** Unsafe version of {@link #lastChangeTime}. */
+ public static long nlastChangeTime(long struct) { return UNSAFE.getLong(null, struct + XrActionStateFloat.LASTCHANGETIME); }
+ /** Unsafe version of {@link #isActive}. */
+ public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStateFloat.ISACTIVE); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateFloat.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateFloat.NEXT, value); }
+ /** Unsafe version of {@link #currentState(float) currentState}. */
+ public static void ncurrentState(long struct, float value) { UNSAFE.putFloat(null, struct + XrActionStateFloat.CURRENTSTATE, value); }
+ /** Unsafe version of {@link #changedSinceLastSync(boolean) changedSinceLastSync}. */
+ public static void nchangedSinceLastSync(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateFloat.CHANGEDSINCELASTSYNC, value); }
+ /** Unsafe version of {@link #lastChangeTime(long) lastChangeTime}. */
+ public static void nlastChangeTime(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateFloat.LASTCHANGETIME, value); }
+ /** Unsafe version of {@link #isActive(boolean) isActive}. */
+ public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateFloat.ISACTIVE, value); }
+
+ // -----------------------------------
/** An array of {@link XrActionStateFloat} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -345,39 +345,39 @@ protected Buffer self() {
protected XrActionStateFloat getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionStateFloat#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionStateFloat.ntype(address()); }
- /** @return the value of the {@link XrActionStateFloat#next} field. */
- @NativeType("void *")
- public long next() { return XrActionStateFloat.nnext(address()); }
- /** @return the value of the {@link XrActionStateFloat#currentState} field. */
- public float currentState() { return XrActionStateFloat.ncurrentState(address()); }
- /** @return the value of the {@link XrActionStateFloat#changedSinceLastSync} field. */
- @NativeType("XrBool32")
- public boolean changedSinceLastSync() { return XrActionStateFloat.nchangedSinceLastSync(address()) != 0; }
- /** @return the value of the {@link XrActionStateFloat#lastChangeTime} field. */
- @NativeType("XrTime")
- public long lastChangeTime() { return XrActionStateFloat.nlastChangeTime(address()); }
- /** @return the value of the {@link XrActionStateFloat#isActive} field. */
- @NativeType("XrBool32")
- public boolean isActive() { return XrActionStateFloat.nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link XrActionStateFloat#type} field. */
- public XrActionStateFloat.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateFloat.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_FLOAT TYPE_ACTION_STATE_FLOAT} value to the {@link XrActionStateFloat#type} field. */
- public XrActionStateFloat.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_FLOAT); }
- /** Sets the specified value to the {@link XrActionStateFloat#next} field. */
- public XrActionStateFloat.Buffer next(@NativeType("void *") long value) { XrActionStateFloat.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateFloat#currentState} field. */
- public XrActionStateFloat.Buffer currentState(float value) { XrActionStateFloat.ncurrentState(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateFloat#changedSinceLastSync} field. */
- public XrActionStateFloat.Buffer changedSinceLastSync(@NativeType("XrBool32") boolean value) { XrActionStateFloat.nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link XrActionStateFloat#lastChangeTime} field. */
- public XrActionStateFloat.Buffer lastChangeTime(@NativeType("XrTime") long value) { XrActionStateFloat.nlastChangeTime(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateFloat#isActive} field. */
- public XrActionStateFloat.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStateFloat.nisActive(address(), value ? 1 : 0); return this; }
+
+ /** @return the value of the {@link XrActionStateFloat#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionStateFloat.ntype(address()); }
+ /** @return the value of the {@link XrActionStateFloat#next} field. */
+ @NativeType("void *")
+ public long next() { return XrActionStateFloat.nnext(address()); }
+ /** @return the value of the {@link XrActionStateFloat#currentState} field. */
+ public float currentState() { return XrActionStateFloat.ncurrentState(address()); }
+ /** @return the value of the {@link XrActionStateFloat#changedSinceLastSync} field. */
+ @NativeType("XrBool32")
+ public boolean changedSinceLastSync() { return XrActionStateFloat.nchangedSinceLastSync(address()) != 0; }
+ /** @return the value of the {@link XrActionStateFloat#lastChangeTime} field. */
+ @NativeType("XrTime")
+ public long lastChangeTime() { return XrActionStateFloat.nlastChangeTime(address()); }
+ /** @return the value of the {@link XrActionStateFloat#isActive} field. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return XrActionStateFloat.nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link XrActionStateFloat#type} field. */
+ public XrActionStateFloat.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateFloat.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_FLOAT TYPE_ACTION_STATE_FLOAT} value to the {@link XrActionStateFloat#type} field. */
+ public XrActionStateFloat.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_FLOAT); }
+ /** Sets the specified value to the {@link XrActionStateFloat#next} field. */
+ public XrActionStateFloat.Buffer next(@NativeType("void *") long value) { XrActionStateFloat.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateFloat#currentState} field. */
+ public XrActionStateFloat.Buffer currentState(float value) { XrActionStateFloat.ncurrentState(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateFloat#changedSinceLastSync} field. */
+ public XrActionStateFloat.Buffer changedSinceLastSync(@NativeType("XrBool32") boolean value) { XrActionStateFloat.nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link XrActionStateFloat#lastChangeTime} field. */
+ public XrActionStateFloat.Buffer lastChangeTime(@NativeType("XrTime") long value) { XrActionStateFloat.nlastChangeTime(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateFloat#isActive} field. */
+ public XrActionStateFloat.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStateFloat.nisActive(address(), value ? 1 : 0); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateGetInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateGetInfo.java
index 4011e5dc17..f2428d36e7 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateGetInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateGetInfo.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Information to get action state.
*
@@ -27,7 +27,7 @@
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_STATE_GET_INFO TYPE_ACTION_STATE_GET_INFO}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code action} must be a valid {@code XrAction} handle
*
*
@@ -44,8 +44,8 @@
* XrAction {@link #action};
* XrPath {@link #subactionPath};
* }
- */
-public class XrActionStateGetInfo extends Struct implements NativeResource {
+ */
+public class XrActionStateGetInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -55,27 +55,27 @@ public class XrActionStateGetInfo extends Struct implement
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- ACTION,
- SUBACTIONPATH;
+ TYPE,
+ NEXT,
+ ACTION,
+ SUBACTIONPATH;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(POINTER_SIZE),
__member(8)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- ACTION = layout.offsetof(2);
- SUBACTIONPATH = layout.offsetof(3);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ ACTION = layout.offsetof(2);
+ SUBACTIONPATH = layout.offsetof(3);
+ }
protected XrActionStateGetInfo(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -98,42 +98,42 @@ public XrActionStateGetInfo(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** the {@code XrAction} being queried. */
- @NativeType("XrAction")
- public long action() { return naction(address()); }
- /** the subaction path {@code XrPath} to query data from, or {@link XR10#XR_NULL_PATH NULL_PATH} to specify all subaction paths. If the subaction path is specified, it is one of the subaction paths that were specified when the action was created. If the subaction path was not specified when the action was created, the runtime must return {@link XR10#XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. If this parameter is specified, the runtime must return data that originates only from the subaction paths specified. */
- @NativeType("XrPath")
- public long subactionPath() { return nsubactionPath(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionStateGetInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_GET_INFO TYPE_ACTION_STATE_GET_INFO} value to the {@link #type} field. */
- public XrActionStateGetInfo type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_GET_INFO); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionStateGetInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #action} field. */
- public XrActionStateGetInfo action(XrAction value) { naction(address(), value); return this; }
- /** Sets the specified value to the {@link #subactionPath} field. */
- public XrActionStateGetInfo subactionPath(@NativeType("XrPath") long value) { nsubactionPath(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** the {@code XrAction} being queried. */
+ @NativeType("XrAction")
+ public long action() { return naction(address()); }
+ /** the subaction path {@code XrPath} to query data from, or {@link XR10#XR_NULL_PATH NULL_PATH} to specify all subaction paths. If the subaction path is specified, it is one of the subaction paths that were specified when the action was created. If the subaction path was not specified when the action was created, the runtime must return {@link XR10#XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. If this parameter is specified, the runtime must return data that originates only from the subaction paths specified. */
+ @NativeType("XrPath")
+ public long subactionPath() { return nsubactionPath(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionStateGetInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_GET_INFO TYPE_ACTION_STATE_GET_INFO} value to the {@link #type} field. */
+ public XrActionStateGetInfo type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_GET_INFO); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionStateGetInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #action} field. */
+ public XrActionStateGetInfo action(XrAction value) { naction(address(), value); return this; }
+ /** Sets the specified value to the {@link #subactionPath} field. */
+ public XrActionStateGetInfo subactionPath(@NativeType("XrPath") long value) { nsubactionPath(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActionStateGetInfo set(
- int type,
- long next,
- XrAction action,
+ int type,
+ long next,
+ XrAction action,
long subactionPath
- ) {
- type(type);
- next(next);
- action(action);
- subactionPath(subactionPath);
+ ) {
+ type(type);
+ next(next);
+ action(action);
+ subactionPath(subactionPath);
return this;
}
@@ -262,24 +262,24 @@ public static XrActionStateGetInfo.Buffer calloc(int capacity, MemoryStack stack
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateGetInfo.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionStateGetInfo.NEXT); }
- /** Unsafe version of {@link #action}. */
- public static long naction(long struct) { return memGetAddress(struct + XrActionStateGetInfo.ACTION); }
- /** Unsafe version of {@link #subactionPath}. */
- public static long nsubactionPath(long struct) { return UNSAFE.getLong(null, struct + XrActionStateGetInfo.SUBACTIONPATH); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateGetInfo.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateGetInfo.NEXT, value); }
- /** Unsafe version of {@link #action(XrAction) action}. */
- public static void naction(long struct, XrAction value) { memPutAddress(struct + XrActionStateGetInfo.ACTION, value.address()); }
- /** Unsafe version of {@link #subactionPath(long) subactionPath}. */
- public static void nsubactionPath(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateGetInfo.SUBACTIONPATH, value); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateGetInfo.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionStateGetInfo.NEXT); }
+ /** Unsafe version of {@link #action}. */
+ public static long naction(long struct) { return memGetAddress(struct + XrActionStateGetInfo.ACTION); }
+ /** Unsafe version of {@link #subactionPath}. */
+ public static long nsubactionPath(long struct) { return UNSAFE.getLong(null, struct + XrActionStateGetInfo.SUBACTIONPATH); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateGetInfo.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateGetInfo.NEXT, value); }
+ /** Unsafe version of {@link #action(XrAction) action}. */
+ public static void naction(long struct, XrAction value) { memPutAddress(struct + XrActionStateGetInfo.ACTION, value.address()); }
+ /** Unsafe version of {@link #subactionPath(long) subactionPath}. */
+ public static void nsubactionPath(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateGetInfo.SUBACTIONPATH, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -288,9 +288,9 @@ public static XrActionStateGetInfo.Buffer calloc(int capacity, MemoryStack stack
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrActionStateGetInfo.ACTION));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrActionStateGetInfo} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -327,30 +327,30 @@ protected Buffer self() {
protected XrActionStateGetInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionStateGetInfo#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionStateGetInfo.ntype(address()); }
- /** @return the value of the {@link XrActionStateGetInfo#next} field. */
- @NativeType("void const *")
- public long next() { return XrActionStateGetInfo.nnext(address()); }
- /** @return the value of the {@link XrActionStateGetInfo#action} field. */
- @NativeType("XrAction")
- public long action() { return XrActionStateGetInfo.naction(address()); }
- /** @return the value of the {@link XrActionStateGetInfo#subactionPath} field. */
- @NativeType("XrPath")
- public long subactionPath() { return XrActionStateGetInfo.nsubactionPath(address()); }
-
- /** Sets the specified value to the {@link XrActionStateGetInfo#type} field. */
- public XrActionStateGetInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateGetInfo.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_GET_INFO TYPE_ACTION_STATE_GET_INFO} value to the {@link XrActionStateGetInfo#type} field. */
- public XrActionStateGetInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_GET_INFO); }
- /** Sets the specified value to the {@link XrActionStateGetInfo#next} field. */
- public XrActionStateGetInfo.Buffer next(@NativeType("void const *") long value) { XrActionStateGetInfo.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateGetInfo#action} field. */
- public XrActionStateGetInfo.Buffer action(XrAction value) { XrActionStateGetInfo.naction(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateGetInfo#subactionPath} field. */
- public XrActionStateGetInfo.Buffer subactionPath(@NativeType("XrPath") long value) { XrActionStateGetInfo.nsubactionPath(address(), value); return this; }
+
+ /** @return the value of the {@link XrActionStateGetInfo#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionStateGetInfo.ntype(address()); }
+ /** @return the value of the {@link XrActionStateGetInfo#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrActionStateGetInfo.nnext(address()); }
+ /** @return the value of the {@link XrActionStateGetInfo#action} field. */
+ @NativeType("XrAction")
+ public long action() { return XrActionStateGetInfo.naction(address()); }
+ /** @return the value of the {@link XrActionStateGetInfo#subactionPath} field. */
+ @NativeType("XrPath")
+ public long subactionPath() { return XrActionStateGetInfo.nsubactionPath(address()); }
+
+ /** Sets the specified value to the {@link XrActionStateGetInfo#type} field. */
+ public XrActionStateGetInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateGetInfo.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_GET_INFO TYPE_ACTION_STATE_GET_INFO} value to the {@link XrActionStateGetInfo#type} field. */
+ public XrActionStateGetInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_GET_INFO); }
+ /** Sets the specified value to the {@link XrActionStateGetInfo#next} field. */
+ public XrActionStateGetInfo.Buffer next(@NativeType("void const *") long value) { XrActionStateGetInfo.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateGetInfo#action} field. */
+ public XrActionStateGetInfo.Buffer action(XrAction value) { XrActionStateGetInfo.naction(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateGetInfo#subactionPath} field. */
+ public XrActionStateGetInfo.Buffer subactionPath(@NativeType("XrPath") long value) { XrActionStateGetInfo.nsubactionPath(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStatePose.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStatePose.java
index aaca1d9706..f0403aa67c 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStatePose.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStatePose.java
@@ -4,29 +4,29 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Pose action metadata.
*
* Description
*
- * A pose action must not be bound to multiple input sources, according to the previously defined rule.
+ * A pose action must not be bound to multiple input sources, according to the previously defined rule.
*
* Valid Usage (Implicit)
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_STATE_POSE TYPE_ACTION_STATE_POSE}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -41,8 +41,8 @@
* void * {@link #next};
* XrBool32 {@link #isActive};
* }
- */
-public class XrActionStatePose extends Struct implements NativeResource {
+ */
+public class XrActionStatePose extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -52,24 +52,24 @@ public class XrActionStatePose extends Struct implements Nati
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- ISACTIVE;
+ TYPE,
+ NEXT,
+ ISACTIVE;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- ISACTIVE = layout.offsetof(2);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ ISACTIVE = layout.offsetof(2);
+ }
protected XrActionStatePose(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -92,35 +92,35 @@ public XrActionStatePose(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is being tracked by this pose action. */
- @NativeType("XrBool32")
- public boolean isActive() { return nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionStatePose type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_POSE TYPE_ACTION_STATE_POSE} value to the {@link #type} field. */
- public XrActionStatePose type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_POSE); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionStatePose next(@NativeType("void *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #isActive} field. */
- public XrActionStatePose isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is being tracked by this pose action. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionStatePose type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_POSE TYPE_ACTION_STATE_POSE} value to the {@link #type} field. */
+ public XrActionStatePose type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_POSE); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionStatePose next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #isActive} field. */
+ public XrActionStatePose isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
/** Initializes this struct with the specified values. */
public XrActionStatePose set(
- int type,
- long next,
+ int type,
+ long next,
boolean isActive
- ) {
- type(type);
- next(next);
- isActive(isActive);
+ ) {
+ type(type);
+ next(next);
+ isActive(isActive);
return this;
}
@@ -249,22 +249,22 @@ public static XrActionStatePose.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStatePose.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionStatePose.NEXT); }
- /** Unsafe version of {@link #isActive}. */
- public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStatePose.ISACTIVE); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStatePose.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStatePose.NEXT, value); }
- /** Unsafe version of {@link #isActive(boolean) isActive}. */
- public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStatePose.ISACTIVE, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStatePose.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionStatePose.NEXT); }
+ /** Unsafe version of {@link #isActive}. */
+ public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStatePose.ISACTIVE); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStatePose.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStatePose.NEXT, value); }
+ /** Unsafe version of {@link #isActive(boolean) isActive}. */
+ public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStatePose.ISACTIVE, value); }
+
+ // -----------------------------------
/** An array of {@link XrActionStatePose} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -301,25 +301,25 @@ protected Buffer self() {
protected XrActionStatePose getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionStatePose#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionStatePose.ntype(address()); }
- /** @return the value of the {@link XrActionStatePose#next} field. */
- @NativeType("void *")
- public long next() { return XrActionStatePose.nnext(address()); }
- /** @return the value of the {@link XrActionStatePose#isActive} field. */
- @NativeType("XrBool32")
- public boolean isActive() { return XrActionStatePose.nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link XrActionStatePose#type} field. */
- public XrActionStatePose.Buffer type(@NativeType("XrStructureType") int value) { XrActionStatePose.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_POSE TYPE_ACTION_STATE_POSE} value to the {@link XrActionStatePose#type} field. */
- public XrActionStatePose.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_POSE); }
- /** Sets the specified value to the {@link XrActionStatePose#next} field. */
- public XrActionStatePose.Buffer next(@NativeType("void *") long value) { XrActionStatePose.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStatePose#isActive} field. */
- public XrActionStatePose.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStatePose.nisActive(address(), value ? 1 : 0); return this; }
+
+ /** @return the value of the {@link XrActionStatePose#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionStatePose.ntype(address()); }
+ /** @return the value of the {@link XrActionStatePose#next} field. */
+ @NativeType("void *")
+ public long next() { return XrActionStatePose.nnext(address()); }
+ /** @return the value of the {@link XrActionStatePose#isActive} field. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return XrActionStatePose.nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link XrActionStatePose#type} field. */
+ public XrActionStatePose.Buffer type(@NativeType("XrStructureType") int value) { XrActionStatePose.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_POSE TYPE_ACTION_STATE_POSE} value to the {@link XrActionStatePose#type} field. */
+ public XrActionStatePose.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_POSE); }
+ /** Sets the specified value to the {@link XrActionStatePose#next} field. */
+ public XrActionStatePose.Buffer next(@NativeType("void *") long value) { XrActionStatePose.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStatePose#isActive} field. */
+ public XrActionStatePose.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStatePose.nisActive(address(), value ? 1 : 0); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateVector2f.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateVector2f.java
index a44b68f2dd..33aaac6489 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateVector2f.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionStateVector2f.java
@@ -4,29 +4,29 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* 2D float vector action state.
*
* Description
*
- * When multiple input sources are bound to this action, the {@code currentState} follows the previously defined rule to resolve ambiguity.
+ * When multiple input sources are bound to this action, the {@code currentState} follows the previously defined rule to resolve ambiguity.
*
* Valid Usage (Implicit)
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTION_STATE_VECTOR2F TYPE_ACTION_STATE_VECTOR2F}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -44,8 +44,8 @@
* XrTime {@link #lastChangeTime};
* XrBool32 {@link #isActive};
* }
- */
-public class XrActionStateVector2f extends Struct implements NativeResource {
+ */
+public class XrActionStateVector2f extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -55,33 +55,33 @@ public class XrActionStateVector2f extends Struct impleme
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- CURRENTSTATE,
- CHANGEDSINCELASTSYNC,
- LASTCHANGETIME,
- ISACTIVE;
+ TYPE,
+ NEXT,
+ CURRENTSTATE,
+ CHANGEDSINCELASTSYNC,
+ LASTCHANGETIME,
+ ISACTIVE;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(XrVector2f.SIZEOF, XrVector2f.ALIGNOF),
- __member(4),
- __member(8),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(XrVector2f.SIZEOF, XrVector2f.ALIGNOF),
+ __member(4),
+ __member(8),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- CURRENTSTATE = layout.offsetof(2);
- CHANGEDSINCELASTSYNC = layout.offsetof(3);
- LASTCHANGETIME = layout.offsetof(4);
- ISACTIVE = layout.offsetof(5);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ CURRENTSTATE = layout.offsetof(2);
+ CHANGEDSINCELASTSYNC = layout.offsetof(3);
+ LASTCHANGETIME = layout.offsetof(4);
+ ISACTIVE = layout.offsetof(5);
+ }
protected XrActionStateVector2f(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -104,57 +104,57 @@ public XrActionStateVector2f(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** the current {@link XrVector2f} state of the Action. */
- public XrVector2f currentState() { return ncurrentState(address()); }
- /** {@link XR10#XR_TRUE TRUE} if the value of {@code currentState} is different than it was before the most recent call to {@link XR10#xrSyncActions SyncActions}. */
- @NativeType("XrBool32")
- public boolean changedSinceLastSync() { return nchangedSinceLastSync(address()) != 0; }
- /** the {@code XrTime} in nanoseconds since this action’s value last changed. */
- @NativeType("XrTime")
- public long lastChangeTime() { return nlastChangeTime(address()); }
- /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is contributing to the current state of this action. */
- @NativeType("XrBool32")
- public boolean isActive() { return nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionStateVector2f type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_VECTOR2F TYPE_ACTION_STATE_VECTOR2F} value to the {@link #type} field. */
- public XrActionStateVector2f type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_VECTOR2F); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionStateVector2f next(@NativeType("void *") long value) { nnext(address(), value); return this; }
- /** Copies the specified {@link XrVector2f} to the {@link #currentState} field. */
- public XrActionStateVector2f currentState(XrVector2f value) { ncurrentState(address(), value); return this; }
- /** Passes the {@link #currentState} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrActionStateVector2f currentState(java.util.function.Consumer consumer) { consumer.accept(currentState()); return this; }
- /** Sets the specified value to the {@link #changedSinceLastSync} field. */
- public XrActionStateVector2f changedSinceLastSync(@NativeType("XrBool32") boolean value) { nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link #lastChangeTime} field. */
- public XrActionStateVector2f lastChangeTime(@NativeType("XrTime") long value) { nlastChangeTime(address(), value); return this; }
- /** Sets the specified value to the {@link #isActive} field. */
- public XrActionStateVector2f isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** the current {@link XrVector2f} state of the Action. */
+ public XrVector2f currentState() { return ncurrentState(address()); }
+ /** {@link XR10#XR_TRUE TRUE} if the value of {@code currentState} is different than it was before the most recent call to {@link XR10#xrSyncActions SyncActions}. */
+ @NativeType("XrBool32")
+ public boolean changedSinceLastSync() { return nchangedSinceLastSync(address()) != 0; }
+ /** the {@code XrTime} in nanoseconds since this action’s value last changed. */
+ @NativeType("XrTime")
+ public long lastChangeTime() { return nlastChangeTime(address()); }
+ /** {@link XR10#XR_TRUE TRUE} if and only if there exists an input source that is contributing to the current state of this action. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionStateVector2f type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_VECTOR2F TYPE_ACTION_STATE_VECTOR2F} value to the {@link #type} field. */
+ public XrActionStateVector2f type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_VECTOR2F); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionStateVector2f next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+ /** Copies the specified {@link XrVector2f} to the {@link #currentState} field. */
+ public XrActionStateVector2f currentState(XrVector2f value) { ncurrentState(address(), value); return this; }
+ /** Passes the {@link #currentState} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrActionStateVector2f currentState(java.util.function.Consumer consumer) { consumer.accept(currentState()); return this; }
+ /** Sets the specified value to the {@link #changedSinceLastSync} field. */
+ public XrActionStateVector2f changedSinceLastSync(@NativeType("XrBool32") boolean value) { nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link #lastChangeTime} field. */
+ public XrActionStateVector2f lastChangeTime(@NativeType("XrTime") long value) { nlastChangeTime(address(), value); return this; }
+ /** Sets the specified value to the {@link #isActive} field. */
+ public XrActionStateVector2f isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
/** Initializes this struct with the specified values. */
public XrActionStateVector2f set(
- int type,
- long next,
- XrVector2f currentState,
- boolean changedSinceLastSync,
- long lastChangeTime,
+ int type,
+ long next,
+ XrVector2f currentState,
+ boolean changedSinceLastSync,
+ long lastChangeTime,
boolean isActive
- ) {
- type(type);
- next(next);
- currentState(currentState);
- changedSinceLastSync(changedSinceLastSync);
- lastChangeTime(lastChangeTime);
- isActive(isActive);
+ ) {
+ type(type);
+ next(next);
+ currentState(currentState);
+ changedSinceLastSync(changedSinceLastSync);
+ lastChangeTime(lastChangeTime);
+ isActive(isActive);
return this;
}
@@ -283,34 +283,34 @@ public static XrActionStateVector2f.Buffer calloc(int capacity, MemoryStack stac
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateVector2f.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionStateVector2f.NEXT); }
- /** Unsafe version of {@link #currentState}. */
- public static XrVector2f ncurrentState(long struct) { return XrVector2f.create(struct + XrActionStateVector2f.CURRENTSTATE); }
- /** Unsafe version of {@link #changedSinceLastSync}. */
- public static int nchangedSinceLastSync(long struct) { return UNSAFE.getInt(null, struct + XrActionStateVector2f.CHANGEDSINCELASTSYNC); }
- /** Unsafe version of {@link #lastChangeTime}. */
- public static long nlastChangeTime(long struct) { return UNSAFE.getLong(null, struct + XrActionStateVector2f.LASTCHANGETIME); }
- /** Unsafe version of {@link #isActive}. */
- public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStateVector2f.ISACTIVE); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateVector2f.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateVector2f.NEXT, value); }
- /** Unsafe version of {@link #currentState(XrVector2f) currentState}. */
- public static void ncurrentState(long struct, XrVector2f value) { memCopy(value.address(), struct + XrActionStateVector2f.CURRENTSTATE, XrVector2f.SIZEOF); }
- /** Unsafe version of {@link #changedSinceLastSync(boolean) changedSinceLastSync}. */
- public static void nchangedSinceLastSync(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateVector2f.CHANGEDSINCELASTSYNC, value); }
- /** Unsafe version of {@link #lastChangeTime(long) lastChangeTime}. */
- public static void nlastChangeTime(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateVector2f.LASTCHANGETIME, value); }
- /** Unsafe version of {@link #isActive(boolean) isActive}. */
- public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateVector2f.ISACTIVE, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionStateVector2f.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionStateVector2f.NEXT); }
+ /** Unsafe version of {@link #currentState}. */
+ public static XrVector2f ncurrentState(long struct) { return XrVector2f.create(struct + XrActionStateVector2f.CURRENTSTATE); }
+ /** Unsafe version of {@link #changedSinceLastSync}. */
+ public static int nchangedSinceLastSync(long struct) { return UNSAFE.getInt(null, struct + XrActionStateVector2f.CHANGEDSINCELASTSYNC); }
+ /** Unsafe version of {@link #lastChangeTime}. */
+ public static long nlastChangeTime(long struct) { return UNSAFE.getLong(null, struct + XrActionStateVector2f.LASTCHANGETIME); }
+ /** Unsafe version of {@link #isActive}. */
+ public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrActionStateVector2f.ISACTIVE); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateVector2f.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionStateVector2f.NEXT, value); }
+ /** Unsafe version of {@link #currentState(XrVector2f) currentState}. */
+ public static void ncurrentState(long struct, XrVector2f value) { memCopy(value.address(), struct + XrActionStateVector2f.CURRENTSTATE, XrVector2f.SIZEOF); }
+ /** Unsafe version of {@link #changedSinceLastSync(boolean) changedSinceLastSync}. */
+ public static void nchangedSinceLastSync(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateVector2f.CHANGEDSINCELASTSYNC, value); }
+ /** Unsafe version of {@link #lastChangeTime(long) lastChangeTime}. */
+ public static void nlastChangeTime(long struct, long value) { UNSAFE.putLong(null, struct + XrActionStateVector2f.LASTCHANGETIME, value); }
+ /** Unsafe version of {@link #isActive(boolean) isActive}. */
+ public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrActionStateVector2f.ISACTIVE, value); }
+
+ // -----------------------------------
/** An array of {@link XrActionStateVector2f} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -347,41 +347,41 @@ protected Buffer self() {
protected XrActionStateVector2f getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionStateVector2f#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionStateVector2f.ntype(address()); }
- /** @return the value of the {@link XrActionStateVector2f#next} field. */
- @NativeType("void *")
- public long next() { return XrActionStateVector2f.nnext(address()); }
- /** @return a {@link XrVector2f} view of the {@link XrActionStateVector2f#currentState} field. */
- public XrVector2f currentState() { return XrActionStateVector2f.ncurrentState(address()); }
- /** @return the value of the {@link XrActionStateVector2f#changedSinceLastSync} field. */
- @NativeType("XrBool32")
- public boolean changedSinceLastSync() { return XrActionStateVector2f.nchangedSinceLastSync(address()) != 0; }
- /** @return the value of the {@link XrActionStateVector2f#lastChangeTime} field. */
- @NativeType("XrTime")
- public long lastChangeTime() { return XrActionStateVector2f.nlastChangeTime(address()); }
- /** @return the value of the {@link XrActionStateVector2f#isActive} field. */
- @NativeType("XrBool32")
- public boolean isActive() { return XrActionStateVector2f.nisActive(address()) != 0; }
-
- /** Sets the specified value to the {@link XrActionStateVector2f#type} field. */
- public XrActionStateVector2f.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateVector2f.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_VECTOR2F TYPE_ACTION_STATE_VECTOR2F} value to the {@link XrActionStateVector2f#type} field. */
- public XrActionStateVector2f.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_VECTOR2F); }
- /** Sets the specified value to the {@link XrActionStateVector2f#next} field. */
- public XrActionStateVector2f.Buffer next(@NativeType("void *") long value) { XrActionStateVector2f.nnext(address(), value); return this; }
- /** Copies the specified {@link XrVector2f} to the {@link XrActionStateVector2f#currentState} field. */
- public XrActionStateVector2f.Buffer currentState(XrVector2f value) { XrActionStateVector2f.ncurrentState(address(), value); return this; }
- /** Passes the {@link XrActionStateVector2f#currentState} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrActionStateVector2f.Buffer currentState(java.util.function.Consumer consumer) { consumer.accept(currentState()); return this; }
- /** Sets the specified value to the {@link XrActionStateVector2f#changedSinceLastSync} field. */
- public XrActionStateVector2f.Buffer changedSinceLastSync(@NativeType("XrBool32") boolean value) { XrActionStateVector2f.nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link XrActionStateVector2f#lastChangeTime} field. */
- public XrActionStateVector2f.Buffer lastChangeTime(@NativeType("XrTime") long value) { XrActionStateVector2f.nlastChangeTime(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionStateVector2f#isActive} field. */
- public XrActionStateVector2f.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStateVector2f.nisActive(address(), value ? 1 : 0); return this; }
+
+ /** @return the value of the {@link XrActionStateVector2f#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionStateVector2f.ntype(address()); }
+ /** @return the value of the {@link XrActionStateVector2f#next} field. */
+ @NativeType("void *")
+ public long next() { return XrActionStateVector2f.nnext(address()); }
+ /** @return a {@link XrVector2f} view of the {@link XrActionStateVector2f#currentState} field. */
+ public XrVector2f currentState() { return XrActionStateVector2f.ncurrentState(address()); }
+ /** @return the value of the {@link XrActionStateVector2f#changedSinceLastSync} field. */
+ @NativeType("XrBool32")
+ public boolean changedSinceLastSync() { return XrActionStateVector2f.nchangedSinceLastSync(address()) != 0; }
+ /** @return the value of the {@link XrActionStateVector2f#lastChangeTime} field. */
+ @NativeType("XrTime")
+ public long lastChangeTime() { return XrActionStateVector2f.nlastChangeTime(address()); }
+ /** @return the value of the {@link XrActionStateVector2f#isActive} field. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return XrActionStateVector2f.nisActive(address()) != 0; }
+
+ /** Sets the specified value to the {@link XrActionStateVector2f#type} field. */
+ public XrActionStateVector2f.Buffer type(@NativeType("XrStructureType") int value) { XrActionStateVector2f.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTION_STATE_VECTOR2F TYPE_ACTION_STATE_VECTOR2F} value to the {@link XrActionStateVector2f#type} field. */
+ public XrActionStateVector2f.Buffer type$Default() { return type(XR10.XR_TYPE_ACTION_STATE_VECTOR2F); }
+ /** Sets the specified value to the {@link XrActionStateVector2f#next} field. */
+ public XrActionStateVector2f.Buffer next(@NativeType("void *") long value) { XrActionStateVector2f.nnext(address(), value); return this; }
+ /** Copies the specified {@link XrVector2f} to the {@link XrActionStateVector2f#currentState} field. */
+ public XrActionStateVector2f.Buffer currentState(XrVector2f value) { XrActionStateVector2f.ncurrentState(address(), value); return this; }
+ /** Passes the {@link XrActionStateVector2f#currentState} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrActionStateVector2f.Buffer currentState(java.util.function.Consumer consumer) { consumer.accept(currentState()); return this; }
+ /** Sets the specified value to the {@link XrActionStateVector2f#changedSinceLastSync} field. */
+ public XrActionStateVector2f.Buffer changedSinceLastSync(@NativeType("XrBool32") boolean value) { XrActionStateVector2f.nchangedSinceLastSync(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link XrActionStateVector2f#lastChangeTime} field. */
+ public XrActionStateVector2f.Buffer lastChangeTime(@NativeType("XrTime") long value) { XrActionStateVector2f.nlastChangeTime(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionStateVector2f#isActive} field. */
+ public XrActionStateVector2f.Buffer isActive(@NativeType("XrBool32") boolean value) { XrActionStateVector2f.nisActive(address(), value ? 1 : 0); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSuggestedBinding.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSuggestedBinding.java
index 5c7ce18fa1..72dbbc85cf 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSuggestedBinding.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionSuggestedBinding.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Suggested binding for a single action.
*
@@ -36,8 +36,8 @@
* XrAction {@link #action};
* XrPath {@link #binding};
* }
- */
-public class XrActionSuggestedBinding extends Struct implements NativeResource {
+ */
+public class XrActionSuggestedBinding extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -47,21 +47,21 @@ public class XrActionSuggestedBinding extends Struct i
/** The struct member offsets. */
public static final int
- ACTION,
- BINDING;
+ ACTION,
+ BINDING;
static {
- Layout layout = __struct(
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(POINTER_SIZE),
__member(8)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- ACTION = layout.offsetof(0);
- BINDING = layout.offsetof(1);
- }
+ ACTION = layout.offsetof(0);
+ BINDING = layout.offsetof(1);
+ }
protected XrActionSuggestedBinding(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -84,26 +84,26 @@ public XrActionSuggestedBinding(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrAction} handle for an action */
- @NativeType("XrAction")
- public long action() { return naction(address()); }
- /** the {@code XrPath} of a binding for the action specified in {@code action}. This path is any top level user path plus input source path, for example pathname:/user/hand/right/input/trigger/click. See suggested bindings for more details. */
- @NativeType("XrPath")
- public long binding() { return nbinding(address()); }
-
- /** Sets the specified value to the {@link #action} field. */
- public XrActionSuggestedBinding action(XrAction value) { naction(address(), value); return this; }
- /** Sets the specified value to the {@link #binding} field. */
- public XrActionSuggestedBinding binding(@NativeType("XrPath") long value) { nbinding(address(), value); return this; }
+
+ /** the {@code XrAction} handle for an action */
+ @NativeType("XrAction")
+ public long action() { return naction(address()); }
+ /** the {@code XrPath} of a binding for the action specified in {@code action}. This path is any top level user path plus input source path, for example pathname:/user/hand/right/input/trigger/click. See suggested bindings for more details. */
+ @NativeType("XrPath")
+ public long binding() { return nbinding(address()); }
+
+ /** Sets the specified value to the {@link #action} field. */
+ public XrActionSuggestedBinding action(XrAction value) { naction(address(), value); return this; }
+ /** Sets the specified value to the {@link #binding} field. */
+ public XrActionSuggestedBinding binding(@NativeType("XrPath") long value) { nbinding(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActionSuggestedBinding set(
- XrAction action,
+ XrAction action,
long binding
- ) {
- action(action);
- binding(binding);
+ ) {
+ action(action);
+ binding(binding);
return this;
}
@@ -232,16 +232,16 @@ public static XrActionSuggestedBinding.Buffer calloc(int capacity, MemoryStack s
}
// -----------------------------------
-
- /** Unsafe version of {@link #action}. */
- public static long naction(long struct) { return memGetAddress(struct + XrActionSuggestedBinding.ACTION); }
- /** Unsafe version of {@link #binding}. */
- public static long nbinding(long struct) { return UNSAFE.getLong(null, struct + XrActionSuggestedBinding.BINDING); }
-
- /** Unsafe version of {@link #action(XrAction) action}. */
- public static void naction(long struct, XrAction value) { memPutAddress(struct + XrActionSuggestedBinding.ACTION, value.address()); }
- /** Unsafe version of {@link #binding(long) binding}. */
- public static void nbinding(long struct, long value) { UNSAFE.putLong(null, struct + XrActionSuggestedBinding.BINDING, value); }
+
+ /** Unsafe version of {@link #action}. */
+ public static long naction(long struct) { return memGetAddress(struct + XrActionSuggestedBinding.ACTION); }
+ /** Unsafe version of {@link #binding}. */
+ public static long nbinding(long struct) { return UNSAFE.getLong(null, struct + XrActionSuggestedBinding.BINDING); }
+
+ /** Unsafe version of {@link #action(XrAction) action}. */
+ public static void naction(long struct, XrAction value) { memPutAddress(struct + XrActionSuggestedBinding.ACTION, value.address()); }
+ /** Unsafe version of {@link #binding(long) binding}. */
+ public static void nbinding(long struct, long value) { UNSAFE.putLong(null, struct + XrActionSuggestedBinding.BINDING, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -250,9 +250,9 @@ public static XrActionSuggestedBinding.Buffer calloc(int capacity, MemoryStack s
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrActionSuggestedBinding.ACTION));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrActionSuggestedBinding} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -289,18 +289,18 @@ protected Buffer self() {
protected XrActionSuggestedBinding getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionSuggestedBinding#action} field. */
- @NativeType("XrAction")
- public long action() { return XrActionSuggestedBinding.naction(address()); }
- /** @return the value of the {@link XrActionSuggestedBinding#binding} field. */
- @NativeType("XrPath")
- public long binding() { return XrActionSuggestedBinding.nbinding(address()); }
-
- /** Sets the specified value to the {@link XrActionSuggestedBinding#action} field. */
- public XrActionSuggestedBinding.Buffer action(XrAction value) { XrActionSuggestedBinding.naction(address(), value); return this; }
- /** Sets the specified value to the {@link XrActionSuggestedBinding#binding} field. */
- public XrActionSuggestedBinding.Buffer binding(@NativeType("XrPath") long value) { XrActionSuggestedBinding.nbinding(address(), value); return this; }
+
+ /** @return the value of the {@link XrActionSuggestedBinding#action} field. */
+ @NativeType("XrAction")
+ public long action() { return XrActionSuggestedBinding.naction(address()); }
+ /** @return the value of the {@link XrActionSuggestedBinding#binding} field. */
+ @NativeType("XrPath")
+ public long binding() { return XrActionSuggestedBinding.nbinding(address()); }
+
+ /** Sets the specified value to the {@link XrActionSuggestedBinding#action} field. */
+ public XrActionSuggestedBinding.Buffer action(XrAction value) { XrActionSuggestedBinding.naction(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActionSuggestedBinding#binding} field. */
+ public XrActionSuggestedBinding.Buffer binding(@NativeType("XrPath") long value) { XrActionSuggestedBinding.nbinding(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionsSyncInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionsSyncInfo.java
index c45480d9de..dcfde4c982 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionsSyncInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActionsSyncInfo.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Information to sync actions.
*
@@ -22,7 +22,7 @@
*
*
* - {@code type} must be {@link XR10#XR_TYPE_ACTIONS_SYNC_INFO TYPE_ACTIONS_SYNC_INFO}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain. See also: {@link XrActiveActionSetPrioritiesEXT}
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain. See also: {@link XrActiveActionSetPrioritiesEXT}
* - If {@code countActiveActionSets} is not 0, {@code activeActionSets} must be a pointer to an array of {@code countActiveActionSets} valid {@link XrActiveActionSet} structures
*
*
@@ -39,8 +39,8 @@
* uint32_t {@link #countActiveActionSets};
* {@link XrActiveActionSet XrActiveActionSet} const * {@link #activeActionSets};
* }
- */
-public class XrActionsSyncInfo extends Struct implements NativeResource {
+ */
+public class XrActionsSyncInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -50,27 +50,27 @@ public class XrActionsSyncInfo extends Struct implements Nati
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- COUNTACTIVEACTIONSETS,
- ACTIVEACTIONSETS;
+ TYPE,
+ NEXT,
+ COUNTACTIVEACTIONSETS,
+ ACTIVEACTIONSETS;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- COUNTACTIVEACTIONSETS = layout.offsetof(2);
- ACTIVEACTIONSETS = layout.offsetof(3);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ COUNTACTIVEACTIONSETS = layout.offsetof(2);
+ ACTIVEACTIONSETS = layout.offsetof(3);
+ }
protected XrActionsSyncInfo(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -93,45 +93,45 @@ public XrActionsSyncInfo(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** an integer specifying the number of valid elements in the {@code activeActionSets} array. */
- @NativeType("uint32_t")
- public int countActiveActionSets() { return ncountActiveActionSets(address()); }
- /** {@code NULL} or a pointer to an array of one or more {@link XrActiveActionSet} structures that should be synchronized. */
- @Nullable
- @NativeType("XrActiveActionSet const *")
- public XrActiveActionSet.Buffer activeActionSets() { return nactiveActionSets(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActionsSyncInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTIONS_SYNC_INFO TYPE_ACTIONS_SYNC_INFO} value to the {@link #type} field. */
- public XrActionsSyncInfo type$Default() { return type(XR10.XR_TYPE_ACTIONS_SYNC_INFO); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActionsSyncInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Prepends the specified {@link XrActiveActionSetPrioritiesEXT} value to the {@code next} chain. */
- public XrActionsSyncInfo next(XrActiveActionSetPrioritiesEXT value) { return this.next(value.next(this.next()).address()); }
- /** Sets the specified value to the {@link #countActiveActionSets} field. */
- public XrActionsSyncInfo countActiveActionSets(@NativeType("uint32_t") int value) { ncountActiveActionSets(address(), value); return this; }
- /** Sets the address of the specified {@link XrActiveActionSet.Buffer} to the {@link #activeActionSets} field. */
- public XrActionsSyncInfo activeActionSets(@Nullable @NativeType("XrActiveActionSet const *") XrActiveActionSet.Buffer value) { nactiveActionSets(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** an integer specifying the number of valid elements in the {@code activeActionSets} array. */
+ @NativeType("uint32_t")
+ public int countActiveActionSets() { return ncountActiveActionSets(address()); }
+ /** {@code NULL} or a pointer to an array of one or more {@link XrActiveActionSet} structures that should be synchronized. */
+ @Nullable
+ @NativeType("XrActiveActionSet const *")
+ public XrActiveActionSet.Buffer activeActionSets() { return nactiveActionSets(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActionsSyncInfo type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTIONS_SYNC_INFO TYPE_ACTIONS_SYNC_INFO} value to the {@link #type} field. */
+ public XrActionsSyncInfo type$Default() { return type(XR10.XR_TYPE_ACTIONS_SYNC_INFO); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActionsSyncInfo next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Prepends the specified {@link XrActiveActionSetPrioritiesEXT} value to the {@code next} chain. */
+ public XrActionsSyncInfo next(XrActiveActionSetPrioritiesEXT value) { return this.next(value.next(this.next()).address()); }
+ /** Sets the specified value to the {@link #countActiveActionSets} field. */
+ public XrActionsSyncInfo countActiveActionSets(@NativeType("uint32_t") int value) { ncountActiveActionSets(address(), value); return this; }
+ /** Sets the address of the specified {@link XrActiveActionSet.Buffer} to the {@link #activeActionSets} field. */
+ public XrActionsSyncInfo activeActionSets(@Nullable @NativeType("XrActiveActionSet const *") XrActiveActionSet.Buffer value) { nactiveActionSets(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActionsSyncInfo set(
- int type,
- long next,
- int countActiveActionSets,
+ int type,
+ long next,
+ int countActiveActionSets,
@Nullable XrActiveActionSet.Buffer activeActionSets
- ) {
- type(type);
- next(next);
- countActiveActionSets(countActiveActionSets);
- activeActionSets(activeActionSets);
+ ) {
+ type(type);
+ next(next);
+ countActiveActionSets(countActiveActionSets);
+ activeActionSets(activeActionSets);
return this;
}
@@ -260,26 +260,26 @@ public static XrActionsSyncInfo.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionsSyncInfo.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActionsSyncInfo.NEXT); }
- /** Unsafe version of {@link #countActiveActionSets}. */
- public static int ncountActiveActionSets(long struct) { return UNSAFE.getInt(null, struct + XrActionsSyncInfo.COUNTACTIVEACTIONSETS); }
- /** Unsafe version of {@link #activeActionSets}. */
- @Nullable public static XrActiveActionSet.Buffer nactiveActionSets(long struct) { return XrActiveActionSet.createSafe(memGetAddress(struct + XrActionsSyncInfo.ACTIVEACTIONSETS), ncountActiveActionSets(struct)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionsSyncInfo.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActionsSyncInfo.NEXT, value); }
- /** Sets the specified value to the {@code countActiveActionSets} field of the specified {@code struct}. */
- public static void ncountActiveActionSets(long struct, int value) { UNSAFE.putInt(null, struct + XrActionsSyncInfo.COUNTACTIVEACTIONSETS, value); }
- /** Unsafe version of {@link #activeActionSets(XrActiveActionSet.Buffer) activeActionSets}. */
- public static void nactiveActionSets(long struct, @Nullable XrActiveActionSet.Buffer value) { memPutAddress(struct + XrActionsSyncInfo.ACTIVEACTIONSETS, memAddressSafe(value)); if (value != null) { ncountActiveActionSets(struct, value.remaining()); } }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActionsSyncInfo.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActionsSyncInfo.NEXT); }
+ /** Unsafe version of {@link #countActiveActionSets}. */
+ public static int ncountActiveActionSets(long struct) { return UNSAFE.getInt(null, struct + XrActionsSyncInfo.COUNTACTIVEACTIONSETS); }
+ /** Unsafe version of {@link #activeActionSets}. */
+ @Nullable public static XrActiveActionSet.Buffer nactiveActionSets(long struct) { return XrActiveActionSet.createSafe(memGetAddress(struct + XrActionsSyncInfo.ACTIVEACTIONSETS), ncountActiveActionSets(struct)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActionsSyncInfo.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActionsSyncInfo.NEXT, value); }
+ /** Sets the specified value to the {@code countActiveActionSets} field of the specified {@code struct}. */
+ public static void ncountActiveActionSets(long struct, int value) { UNSAFE.putInt(null, struct + XrActionsSyncInfo.COUNTACTIVEACTIONSETS, value); }
+ /** Unsafe version of {@link #activeActionSets(XrActiveActionSet.Buffer) activeActionSets}. */
+ public static void nactiveActionSets(long struct, @Nullable XrActiveActionSet.Buffer value) { memPutAddress(struct + XrActionsSyncInfo.ACTIVEACTIONSETS, memAddressSafe(value)); if (value != null) { ncountActiveActionSets(struct, value.remaining()); } }
+
+ // -----------------------------------
/** An array of {@link XrActionsSyncInfo} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -316,33 +316,33 @@ protected Buffer self() {
protected XrActionsSyncInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActionsSyncInfo#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActionsSyncInfo.ntype(address()); }
- /** @return the value of the {@link XrActionsSyncInfo#next} field. */
- @NativeType("void const *")
- public long next() { return XrActionsSyncInfo.nnext(address()); }
- /** @return the value of the {@link XrActionsSyncInfo#countActiveActionSets} field. */
- @NativeType("uint32_t")
- public int countActiveActionSets() { return XrActionsSyncInfo.ncountActiveActionSets(address()); }
- /** @return a {@link XrActiveActionSet.Buffer} view of the struct array pointed to by the {@link XrActionsSyncInfo#activeActionSets} field. */
- @Nullable
- @NativeType("XrActiveActionSet const *")
- public XrActiveActionSet.Buffer activeActionSets() { return XrActionsSyncInfo.nactiveActionSets(address()); }
-
- /** Sets the specified value to the {@link XrActionsSyncInfo#type} field. */
- public XrActionsSyncInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionsSyncInfo.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_ACTIONS_SYNC_INFO TYPE_ACTIONS_SYNC_INFO} value to the {@link XrActionsSyncInfo#type} field. */
- public XrActionsSyncInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTIONS_SYNC_INFO); }
- /** Sets the specified value to the {@link XrActionsSyncInfo#next} field. */
- public XrActionsSyncInfo.Buffer next(@NativeType("void const *") long value) { XrActionsSyncInfo.nnext(address(), value); return this; }
- /** Prepends the specified {@link XrActiveActionSetPrioritiesEXT} value to the {@code next} chain. */
- public XrActionsSyncInfo.Buffer next(XrActiveActionSetPrioritiesEXT value) { return this.next(value.next(this.next()).address()); }
- /** Sets the specified value to the {@link XrActionsSyncInfo#countActiveActionSets} field. */
- public XrActionsSyncInfo.Buffer countActiveActionSets(@NativeType("uint32_t") int value) { XrActionsSyncInfo.ncountActiveActionSets(address(), value); return this; }
- /** Sets the address of the specified {@link XrActiveActionSet.Buffer} to the {@link XrActionsSyncInfo#activeActionSets} field. */
- public XrActionsSyncInfo.Buffer activeActionSets(@Nullable @NativeType("XrActiveActionSet const *") XrActiveActionSet.Buffer value) { XrActionsSyncInfo.nactiveActionSets(address(), value); return this; }
+
+ /** @return the value of the {@link XrActionsSyncInfo#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActionsSyncInfo.ntype(address()); }
+ /** @return the value of the {@link XrActionsSyncInfo#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrActionsSyncInfo.nnext(address()); }
+ /** @return the value of the {@link XrActionsSyncInfo#countActiveActionSets} field. */
+ @NativeType("uint32_t")
+ public int countActiveActionSets() { return XrActionsSyncInfo.ncountActiveActionSets(address()); }
+ /** @return a {@link XrActiveActionSet.Buffer} view of the struct array pointed to by the {@link XrActionsSyncInfo#activeActionSets} field. */
+ @Nullable
+ @NativeType("XrActiveActionSet const *")
+ public XrActiveActionSet.Buffer activeActionSets() { return XrActionsSyncInfo.nactiveActionSets(address()); }
+
+ /** Sets the specified value to the {@link XrActionsSyncInfo#type} field. */
+ public XrActionsSyncInfo.Buffer type(@NativeType("XrStructureType") int value) { XrActionsSyncInfo.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_ACTIONS_SYNC_INFO TYPE_ACTIONS_SYNC_INFO} value to the {@link XrActionsSyncInfo#type} field. */
+ public XrActionsSyncInfo.Buffer type$Default() { return type(XR10.XR_TYPE_ACTIONS_SYNC_INFO); }
+ /** Sets the specified value to the {@link XrActionsSyncInfo#next} field. */
+ public XrActionsSyncInfo.Buffer next(@NativeType("void const *") long value) { XrActionsSyncInfo.nnext(address(), value); return this; }
+ /** Prepends the specified {@link XrActiveActionSetPrioritiesEXT} value to the {@code next} chain. */
+ public XrActionsSyncInfo.Buffer next(XrActiveActionSetPrioritiesEXT value) { return this.next(value.next(this.next()).address()); }
+ /** Sets the specified value to the {@link XrActionsSyncInfo#countActiveActionSets} field. */
+ public XrActionsSyncInfo.Buffer countActiveActionSets(@NativeType("uint32_t") int value) { XrActionsSyncInfo.ncountActiveActionSets(address(), value); return this; }
+ /** Sets the address of the specified {@link XrActiveActionSet.Buffer} to the {@link XrActionsSyncInfo#activeActionSets} field. */
+ public XrActionsSyncInfo.Buffer activeActionSets(@Nullable @NativeType("XrActiveActionSet const *") XrActiveActionSet.Buffer value) { XrActionsSyncInfo.nactiveActionSets(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSet.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSet.java
index 9579cdcced..351fba29d1 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSet.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSet.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Describes an active action set.
*
@@ -40,8 +40,8 @@
* XrActionSet {@link #actionSet};
* XrPath {@link #subactionPath};
* }
- */
-public class XrActiveActionSet extends Struct implements NativeResource {
+ */
+public class XrActiveActionSet extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -51,21 +51,21 @@ public class XrActiveActionSet extends Struct implements Nati
/** The struct member offsets. */
public static final int
- ACTIONSET,
- SUBACTIONPATH;
+ ACTIONSET,
+ SUBACTIONPATH;
static {
- Layout layout = __struct(
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(POINTER_SIZE),
__member(8)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- ACTIONSET = layout.offsetof(0);
- SUBACTIONPATH = layout.offsetof(1);
- }
+ ACTIONSET = layout.offsetof(0);
+ SUBACTIONPATH = layout.offsetof(1);
+ }
protected XrActiveActionSet(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -88,26 +88,26 @@ public XrActiveActionSet(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the handle of the action set to activate. */
- @NativeType("XrActionSet")
- public long actionSet() { return nactionSet(address()); }
- /** a subaction path that was declared when one or more actions in the action set was created or {@link XR10#XR_NULL_PATH NULL_PATH}. If the application wants to activate the action set on more than one subaction path, it can include additional {@link XrActiveActionSet} structs with the other {@code subactionPath} values. Using {@link XR10#XR_NULL_PATH NULL_PATH} as the value for {@code subactionPath}, acts as a wildcard for all subaction paths on the actions in the action set. If the subaction path was not specified on any of the actions in the actionSet when that action was created, the runtime must return {@link XR10#XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. */
- @NativeType("XrPath")
- public long subactionPath() { return nsubactionPath(address()); }
-
- /** Sets the specified value to the {@link #actionSet} field. */
- public XrActiveActionSet actionSet(XrActionSet value) { nactionSet(address(), value); return this; }
- /** Sets the specified value to the {@link #subactionPath} field. */
- public XrActiveActionSet subactionPath(@NativeType("XrPath") long value) { nsubactionPath(address(), value); return this; }
+
+ /** the handle of the action set to activate. */
+ @NativeType("XrActionSet")
+ public long actionSet() { return nactionSet(address()); }
+ /** a subaction path that was declared when one or more actions in the action set was created or {@link XR10#XR_NULL_PATH NULL_PATH}. If the application wants to activate the action set on more than one subaction path, it can include additional {@link XrActiveActionSet} structs with the other {@code subactionPath} values. Using {@link XR10#XR_NULL_PATH NULL_PATH} as the value for {@code subactionPath}, acts as a wildcard for all subaction paths on the actions in the action set. If the subaction path was not specified on any of the actions in the actionSet when that action was created, the runtime must return {@link XR10#XR_ERROR_PATH_UNSUPPORTED ERROR_PATH_UNSUPPORTED}. */
+ @NativeType("XrPath")
+ public long subactionPath() { return nsubactionPath(address()); }
+
+ /** Sets the specified value to the {@link #actionSet} field. */
+ public XrActiveActionSet actionSet(XrActionSet value) { nactionSet(address(), value); return this; }
+ /** Sets the specified value to the {@link #subactionPath} field. */
+ public XrActiveActionSet subactionPath(@NativeType("XrPath") long value) { nsubactionPath(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActiveActionSet set(
- XrActionSet actionSet,
+ XrActionSet actionSet,
long subactionPath
- ) {
- actionSet(actionSet);
- subactionPath(subactionPath);
+ ) {
+ actionSet(actionSet);
+ subactionPath(subactionPath);
return this;
}
@@ -236,16 +236,16 @@ public static XrActiveActionSet.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #actionSet}. */
- public static long nactionSet(long struct) { return memGetAddress(struct + XrActiveActionSet.ACTIONSET); }
- /** Unsafe version of {@link #subactionPath}. */
- public static long nsubactionPath(long struct) { return UNSAFE.getLong(null, struct + XrActiveActionSet.SUBACTIONPATH); }
-
- /** Unsafe version of {@link #actionSet(XrActionSet) actionSet}. */
- public static void nactionSet(long struct, XrActionSet value) { memPutAddress(struct + XrActiveActionSet.ACTIONSET, value.address()); }
- /** Unsafe version of {@link #subactionPath(long) subactionPath}. */
- public static void nsubactionPath(long struct, long value) { UNSAFE.putLong(null, struct + XrActiveActionSet.SUBACTIONPATH, value); }
+
+ /** Unsafe version of {@link #actionSet}. */
+ public static long nactionSet(long struct) { return memGetAddress(struct + XrActiveActionSet.ACTIONSET); }
+ /** Unsafe version of {@link #subactionPath}. */
+ public static long nsubactionPath(long struct) { return UNSAFE.getLong(null, struct + XrActiveActionSet.SUBACTIONPATH); }
+
+ /** Unsafe version of {@link #actionSet(XrActionSet) actionSet}. */
+ public static void nactionSet(long struct, XrActionSet value) { memPutAddress(struct + XrActiveActionSet.ACTIONSET, value.address()); }
+ /** Unsafe version of {@link #subactionPath(long) subactionPath}. */
+ public static void nsubactionPath(long struct, long value) { UNSAFE.putLong(null, struct + XrActiveActionSet.SUBACTIONPATH, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -254,9 +254,9 @@ public static XrActiveActionSet.Buffer calloc(int capacity, MemoryStack stack) {
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrActiveActionSet.ACTIONSET));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrActiveActionSet} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -293,18 +293,18 @@ protected Buffer self() {
protected XrActiveActionSet getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActiveActionSet#actionSet} field. */
- @NativeType("XrActionSet")
- public long actionSet() { return XrActiveActionSet.nactionSet(address()); }
- /** @return the value of the {@link XrActiveActionSet#subactionPath} field. */
- @NativeType("XrPath")
- public long subactionPath() { return XrActiveActionSet.nsubactionPath(address()); }
-
- /** Sets the specified value to the {@link XrActiveActionSet#actionSet} field. */
- public XrActiveActionSet.Buffer actionSet(XrActionSet value) { XrActiveActionSet.nactionSet(address(), value); return this; }
- /** Sets the specified value to the {@link XrActiveActionSet#subactionPath} field. */
- public XrActiveActionSet.Buffer subactionPath(@NativeType("XrPath") long value) { XrActiveActionSet.nsubactionPath(address(), value); return this; }
+
+ /** @return the value of the {@link XrActiveActionSet#actionSet} field. */
+ @NativeType("XrActionSet")
+ public long actionSet() { return XrActiveActionSet.nactionSet(address()); }
+ /** @return the value of the {@link XrActiveActionSet#subactionPath} field. */
+ @NativeType("XrPath")
+ public long subactionPath() { return XrActiveActionSet.nsubactionPath(address()); }
+
+ /** Sets the specified value to the {@link XrActiveActionSet#actionSet} field. */
+ public XrActiveActionSet.Buffer actionSet(XrActionSet value) { XrActiveActionSet.nactionSet(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActiveActionSet#subactionPath} field. */
+ public XrActiveActionSet.Buffer subactionPath(@NativeType("XrPath") long value) { XrActiveActionSet.nsubactionPath(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPrioritiesEXT.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPrioritiesEXT.java
index cad6e64731..9631ad253e 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPrioritiesEXT.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPrioritiesEXT.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Active action set priority numbers.
*
@@ -24,7 +24,7 @@
*
* - The {@link EXTActiveActionSetPriority XR_EXT_active_action_set_priority} extension must be enabled prior to using {@link XrActiveActionSetPrioritiesEXT}
* - {@code type} must be {@link EXTActiveActionSetPriority#XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code actionSetPriorities} must be a pointer to an array of {@code actionSetPriorityCount} valid {@link XrActiveActionSetPriorityEXT} structures
* - The {@code actionSetPriorityCount} parameter must be greater than 0
*
@@ -48,8 +48,8 @@
* uint32_t actionSetPriorityCount;
* {@link XrActiveActionSetPriorityEXT XrActiveActionSetPriorityEXT} const * {@link #actionSetPriorities};
* }
- */
-public class XrActiveActionSetPrioritiesEXT extends Struct implements NativeResource {
+ */
+public class XrActiveActionSetPrioritiesEXT extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -59,27 +59,27 @@ public class XrActiveActionSetPrioritiesEXT extends Structmay return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} from {@link XR10#xrSyncActions SyncActions}. */
- @NativeType("XrActiveActionSetPriorityEXT const *")
- public XrActiveActionSetPriorityEXT.Buffer actionSetPriorities() { return nactionSetPriorities(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrActiveActionSetPrioritiesEXT type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link EXTActiveActionSetPriority#XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT} value to the {@link #type} field. */
- public XrActiveActionSetPrioritiesEXT type$Default() { return type(EXTActiveActionSetPriority.XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT); }
- /** Sets the specified value to the {@link #next} field. */
- public XrActiveActionSetPrioritiesEXT next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the address of the specified {@link XrActiveActionSetPriorityEXT.Buffer} to the {@link #actionSetPriorities} field. */
- public XrActiveActionSetPrioritiesEXT actionSetPriorities(@NativeType("XrActiveActionSetPriorityEXT const *") XrActiveActionSetPriorityEXT.Buffer value) { nactionSetPriorities(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** @return the value of the {@code actionSetPriorityCount} field. */
+ @NativeType("uint32_t")
+ public int actionSetPriorityCount() { return nactionSetPriorityCount(address()); }
+ /** a pointer to an array that maps action sets to their active priority numbers. If an action set is specified multiple times, the runtime may return {@link XR10#XR_ERROR_VALIDATION_FAILURE ERROR_VALIDATION_FAILURE} from {@link XR10#xrSyncActions SyncActions}. */
+ @NativeType("XrActiveActionSetPriorityEXT const *")
+ public XrActiveActionSetPriorityEXT.Buffer actionSetPriorities() { return nactionSetPriorities(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrActiveActionSetPrioritiesEXT type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link EXTActiveActionSetPriority#XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT} value to the {@link #type} field. */
+ public XrActiveActionSetPrioritiesEXT type$Default() { return type(EXTActiveActionSetPriority.XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrActiveActionSetPrioritiesEXT next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the address of the specified {@link XrActiveActionSetPriorityEXT.Buffer} to the {@link #actionSetPriorities} field. */
+ public XrActiveActionSetPrioritiesEXT actionSetPriorities(@NativeType("XrActiveActionSetPriorityEXT const *") XrActiveActionSetPriorityEXT.Buffer value) { nactionSetPriorities(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrActiveActionSetPrioritiesEXT set(
- int type,
- long next,
+ int type,
+ long next,
XrActiveActionSetPriorityEXT.Buffer actionSetPriorities
- ) {
- type(type);
- next(next);
- actionSetPriorities(actionSetPriorities);
+ ) {
+ type(type);
+ next(next);
+ actionSetPriorities(actionSetPriorities);
return this;
}
@@ -262,24 +262,24 @@ public static XrActiveActionSetPrioritiesEXT.Buffer calloc(int capacity, MemoryS
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActiveActionSetPrioritiesEXT.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrActiveActionSetPrioritiesEXT.NEXT); }
- /** Unsafe version of {@link #actionSetPriorityCount}. */
- public static int nactionSetPriorityCount(long struct) { return UNSAFE.getInt(null, struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITYCOUNT); }
- /** Unsafe version of {@link #actionSetPriorities}. */
- public static XrActiveActionSetPriorityEXT.Buffer nactionSetPriorities(long struct) { return XrActiveActionSetPriorityEXT.create(memGetAddress(struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITIES), nactionSetPriorityCount(struct)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActiveActionSetPrioritiesEXT.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrActiveActionSetPrioritiesEXT.NEXT, value); }
- /** Sets the specified value to the {@code actionSetPriorityCount} field of the specified {@code struct}. */
- public static void nactionSetPriorityCount(long struct, int value) { UNSAFE.putInt(null, struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITYCOUNT, value); }
- /** Unsafe version of {@link #actionSetPriorities(XrActiveActionSetPriorityEXT.Buffer) actionSetPriorities}. */
- public static void nactionSetPriorities(long struct, XrActiveActionSetPriorityEXT.Buffer value) { memPutAddress(struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITIES, value.address()); nactionSetPriorityCount(struct, value.remaining()); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrActiveActionSetPrioritiesEXT.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrActiveActionSetPrioritiesEXT.NEXT); }
+ /** Unsafe version of {@link #actionSetPriorityCount}. */
+ public static int nactionSetPriorityCount(long struct) { return UNSAFE.getInt(null, struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITYCOUNT); }
+ /** Unsafe version of {@link #actionSetPriorities}. */
+ public static XrActiveActionSetPriorityEXT.Buffer nactionSetPriorities(long struct) { return XrActiveActionSetPriorityEXT.create(memGetAddress(struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITIES), nactionSetPriorityCount(struct)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrActiveActionSetPrioritiesEXT.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrActiveActionSetPrioritiesEXT.NEXT, value); }
+ /** Sets the specified value to the {@code actionSetPriorityCount} field of the specified {@code struct}. */
+ public static void nactionSetPriorityCount(long struct, int value) { UNSAFE.putInt(null, struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITYCOUNT, value); }
+ /** Unsafe version of {@link #actionSetPriorities(XrActiveActionSetPriorityEXT.Buffer) actionSetPriorities}. */
+ public static void nactionSetPriorities(long struct, XrActiveActionSetPriorityEXT.Buffer value) { memPutAddress(struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITIES, value.address()); nactionSetPriorityCount(struct, value.remaining()); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -291,9 +291,9 @@ public static void validate(long struct) {
long actionSetPriorities = memGetAddress(struct + XrActiveActionSetPrioritiesEXT.ACTIONSETPRIORITIES);
check(actionSetPriorities);
validate(actionSetPriorities, actionSetPriorityCount, XrActiveActionSetPriorityEXT.SIZEOF, XrActiveActionSetPriorityEXT::validate);
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrActiveActionSetPrioritiesEXT} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -330,28 +330,28 @@ protected Buffer self() {
protected XrActiveActionSetPrioritiesEXT getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActiveActionSetPrioritiesEXT#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrActiveActionSetPrioritiesEXT.ntype(address()); }
- /** @return the value of the {@link XrActiveActionSetPrioritiesEXT#next} field. */
- @NativeType("void const *")
- public long next() { return XrActiveActionSetPrioritiesEXT.nnext(address()); }
- /** @return the value of the {@code actionSetPriorityCount} field. */
- @NativeType("uint32_t")
- public int actionSetPriorityCount() { return XrActiveActionSetPrioritiesEXT.nactionSetPriorityCount(address()); }
- /** @return a {@link XrActiveActionSetPriorityEXT.Buffer} view of the struct array pointed to by the {@link XrActiveActionSetPrioritiesEXT#actionSetPriorities} field. */
- @NativeType("XrActiveActionSetPriorityEXT const *")
- public XrActiveActionSetPriorityEXT.Buffer actionSetPriorities() { return XrActiveActionSetPrioritiesEXT.nactionSetPriorities(address()); }
-
- /** Sets the specified value to the {@link XrActiveActionSetPrioritiesEXT#type} field. */
- public XrActiveActionSetPrioritiesEXT.Buffer type(@NativeType("XrStructureType") int value) { XrActiveActionSetPrioritiesEXT.ntype(address(), value); return this; }
- /** Sets the {@link EXTActiveActionSetPriority#XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT} value to the {@link XrActiveActionSetPrioritiesEXT#type} field. */
- public XrActiveActionSetPrioritiesEXT.Buffer type$Default() { return type(EXTActiveActionSetPriority.XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT); }
- /** Sets the specified value to the {@link XrActiveActionSetPrioritiesEXT#next} field. */
- public XrActiveActionSetPrioritiesEXT.Buffer next(@NativeType("void const *") long value) { XrActiveActionSetPrioritiesEXT.nnext(address(), value); return this; }
- /** Sets the address of the specified {@link XrActiveActionSetPriorityEXT.Buffer} to the {@link XrActiveActionSetPrioritiesEXT#actionSetPriorities} field. */
- public XrActiveActionSetPrioritiesEXT.Buffer actionSetPriorities(@NativeType("XrActiveActionSetPriorityEXT const *") XrActiveActionSetPriorityEXT.Buffer value) { XrActiveActionSetPrioritiesEXT.nactionSetPriorities(address(), value); return this; }
+
+ /** @return the value of the {@link XrActiveActionSetPrioritiesEXT#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrActiveActionSetPrioritiesEXT.ntype(address()); }
+ /** @return the value of the {@link XrActiveActionSetPrioritiesEXT#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrActiveActionSetPrioritiesEXT.nnext(address()); }
+ /** @return the value of the {@code actionSetPriorityCount} field. */
+ @NativeType("uint32_t")
+ public int actionSetPriorityCount() { return XrActiveActionSetPrioritiesEXT.nactionSetPriorityCount(address()); }
+ /** @return a {@link XrActiveActionSetPriorityEXT.Buffer} view of the struct array pointed to by the {@link XrActiveActionSetPrioritiesEXT#actionSetPriorities} field. */
+ @NativeType("XrActiveActionSetPriorityEXT const *")
+ public XrActiveActionSetPriorityEXT.Buffer actionSetPriorities() { return XrActiveActionSetPrioritiesEXT.nactionSetPriorities(address()); }
+
+ /** Sets the specified value to the {@link XrActiveActionSetPrioritiesEXT#type} field. */
+ public XrActiveActionSetPrioritiesEXT.Buffer type(@NativeType("XrStructureType") int value) { XrActiveActionSetPrioritiesEXT.ntype(address(), value); return this; }
+ /** Sets the {@link EXTActiveActionSetPriority#XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT} value to the {@link XrActiveActionSetPrioritiesEXT#type} field. */
+ public XrActiveActionSetPrioritiesEXT.Buffer type$Default() { return type(EXTActiveActionSetPriority.XR_TYPE_ACTIVE_ACTION_SET_PRIORITIES_EXT); }
+ /** Sets the specified value to the {@link XrActiveActionSetPrioritiesEXT#next} field. */
+ public XrActiveActionSetPrioritiesEXT.Buffer next(@NativeType("void const *") long value) { XrActiveActionSetPrioritiesEXT.nnext(address(), value); return this; }
+ /** Sets the address of the specified {@link XrActiveActionSetPriorityEXT.Buffer} to the {@link XrActiveActionSetPrioritiesEXT#actionSetPriorities} field. */
+ public XrActiveActionSetPrioritiesEXT.Buffer actionSetPriorities(@NativeType("XrActiveActionSetPriorityEXT const *") XrActiveActionSetPriorityEXT.Buffer value) { XrActiveActionSetPrioritiesEXT.nactionSetPriorities(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPriorityEXT.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPriorityEXT.java
index 9bd4d93ec0..4b9cd6046f 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPriorityEXT.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrActiveActionSetPriorityEXT.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Action set priority mapping.
*
@@ -37,8 +37,8 @@
* XrActionSet {@link #actionSet};
* uint32_t {@link #priorityOverride};
* }
- */
-public class XrActiveActionSetPriorityEXT extends Struct implements NativeResource {
+ */
+public class XrActiveActionSetPriorityEXT extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -48,21 +48,21 @@ public class XrActiveActionSetPriorityEXT extends Struct implements NativeResource {
@@ -290,18 +290,18 @@ protected Buffer self() {
protected XrActiveActionSetPriorityEXT getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrActiveActionSetPriorityEXT#actionSet} field. */
- @NativeType("XrActionSet")
- public long actionSet() { return XrActiveActionSetPriorityEXT.nactionSet(address()); }
- /** @return the value of the {@link XrActiveActionSetPriorityEXT#priorityOverride} field. */
- @NativeType("uint32_t")
- public int priorityOverride() { return XrActiveActionSetPriorityEXT.npriorityOverride(address()); }
-
- /** Sets the specified value to the {@link XrActiveActionSetPriorityEXT#actionSet} field. */
- public XrActiveActionSetPriorityEXT.Buffer actionSet(XrActionSet value) { XrActiveActionSetPriorityEXT.nactionSet(address(), value); return this; }
- /** Sets the specified value to the {@link XrActiveActionSetPriorityEXT#priorityOverride} field. */
- public XrActiveActionSetPriorityEXT.Buffer priorityOverride(@NativeType("uint32_t") int value) { XrActiveActionSetPriorityEXT.npriorityOverride(address(), value); return this; }
+
+ /** @return the value of the {@link XrActiveActionSetPriorityEXT#actionSet} field. */
+ @NativeType("XrActionSet")
+ public long actionSet() { return XrActiveActionSetPriorityEXT.nactionSet(address()); }
+ /** @return the value of the {@link XrActiveActionSetPriorityEXT#priorityOverride} field. */
+ @NativeType("uint32_t")
+ public int priorityOverride() { return XrActiveActionSetPriorityEXT.npriorityOverride(address()); }
+
+ /** Sets the specified value to the {@link XrActiveActionSetPriorityEXT#actionSet} field. */
+ public XrActiveActionSetPriorityEXT.Buffer actionSet(XrActionSet value) { XrActiveActionSetPriorityEXT.nactionSet(address(), value); return this; }
+ /** Sets the specified value to the {@link XrActiveActionSetPriorityEXT#priorityOverride} field. */
+ public XrActiveActionSetPriorityEXT.Buffer priorityOverride(@NativeType("uint32_t") int value) { XrActiveActionSetPriorityEXT.npriorityOverride(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApiLayerProperties.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApiLayerProperties.java
index 583b76c077..45090b3b20 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApiLayerProperties.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApiLayerProperties.java
@@ -4,19 +4,19 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
-import static org.lwjgl.openxr.XR10.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
+import static org.lwjgl.openxr.XR10.*;
+
/**
* Structure specifying layer properties.
*
@@ -24,7 +24,7 @@
*
*
* - {@code type} must be {@link XR10#XR_TYPE_API_LAYER_PROPERTIES TYPE_API_LAYER_PROPERTIES}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -42,8 +42,8 @@
* uint32_t {@link #layerVersion};
* char {@link #description}[XR_MAX_API_LAYER_DESCRIPTION_SIZE];
* }
- */
-public class XrApiLayerProperties extends Struct implements NativeResource {
+ */
+public class XrApiLayerProperties extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -53,33 +53,33 @@ public class XrApiLayerProperties extends Struct implement
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- LAYERNAME,
- SPECVERSION,
- LAYERVERSION,
- DESCRIPTION;
+ TYPE,
+ NEXT,
+ LAYERNAME,
+ SPECVERSION,
+ LAYERVERSION,
+ DESCRIPTION;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __array(1, XR_MAX_API_LAYER_NAME_SIZE),
- __member(8),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __array(1, XR_MAX_API_LAYER_NAME_SIZE),
+ __member(8),
+ __member(4),
__array(1, XR_MAX_API_LAYER_DESCRIPTION_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- LAYERNAME = layout.offsetof(2);
- SPECVERSION = layout.offsetof(3);
- LAYERVERSION = layout.offsetof(4);
- DESCRIPTION = layout.offsetof(5);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ LAYERNAME = layout.offsetof(2);
+ SPECVERSION = layout.offsetof(3);
+ LAYERVERSION = layout.offsetof(4);
+ DESCRIPTION = layout.offsetof(5);
+ }
protected XrApiLayerProperties(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -102,46 +102,46 @@ public XrApiLayerProperties(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** a string specifying the name of the API layer. Use this name in the {@link XrInstanceCreateInfo}{@code ::enabledApiLayerNames} array to enable this API layer for an instance. */
- @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
- public ByteBuffer layerName() { return nlayerName(address()); }
- /** a string specifying the name of the API layer. Use this name in the {@link XrInstanceCreateInfo}{@code ::enabledApiLayerNames} array to enable this API layer for an instance. */
- @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
- public String layerNameString() { return nlayerNameString(address()); }
- /** the API version the API layer was written to, encoded as described in the API Version Numbers and Semantics section. */
- @NativeType("XrVersion")
- public long specVersion() { return nspecVersion(address()); }
- /** the version of this API layer. It is an integer, increasing with backward compatible changes. */
- @NativeType("uint32_t")
- public int layerVersion() { return nlayerVersion(address()); }
- /** a string providing additional details that can be used by the application to identify the API layer. */
- @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
- public ByteBuffer description() { return ndescription(address()); }
- /** a string providing additional details that can be used by the application to identify the API layer. */
- @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
- public String descriptionString() { return ndescriptionString(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrApiLayerProperties type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_API_LAYER_PROPERTIES TYPE_API_LAYER_PROPERTIES} value to the {@link #type} field. */
- public XrApiLayerProperties type$Default() { return type(XR10.XR_TYPE_API_LAYER_PROPERTIES); }
- /** Sets the specified value to the {@link #next} field. */
- public XrApiLayerProperties next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** a string specifying the name of the API layer. Use this name in the {@link XrInstanceCreateInfo}{@code ::enabledApiLayerNames} array to enable this API layer for an instance. */
+ @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
+ public ByteBuffer layerName() { return nlayerName(address()); }
+ /** a string specifying the name of the API layer. Use this name in the {@link XrInstanceCreateInfo}{@code ::enabledApiLayerNames} array to enable this API layer for an instance. */
+ @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
+ public String layerNameString() { return nlayerNameString(address()); }
+ /** the API version the API layer was written to, encoded as described in the API Version Numbers and Semantics section. */
+ @NativeType("XrVersion")
+ public long specVersion() { return nspecVersion(address()); }
+ /** the version of this API layer. It is an integer, increasing with backward compatible changes. */
+ @NativeType("uint32_t")
+ public int layerVersion() { return nlayerVersion(address()); }
+ /** a string providing additional details that can be used by the application to identify the API layer. */
+ @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
+ public ByteBuffer description() { return ndescription(address()); }
+ /** a string providing additional details that can be used by the application to identify the API layer. */
+ @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
+ public String descriptionString() { return ndescriptionString(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrApiLayerProperties type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_API_LAYER_PROPERTIES TYPE_API_LAYER_PROPERTIES} value to the {@link #type} field. */
+ public XrApiLayerProperties type$Default() { return type(XR10.XR_TYPE_API_LAYER_PROPERTIES); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrApiLayerProperties next(@NativeType("void *") long value) { nnext(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrApiLayerProperties set(
- int type,
+ int type,
long next
- ) {
- type(type);
- next(next);
+ ) {
+ type(type);
+ next(next);
return this;
}
@@ -270,30 +270,30 @@ public static XrApiLayerProperties.Buffer calloc(int capacity, MemoryStack stack
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrApiLayerProperties.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrApiLayerProperties.NEXT); }
- /** Unsafe version of {@link #layerName}. */
- public static ByteBuffer nlayerName(long struct) { return memByteBuffer(struct + XrApiLayerProperties.LAYERNAME, XR_MAX_API_LAYER_NAME_SIZE); }
- /** Unsafe version of {@link #layerNameString}. */
- public static String nlayerNameString(long struct) { return memUTF8(struct + XrApiLayerProperties.LAYERNAME); }
- /** Unsafe version of {@link #specVersion}. */
- public static long nspecVersion(long struct) { return UNSAFE.getLong(null, struct + XrApiLayerProperties.SPECVERSION); }
- /** Unsafe version of {@link #layerVersion}. */
- public static int nlayerVersion(long struct) { return UNSAFE.getInt(null, struct + XrApiLayerProperties.LAYERVERSION); }
- /** Unsafe version of {@link #description}. */
- public static ByteBuffer ndescription(long struct) { return memByteBuffer(struct + XrApiLayerProperties.DESCRIPTION, XR_MAX_API_LAYER_DESCRIPTION_SIZE); }
- /** Unsafe version of {@link #descriptionString}. */
- public static String ndescriptionString(long struct) { return memUTF8(struct + XrApiLayerProperties.DESCRIPTION); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrApiLayerProperties.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrApiLayerProperties.NEXT, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrApiLayerProperties.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrApiLayerProperties.NEXT); }
+ /** Unsafe version of {@link #layerName}. */
+ public static ByteBuffer nlayerName(long struct) { return memByteBuffer(struct + XrApiLayerProperties.LAYERNAME, XR_MAX_API_LAYER_NAME_SIZE); }
+ /** Unsafe version of {@link #layerNameString}. */
+ public static String nlayerNameString(long struct) { return memUTF8(struct + XrApiLayerProperties.LAYERNAME); }
+ /** Unsafe version of {@link #specVersion}. */
+ public static long nspecVersion(long struct) { return UNSAFE.getLong(null, struct + XrApiLayerProperties.SPECVERSION); }
+ /** Unsafe version of {@link #layerVersion}. */
+ public static int nlayerVersion(long struct) { return UNSAFE.getInt(null, struct + XrApiLayerProperties.LAYERVERSION); }
+ /** Unsafe version of {@link #description}. */
+ public static ByteBuffer ndescription(long struct) { return memByteBuffer(struct + XrApiLayerProperties.DESCRIPTION, XR_MAX_API_LAYER_DESCRIPTION_SIZE); }
+ /** Unsafe version of {@link #descriptionString}. */
+ public static String ndescriptionString(long struct) { return memUTF8(struct + XrApiLayerProperties.DESCRIPTION); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrApiLayerProperties.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrApiLayerProperties.NEXT, value); }
+
+ // -----------------------------------
/** An array of {@link XrApiLayerProperties} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -330,38 +330,38 @@ protected Buffer self() {
protected XrApiLayerProperties getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrApiLayerProperties#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrApiLayerProperties.ntype(address()); }
- /** @return the value of the {@link XrApiLayerProperties#next} field. */
- @NativeType("void *")
- public long next() { return XrApiLayerProperties.nnext(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrApiLayerProperties#layerName} field. */
- @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
- public ByteBuffer layerName() { return XrApiLayerProperties.nlayerName(address()); }
- /** @return the null-terminated string stored in the {@link XrApiLayerProperties#layerName} field. */
- @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
- public String layerNameString() { return XrApiLayerProperties.nlayerNameString(address()); }
- /** @return the value of the {@link XrApiLayerProperties#specVersion} field. */
- @NativeType("XrVersion")
- public long specVersion() { return XrApiLayerProperties.nspecVersion(address()); }
- /** @return the value of the {@link XrApiLayerProperties#layerVersion} field. */
- @NativeType("uint32_t")
- public int layerVersion() { return XrApiLayerProperties.nlayerVersion(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrApiLayerProperties#description} field. */
- @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
- public ByteBuffer description() { return XrApiLayerProperties.ndescription(address()); }
- /** @return the null-terminated string stored in the {@link XrApiLayerProperties#description} field. */
- @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
- public String descriptionString() { return XrApiLayerProperties.ndescriptionString(address()); }
-
- /** Sets the specified value to the {@link XrApiLayerProperties#type} field. */
- public XrApiLayerProperties.Buffer type(@NativeType("XrStructureType") int value) { XrApiLayerProperties.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_API_LAYER_PROPERTIES TYPE_API_LAYER_PROPERTIES} value to the {@link XrApiLayerProperties#type} field. */
- public XrApiLayerProperties.Buffer type$Default() { return type(XR10.XR_TYPE_API_LAYER_PROPERTIES); }
- /** Sets the specified value to the {@link XrApiLayerProperties#next} field. */
- public XrApiLayerProperties.Buffer next(@NativeType("void *") long value) { XrApiLayerProperties.nnext(address(), value); return this; }
+
+ /** @return the value of the {@link XrApiLayerProperties#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrApiLayerProperties.ntype(address()); }
+ /** @return the value of the {@link XrApiLayerProperties#next} field. */
+ @NativeType("void *")
+ public long next() { return XrApiLayerProperties.nnext(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrApiLayerProperties#layerName} field. */
+ @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
+ public ByteBuffer layerName() { return XrApiLayerProperties.nlayerName(address()); }
+ /** @return the null-terminated string stored in the {@link XrApiLayerProperties#layerName} field. */
+ @NativeType("char[XR_MAX_API_LAYER_NAME_SIZE]")
+ public String layerNameString() { return XrApiLayerProperties.nlayerNameString(address()); }
+ /** @return the value of the {@link XrApiLayerProperties#specVersion} field. */
+ @NativeType("XrVersion")
+ public long specVersion() { return XrApiLayerProperties.nspecVersion(address()); }
+ /** @return the value of the {@link XrApiLayerProperties#layerVersion} field. */
+ @NativeType("uint32_t")
+ public int layerVersion() { return XrApiLayerProperties.nlayerVersion(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrApiLayerProperties#description} field. */
+ @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
+ public ByteBuffer description() { return XrApiLayerProperties.ndescription(address()); }
+ /** @return the null-terminated string stored in the {@link XrApiLayerProperties#description} field. */
+ @NativeType("char[XR_MAX_API_LAYER_DESCRIPTION_SIZE]")
+ public String descriptionString() { return XrApiLayerProperties.ndescriptionString(address()); }
+
+ /** Sets the specified value to the {@link XrApiLayerProperties#type} field. */
+ public XrApiLayerProperties.Buffer type(@NativeType("XrStructureType") int value) { XrApiLayerProperties.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_API_LAYER_PROPERTIES TYPE_API_LAYER_PROPERTIES} value to the {@link XrApiLayerProperties#type} field. */
+ public XrApiLayerProperties.Buffer type$Default() { return type(XR10.XR_TYPE_API_LAYER_PROPERTIES); }
+ /** Sets the specified value to the {@link XrApiLayerProperties#next} field. */
+ public XrApiLayerProperties.Buffer next(@NativeType("void *") long value) { XrApiLayerProperties.nnext(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApplicationInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApplicationInfo.java
index 30fa630f6a..f62fddc122 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApplicationInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrApplicationInfo.java
@@ -4,20 +4,20 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
-import static org.lwjgl.openxr.XR10.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
+import static org.lwjgl.openxr.XR10.*;
+
/**
* Structure specifying application info.
*
@@ -49,8 +49,8 @@
* uint32_t {@link #engineVersion};
* XrVersion {@link #apiVersion};
* }
- */
-public class XrApplicationInfo extends Struct implements NativeResource {
+ */
+public class XrApplicationInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -60,30 +60,30 @@ public class XrApplicationInfo extends Struct implements Nati
/** The struct member offsets. */
public static final int
- APPLICATIONNAME,
- APPLICATIONVERSION,
- ENGINENAME,
- ENGINEVERSION,
- APIVERSION;
+ APPLICATIONNAME,
+ APPLICATIONVERSION,
+ ENGINENAME,
+ ENGINEVERSION,
+ APIVERSION;
static {
- Layout layout = __struct(
- __array(1, XR_MAX_APPLICATION_NAME_SIZE),
- __member(4),
- __array(1, XR_MAX_ENGINE_NAME_SIZE),
- __member(4),
+ Layout layout = __struct(
+ __array(1, XR_MAX_APPLICATION_NAME_SIZE),
+ __member(4),
+ __array(1, XR_MAX_ENGINE_NAME_SIZE),
+ __member(4),
__member(8)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- APPLICATIONNAME = layout.offsetof(0);
- APPLICATIONVERSION = layout.offsetof(1);
- ENGINENAME = layout.offsetof(2);
- ENGINEVERSION = layout.offsetof(3);
- APIVERSION = layout.offsetof(4);
- }
+ APPLICATIONNAME = layout.offsetof(0);
+ APPLICATIONVERSION = layout.offsetof(1);
+ ENGINENAME = layout.offsetof(2);
+ ENGINEVERSION = layout.offsetof(3);
+ APIVERSION = layout.offsetof(4);
+ }
protected XrApplicationInfo(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -106,53 +106,53 @@ public XrApplicationInfo(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** a non-empty string containing the name of the application. */
- @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
- public ByteBuffer applicationName() { return napplicationName(address()); }
- /** a non-empty string containing the name of the application. */
- @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
- public String applicationNameString() { return napplicationNameString(address()); }
- /** an unsigned integer variable containing the developer-supplied version number of the application. */
- @NativeType("uint32_t")
- public int applicationVersion() { return napplicationVersion(address()); }
- /** a string containing the name of the engine (if any) used to create the application. It may be empty to indicate no specified engine. */
- @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
- public ByteBuffer engineName() { return nengineName(address()); }
- /** a string containing the name of the engine (if any) used to create the application. It may be empty to indicate no specified engine. */
- @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
- public String engineNameString() { return nengineNameString(address()); }
- /** an unsigned integer variable containing the developer-supplied version number of the engine used to create the application. May be zero to indicate no specified engine. */
- @NativeType("uint32_t")
- public int engineVersion() { return nengineVersion(address()); }
- /** the version of this API against which the application will run, encoded as described in the API Version Numbers and Semantics section. If the runtime does not support the requested {@code apiVersion} it must return {@link XR10#XR_ERROR_API_VERSION_UNSUPPORTED ERROR_API_VERSION_UNSUPPORTED}. */
- @NativeType("XrVersion")
- public long apiVersion() { return napiVersion(address()); }
-
- /** Copies the specified encoded string to the {@link #applicationName} field. */
- public XrApplicationInfo applicationName(@NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]") ByteBuffer value) { napplicationName(address(), value); return this; }
- /** Sets the specified value to the {@link #applicationVersion} field. */
- public XrApplicationInfo applicationVersion(@NativeType("uint32_t") int value) { napplicationVersion(address(), value); return this; }
- /** Copies the specified encoded string to the {@link #engineName} field. */
- public XrApplicationInfo engineName(@NativeType("char[XR_MAX_ENGINE_NAME_SIZE]") ByteBuffer value) { nengineName(address(), value); return this; }
- /** Sets the specified value to the {@link #engineVersion} field. */
- public XrApplicationInfo engineVersion(@NativeType("uint32_t") int value) { nengineVersion(address(), value); return this; }
- /** Sets the specified value to the {@link #apiVersion} field. */
- public XrApplicationInfo apiVersion(@NativeType("XrVersion") long value) { napiVersion(address(), value); return this; }
+
+ /** a non-empty string containing the name of the application. */
+ @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
+ public ByteBuffer applicationName() { return napplicationName(address()); }
+ /** a non-empty string containing the name of the application. */
+ @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
+ public String applicationNameString() { return napplicationNameString(address()); }
+ /** an unsigned integer variable containing the developer-supplied version number of the application. */
+ @NativeType("uint32_t")
+ public int applicationVersion() { return napplicationVersion(address()); }
+ /** a string containing the name of the engine (if any) used to create the application. It may be empty to indicate no specified engine. */
+ @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
+ public ByteBuffer engineName() { return nengineName(address()); }
+ /** a string containing the name of the engine (if any) used to create the application. It may be empty to indicate no specified engine. */
+ @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
+ public String engineNameString() { return nengineNameString(address()); }
+ /** an unsigned integer variable containing the developer-supplied version number of the engine used to create the application. May be zero to indicate no specified engine. */
+ @NativeType("uint32_t")
+ public int engineVersion() { return nengineVersion(address()); }
+ /** the version of this API against which the application will run, encoded as described in the API Version Numbers and Semantics section. If the runtime does not support the requested {@code apiVersion} it must return {@link XR10#XR_ERROR_API_VERSION_UNSUPPORTED ERROR_API_VERSION_UNSUPPORTED}. */
+ @NativeType("XrVersion")
+ public long apiVersion() { return napiVersion(address()); }
+
+ /** Copies the specified encoded string to the {@link #applicationName} field. */
+ public XrApplicationInfo applicationName(@NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]") ByteBuffer value) { napplicationName(address(), value); return this; }
+ /** Sets the specified value to the {@link #applicationVersion} field. */
+ public XrApplicationInfo applicationVersion(@NativeType("uint32_t") int value) { napplicationVersion(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link #engineName} field. */
+ public XrApplicationInfo engineName(@NativeType("char[XR_MAX_ENGINE_NAME_SIZE]") ByteBuffer value) { nengineName(address(), value); return this; }
+ /** Sets the specified value to the {@link #engineVersion} field. */
+ public XrApplicationInfo engineVersion(@NativeType("uint32_t") int value) { nengineVersion(address(), value); return this; }
+ /** Sets the specified value to the {@link #apiVersion} field. */
+ public XrApplicationInfo apiVersion(@NativeType("XrVersion") long value) { napiVersion(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrApplicationInfo set(
- ByteBuffer applicationName,
- int applicationVersion,
- ByteBuffer engineName,
- int engineVersion,
+ ByteBuffer applicationName,
+ int applicationVersion,
+ ByteBuffer engineName,
+ int engineVersion,
long apiVersion
- ) {
- applicationName(applicationName);
- applicationVersion(applicationVersion);
- engineName(engineName);
- engineVersion(engineVersion);
- apiVersion(apiVersion);
+ ) {
+ applicationName(applicationName);
+ applicationVersion(applicationVersion);
+ engineName(engineName);
+ engineVersion(engineVersion);
+ apiVersion(apiVersion);
return this;
}
@@ -281,46 +281,46 @@ public static XrApplicationInfo.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #applicationName}. */
- public static ByteBuffer napplicationName(long struct) { return memByteBuffer(struct + XrApplicationInfo.APPLICATIONNAME, XR_MAX_APPLICATION_NAME_SIZE); }
- /** Unsafe version of {@link #applicationNameString}. */
- public static String napplicationNameString(long struct) { return memUTF8(struct + XrApplicationInfo.APPLICATIONNAME); }
- /** Unsafe version of {@link #applicationVersion}. */
- public static int napplicationVersion(long struct) { return UNSAFE.getInt(null, struct + XrApplicationInfo.APPLICATIONVERSION); }
- /** Unsafe version of {@link #engineName}. */
- public static ByteBuffer nengineName(long struct) { return memByteBuffer(struct + XrApplicationInfo.ENGINENAME, XR_MAX_ENGINE_NAME_SIZE); }
- /** Unsafe version of {@link #engineNameString}. */
- public static String nengineNameString(long struct) { return memUTF8(struct + XrApplicationInfo.ENGINENAME); }
- /** Unsafe version of {@link #engineVersion}. */
- public static int nengineVersion(long struct) { return UNSAFE.getInt(null, struct + XrApplicationInfo.ENGINEVERSION); }
- /** Unsafe version of {@link #apiVersion}. */
- public static long napiVersion(long struct) { return UNSAFE.getLong(null, struct + XrApplicationInfo.APIVERSION); }
-
- /** Unsafe version of {@link #applicationName(ByteBuffer) applicationName}. */
- public static void napplicationName(long struct, ByteBuffer value) {
- if (CHECKS) {
- checkNT1(value);
- checkGT(value, XR_MAX_APPLICATION_NAME_SIZE);
- }
- memCopy(memAddress(value), struct + XrApplicationInfo.APPLICATIONNAME, value.remaining());
- }
- /** Unsafe version of {@link #applicationVersion(int) applicationVersion}. */
- public static void napplicationVersion(long struct, int value) { UNSAFE.putInt(null, struct + XrApplicationInfo.APPLICATIONVERSION, value); }
- /** Unsafe version of {@link #engineName(ByteBuffer) engineName}. */
- public static void nengineName(long struct, ByteBuffer value) {
- if (CHECKS) {
- checkNT1(value);
- checkGT(value, XR_MAX_ENGINE_NAME_SIZE);
- }
- memCopy(memAddress(value), struct + XrApplicationInfo.ENGINENAME, value.remaining());
- }
- /** Unsafe version of {@link #engineVersion(int) engineVersion}. */
- public static void nengineVersion(long struct, int value) { UNSAFE.putInt(null, struct + XrApplicationInfo.ENGINEVERSION, value); }
- /** Unsafe version of {@link #apiVersion(long) apiVersion}. */
- public static void napiVersion(long struct, long value) { UNSAFE.putLong(null, struct + XrApplicationInfo.APIVERSION, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #applicationName}. */
+ public static ByteBuffer napplicationName(long struct) { return memByteBuffer(struct + XrApplicationInfo.APPLICATIONNAME, XR_MAX_APPLICATION_NAME_SIZE); }
+ /** Unsafe version of {@link #applicationNameString}. */
+ public static String napplicationNameString(long struct) { return memUTF8(struct + XrApplicationInfo.APPLICATIONNAME); }
+ /** Unsafe version of {@link #applicationVersion}. */
+ public static int napplicationVersion(long struct) { return UNSAFE.getInt(null, struct + XrApplicationInfo.APPLICATIONVERSION); }
+ /** Unsafe version of {@link #engineName}. */
+ public static ByteBuffer nengineName(long struct) { return memByteBuffer(struct + XrApplicationInfo.ENGINENAME, XR_MAX_ENGINE_NAME_SIZE); }
+ /** Unsafe version of {@link #engineNameString}. */
+ public static String nengineNameString(long struct) { return memUTF8(struct + XrApplicationInfo.ENGINENAME); }
+ /** Unsafe version of {@link #engineVersion}. */
+ public static int nengineVersion(long struct) { return UNSAFE.getInt(null, struct + XrApplicationInfo.ENGINEVERSION); }
+ /** Unsafe version of {@link #apiVersion}. */
+ public static long napiVersion(long struct) { return UNSAFE.getLong(null, struct + XrApplicationInfo.APIVERSION); }
+
+ /** Unsafe version of {@link #applicationName(ByteBuffer) applicationName}. */
+ public static void napplicationName(long struct, ByteBuffer value) {
+ if (CHECKS) {
+ checkNT1(value);
+ checkGT(value, XR_MAX_APPLICATION_NAME_SIZE);
+ }
+ memCopy(memAddress(value), struct + XrApplicationInfo.APPLICATIONNAME, value.remaining());
+ }
+ /** Unsafe version of {@link #applicationVersion(int) applicationVersion}. */
+ public static void napplicationVersion(long struct, int value) { UNSAFE.putInt(null, struct + XrApplicationInfo.APPLICATIONVERSION, value); }
+ /** Unsafe version of {@link #engineName(ByteBuffer) engineName}. */
+ public static void nengineName(long struct, ByteBuffer value) {
+ if (CHECKS) {
+ checkNT1(value);
+ checkGT(value, XR_MAX_ENGINE_NAME_SIZE);
+ }
+ memCopy(memAddress(value), struct + XrApplicationInfo.ENGINENAME, value.remaining());
+ }
+ /** Unsafe version of {@link #engineVersion(int) engineVersion}. */
+ public static void nengineVersion(long struct, int value) { UNSAFE.putInt(null, struct + XrApplicationInfo.ENGINEVERSION, value); }
+ /** Unsafe version of {@link #apiVersion(long) apiVersion}. */
+ public static void napiVersion(long struct, long value) { UNSAFE.putLong(null, struct + XrApplicationInfo.APIVERSION, value); }
+
+ // -----------------------------------
/** An array of {@link XrApplicationInfo} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -357,39 +357,39 @@ protected Buffer self() {
protected XrApplicationInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return a {@link ByteBuffer} view of the {@link XrApplicationInfo#applicationName} field. */
- @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
- public ByteBuffer applicationName() { return XrApplicationInfo.napplicationName(address()); }
- /** @return the null-terminated string stored in the {@link XrApplicationInfo#applicationName} field. */
- @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
- public String applicationNameString() { return XrApplicationInfo.napplicationNameString(address()); }
- /** @return the value of the {@link XrApplicationInfo#applicationVersion} field. */
- @NativeType("uint32_t")
- public int applicationVersion() { return XrApplicationInfo.napplicationVersion(address()); }
- /** @return a {@link ByteBuffer} view of the {@link XrApplicationInfo#engineName} field. */
- @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
- public ByteBuffer engineName() { return XrApplicationInfo.nengineName(address()); }
- /** @return the null-terminated string stored in the {@link XrApplicationInfo#engineName} field. */
- @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
- public String engineNameString() { return XrApplicationInfo.nengineNameString(address()); }
- /** @return the value of the {@link XrApplicationInfo#engineVersion} field. */
- @NativeType("uint32_t")
- public int engineVersion() { return XrApplicationInfo.nengineVersion(address()); }
- /** @return the value of the {@link XrApplicationInfo#apiVersion} field. */
- @NativeType("XrVersion")
- public long apiVersion() { return XrApplicationInfo.napiVersion(address()); }
-
- /** Copies the specified encoded string to the {@link XrApplicationInfo#applicationName} field. */
- public XrApplicationInfo.Buffer applicationName(@NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]") ByteBuffer value) { XrApplicationInfo.napplicationName(address(), value); return this; }
- /** Sets the specified value to the {@link XrApplicationInfo#applicationVersion} field. */
- public XrApplicationInfo.Buffer applicationVersion(@NativeType("uint32_t") int value) { XrApplicationInfo.napplicationVersion(address(), value); return this; }
- /** Copies the specified encoded string to the {@link XrApplicationInfo#engineName} field. */
- public XrApplicationInfo.Buffer engineName(@NativeType("char[XR_MAX_ENGINE_NAME_SIZE]") ByteBuffer value) { XrApplicationInfo.nengineName(address(), value); return this; }
- /** Sets the specified value to the {@link XrApplicationInfo#engineVersion} field. */
- public XrApplicationInfo.Buffer engineVersion(@NativeType("uint32_t") int value) { XrApplicationInfo.nengineVersion(address(), value); return this; }
- /** Sets the specified value to the {@link XrApplicationInfo#apiVersion} field. */
- public XrApplicationInfo.Buffer apiVersion(@NativeType("XrVersion") long value) { XrApplicationInfo.napiVersion(address(), value); return this; }
+
+ /** @return a {@link ByteBuffer} view of the {@link XrApplicationInfo#applicationName} field. */
+ @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
+ public ByteBuffer applicationName() { return XrApplicationInfo.napplicationName(address()); }
+ /** @return the null-terminated string stored in the {@link XrApplicationInfo#applicationName} field. */
+ @NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]")
+ public String applicationNameString() { return XrApplicationInfo.napplicationNameString(address()); }
+ /** @return the value of the {@link XrApplicationInfo#applicationVersion} field. */
+ @NativeType("uint32_t")
+ public int applicationVersion() { return XrApplicationInfo.napplicationVersion(address()); }
+ /** @return a {@link ByteBuffer} view of the {@link XrApplicationInfo#engineName} field. */
+ @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
+ public ByteBuffer engineName() { return XrApplicationInfo.nengineName(address()); }
+ /** @return the null-terminated string stored in the {@link XrApplicationInfo#engineName} field. */
+ @NativeType("char[XR_MAX_ENGINE_NAME_SIZE]")
+ public String engineNameString() { return XrApplicationInfo.nengineNameString(address()); }
+ /** @return the value of the {@link XrApplicationInfo#engineVersion} field. */
+ @NativeType("uint32_t")
+ public int engineVersion() { return XrApplicationInfo.nengineVersion(address()); }
+ /** @return the value of the {@link XrApplicationInfo#apiVersion} field. */
+ @NativeType("XrVersion")
+ public long apiVersion() { return XrApplicationInfo.napiVersion(address()); }
+
+ /** Copies the specified encoded string to the {@link XrApplicationInfo#applicationName} field. */
+ public XrApplicationInfo.Buffer applicationName(@NativeType("char[XR_MAX_APPLICATION_NAME_SIZE]") ByteBuffer value) { XrApplicationInfo.napplicationName(address(), value); return this; }
+ /** Sets the specified value to the {@link XrApplicationInfo#applicationVersion} field. */
+ public XrApplicationInfo.Buffer applicationVersion(@NativeType("uint32_t") int value) { XrApplicationInfo.napplicationVersion(address(), value); return this; }
+ /** Copies the specified encoded string to the {@link XrApplicationInfo#engineName} field. */
+ public XrApplicationInfo.Buffer engineName(@NativeType("char[XR_MAX_ENGINE_NAME_SIZE]") ByteBuffer value) { XrApplicationInfo.nengineName(address(), value); return this; }
+ /** Sets the specified value to the {@link XrApplicationInfo#engineVersion} field. */
+ public XrApplicationInfo.Buffer engineVersion(@NativeType("uint32_t") int value) { XrApplicationInfo.nengineVersion(address(), value); return this; }
+ /** Sets the specified value to the {@link XrApplicationInfo#apiVersion} field. */
+ public XrApplicationInfo.Buffer apiVersion(@NativeType("XrVersion") long value) { XrApplicationInfo.napiVersion(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseInStructure.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseInStructure.java
index b6b2eac0dd..4264704d4d 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseInStructure.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseInStructure.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Convenience type for iterating (read only).
*
@@ -34,8 +34,8 @@
* XrStructureType {@link #type};
* {@link XrBaseInStructure XrBaseInStructure} const * {@link #next};
* }
- */
-public class XrBaseInStructure extends Struct implements NativeResource {
+ */
+public class XrBaseInStructure extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -45,21 +45,21 @@ public class XrBaseInStructure extends Struct implements Nati
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT;
+ TYPE,
+ NEXT;
static {
- Layout layout = __struct(
- __member(4),
+ Layout layout = __struct(
+ __member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ }
protected XrBaseInStructure(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -82,26 +82,26 @@ public XrBaseInStructure(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. This base structure itself has no associated {@code XrStructureType} value. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("XrBaseInStructure const *")
- public XrBaseInStructure next() { return nnext(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBaseInStructure type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the address of the specified {@link XrBaseInStructure} to the {@link #next} field. */
- public XrBaseInStructure next(@NativeType("XrBaseInStructure const *") XrBaseInStructure value) { nnext(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. This base structure itself has no associated {@code XrStructureType} value. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("XrBaseInStructure const *")
+ public XrBaseInStructure next() { return nnext(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBaseInStructure type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBaseInStructure} to the {@link #next} field. */
+ public XrBaseInStructure next(@NativeType("XrBaseInStructure const *") XrBaseInStructure value) { nnext(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBaseInStructure set(
- int type,
+ int type,
XrBaseInStructure next
- ) {
- type(type);
- next(next);
+ ) {
+ type(type);
+ next(next);
return this;
}
@@ -230,16 +230,16 @@ public static XrBaseInStructure.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBaseInStructure.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static XrBaseInStructure nnext(long struct) { return XrBaseInStructure.create(memGetAddress(struct + XrBaseInStructure.NEXT)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBaseInStructure.TYPE, value); }
- /** Unsafe version of {@link #next(XrBaseInStructure) next}. */
- public static void nnext(long struct, XrBaseInStructure value) { memPutAddress(struct + XrBaseInStructure.NEXT, value.address()); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBaseInStructure.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static XrBaseInStructure nnext(long struct) { return XrBaseInStructure.create(memGetAddress(struct + XrBaseInStructure.NEXT)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBaseInStructure.TYPE, value); }
+ /** Unsafe version of {@link #next(XrBaseInStructure) next}. */
+ public static void nnext(long struct, XrBaseInStructure value) { memPutAddress(struct + XrBaseInStructure.NEXT, value.address()); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -248,9 +248,9 @@ public static XrBaseInStructure.Buffer calloc(int capacity, MemoryStack stack) {
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrBaseInStructure.NEXT));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrBaseInStructure} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -287,18 +287,18 @@ protected Buffer self() {
protected XrBaseInStructure getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBaseInStructure#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBaseInStructure.ntype(address()); }
- /** @return a {@link XrBaseInStructure} view of the struct pointed to by the {@link XrBaseInStructure#next} field. */
- @NativeType("XrBaseInStructure const *")
- public XrBaseInStructure next() { return XrBaseInStructure.nnext(address()); }
-
- /** Sets the specified value to the {@link XrBaseInStructure#type} field. */
- public XrBaseInStructure.Buffer type(@NativeType("XrStructureType") int value) { XrBaseInStructure.ntype(address(), value); return this; }
- /** Sets the address of the specified {@link XrBaseInStructure} to the {@link XrBaseInStructure#next} field. */
- public XrBaseInStructure.Buffer next(@NativeType("XrBaseInStructure const *") XrBaseInStructure value) { XrBaseInStructure.nnext(address(), value); return this; }
+
+ /** @return the value of the {@link XrBaseInStructure#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBaseInStructure.ntype(address()); }
+ /** @return a {@link XrBaseInStructure} view of the struct pointed to by the {@link XrBaseInStructure#next} field. */
+ @NativeType("XrBaseInStructure const *")
+ public XrBaseInStructure next() { return XrBaseInStructure.nnext(address()); }
+
+ /** Sets the specified value to the {@link XrBaseInStructure#type} field. */
+ public XrBaseInStructure.Buffer type(@NativeType("XrStructureType") int value) { XrBaseInStructure.ntype(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBaseInStructure} to the {@link XrBaseInStructure#next} field. */
+ public XrBaseInStructure.Buffer next(@NativeType("XrBaseInStructure const *") XrBaseInStructure value) { XrBaseInStructure.nnext(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseOutStructure.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseOutStructure.java
index 314d216a14..e1bf42e221 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseOutStructure.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBaseOutStructure.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Convenience type for iterating (mutable).
*
@@ -34,8 +34,8 @@
* XrStructureType {@link #type};
* {@link XrBaseOutStructure XrBaseOutStructure} * {@link #next};
* }
- */
-public class XrBaseOutStructure extends Struct implements NativeResource {
+ */
+public class XrBaseOutStructure extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -45,21 +45,21 @@ public class XrBaseOutStructure extends Struct implements Na
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT;
+ TYPE,
+ NEXT;
static {
- Layout layout = __struct(
- __member(4),
+ Layout layout = __struct(
+ __member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ }
protected XrBaseOutStructure(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -82,26 +82,26 @@ public XrBaseOutStructure(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. This base structure itself has no associated {@code XrStructureType} value. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
- @NativeType("XrBaseOutStructure *")
- public XrBaseOutStructure next() { return nnext(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBaseOutStructure type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the address of the specified {@link XrBaseOutStructure} to the {@link #next} field. */
- public XrBaseOutStructure next(@NativeType("XrBaseOutStructure *") XrBaseOutStructure value) { nnext(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. This base structure itself has no associated {@code XrStructureType} value. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR. */
+ @NativeType("XrBaseOutStructure *")
+ public XrBaseOutStructure next() { return nnext(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBaseOutStructure type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBaseOutStructure} to the {@link #next} field. */
+ public XrBaseOutStructure next(@NativeType("XrBaseOutStructure *") XrBaseOutStructure value) { nnext(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBaseOutStructure set(
- int type,
+ int type,
XrBaseOutStructure next
- ) {
- type(type);
- next(next);
+ ) {
+ type(type);
+ next(next);
return this;
}
@@ -230,16 +230,16 @@ public static XrBaseOutStructure.Buffer calloc(int capacity, MemoryStack stack)
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBaseOutStructure.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static XrBaseOutStructure nnext(long struct) { return XrBaseOutStructure.create(memGetAddress(struct + XrBaseOutStructure.NEXT)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBaseOutStructure.TYPE, value); }
- /** Unsafe version of {@link #next(XrBaseOutStructure) next}. */
- public static void nnext(long struct, XrBaseOutStructure value) { memPutAddress(struct + XrBaseOutStructure.NEXT, value.address()); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBaseOutStructure.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static XrBaseOutStructure nnext(long struct) { return XrBaseOutStructure.create(memGetAddress(struct + XrBaseOutStructure.NEXT)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBaseOutStructure.TYPE, value); }
+ /** Unsafe version of {@link #next(XrBaseOutStructure) next}. */
+ public static void nnext(long struct, XrBaseOutStructure value) { memPutAddress(struct + XrBaseOutStructure.NEXT, value.address()); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -248,9 +248,9 @@ public static XrBaseOutStructure.Buffer calloc(int capacity, MemoryStack stack)
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrBaseOutStructure.NEXT));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrBaseOutStructure} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -287,18 +287,18 @@ protected Buffer self() {
protected XrBaseOutStructure getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBaseOutStructure#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBaseOutStructure.ntype(address()); }
- /** @return a {@link XrBaseOutStructure} view of the struct pointed to by the {@link XrBaseOutStructure#next} field. */
- @NativeType("XrBaseOutStructure *")
- public XrBaseOutStructure next() { return XrBaseOutStructure.nnext(address()); }
-
- /** Sets the specified value to the {@link XrBaseOutStructure#type} field. */
- public XrBaseOutStructure.Buffer type(@NativeType("XrStructureType") int value) { XrBaseOutStructure.ntype(address(), value); return this; }
- /** Sets the address of the specified {@link XrBaseOutStructure} to the {@link XrBaseOutStructure#next} field. */
- public XrBaseOutStructure.Buffer next(@NativeType("XrBaseOutStructure *") XrBaseOutStructure value) { XrBaseOutStructure.nnext(address(), value); return this; }
+
+ /** @return the value of the {@link XrBaseOutStructure#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBaseOutStructure.ntype(address()); }
+ /** @return a {@link XrBaseOutStructure} view of the struct pointed to by the {@link XrBaseOutStructure#next} field. */
+ @NativeType("XrBaseOutStructure *")
+ public XrBaseOutStructure next() { return XrBaseOutStructure.nnext(address()); }
+
+ /** Sets the specified value to the {@link XrBaseOutStructure#type} field. */
+ public XrBaseOutStructure.Buffer type(@NativeType("XrStructureType") int value) { XrBaseOutStructure.ntype(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBaseOutStructure} to the {@link XrBaseOutStructure#next} field. */
+ public XrBaseOutStructure.Buffer next(@NativeType("XrBaseOutStructure *") XrBaseOutStructure value) { XrBaseOutStructure.nnext(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationBaseHeaderKHR.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationBaseHeaderKHR.java
index 1753899057..fc39d7f120 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationBaseHeaderKHR.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationBaseHeaderKHR.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Base struct for all binding modifications.
*
@@ -26,7 +26,7 @@
*
*
* - The {@link KHRBindingModification XR_KHR_binding_modification} extension must be enabled prior to using {@link XrBindingModificationBaseHeaderKHR}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -40,8 +40,8 @@
* XrStructureType {@link #type};
* void const * {@link #next};
* }
- */
-public class XrBindingModificationBaseHeaderKHR extends Struct implements NativeResource {
+ */
+public class XrBindingModificationBaseHeaderKHR extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -51,21 +51,21 @@ public class XrBindingModificationBaseHeaderKHR extends Struct implements NativeResource {
@@ -304,18 +304,18 @@ protected Buffer self() {
protected XrBindingModificationBaseHeaderKHR getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBindingModificationBaseHeaderKHR#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBindingModificationBaseHeaderKHR.ntype(address()); }
- /** @return the value of the {@link XrBindingModificationBaseHeaderKHR#next} field. */
- @NativeType("void const *")
- public long next() { return XrBindingModificationBaseHeaderKHR.nnext(address()); }
-
- /** Sets the specified value to the {@link XrBindingModificationBaseHeaderKHR#type} field. */
- public XrBindingModificationBaseHeaderKHR.Buffer type(@NativeType("XrStructureType") int value) { XrBindingModificationBaseHeaderKHR.ntype(address(), value); return this; }
- /** Sets the specified value to the {@link XrBindingModificationBaseHeaderKHR#next} field. */
- public XrBindingModificationBaseHeaderKHR.Buffer next(@NativeType("void const *") long value) { XrBindingModificationBaseHeaderKHR.nnext(address(), value); return this; }
+
+ /** @return the value of the {@link XrBindingModificationBaseHeaderKHR#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBindingModificationBaseHeaderKHR.ntype(address()); }
+ /** @return the value of the {@link XrBindingModificationBaseHeaderKHR#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrBindingModificationBaseHeaderKHR.nnext(address()); }
+
+ /** Sets the specified value to the {@link XrBindingModificationBaseHeaderKHR#type} field. */
+ public XrBindingModificationBaseHeaderKHR.Buffer type(@NativeType("XrStructureType") int value) { XrBindingModificationBaseHeaderKHR.ntype(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBindingModificationBaseHeaderKHR#next} field. */
+ public XrBindingModificationBaseHeaderKHR.Buffer next(@NativeType("void const *") long value) { XrBindingModificationBaseHeaderKHR.nnext(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationsKHR.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationsKHR.java
index 93b9bb4e75..2e9e36ab55 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationsKHR.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBindingModificationsKHR.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Suggested bindings with binding modification details.
*
@@ -23,7 +23,7 @@
*
* - The {@link KHRBindingModification XR_KHR_binding_modification} extension must be enabled prior to using {@link XrBindingModificationsKHR}
* - {@code type} must be {@link KHRBindingModification#XR_TYPE_BINDING_MODIFICATIONS_KHR TYPE_BINDING_MODIFICATIONS_KHR}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - If {@code bindingModificationCount} is not 0, {@code bindingModifications} must be a pointer to an array of {@code bindingModificationCount} valid {@link XrBindingModificationBaseHeaderKHR}-based structures. See also: {@link XrInteractionProfileAnalogThresholdVALVE}, {@link XrInteractionProfileDpadBindingEXT}
*
*
@@ -40,8 +40,8 @@
* uint32_t {@link #bindingModificationCount};
* {@link XrBindingModificationBaseHeaderKHR XrBindingModificationBaseHeaderKHR} const * const * {@link #bindingModifications};
* }
- */
-public class XrBindingModificationsKHR extends Struct implements NativeResource {
+ */
+public class XrBindingModificationsKHR extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -51,27 +51,27 @@ public class XrBindingModificationsKHR extends Struct
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- BINDINGMODIFICATIONCOUNT,
- BINDINGMODIFICATIONS;
+ TYPE,
+ NEXT,
+ BINDINGMODIFICATIONCOUNT,
+ BINDINGMODIFICATIONS;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- BINDINGMODIFICATIONCOUNT = layout.offsetof(2);
- BINDINGMODIFICATIONS = layout.offsetof(3);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ BINDINGMODIFICATIONCOUNT = layout.offsetof(2);
+ BINDINGMODIFICATIONS = layout.offsetof(3);
+ }
protected XrBindingModificationsKHR(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -94,43 +94,43 @@ public XrBindingModificationsKHR(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** the number of binding modifications in the array pointed to by {@code bindingModifications}. */
- @NativeType("uint32_t")
- public int bindingModificationCount() { return nbindingModificationCount(address()); }
- /** a pointer to an array of pointers to binding modification structures based on {@link XrBindingModificationBaseHeaderKHR}, that define all of the application’s suggested binding modifications for the specified interaction profile. */
- @Nullable
- @NativeType("XrBindingModificationBaseHeaderKHR const * const *")
- public PointerBuffer bindingModifications() { return nbindingModifications(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBindingModificationsKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link KHRBindingModification#XR_TYPE_BINDING_MODIFICATIONS_KHR TYPE_BINDING_MODIFICATIONS_KHR} value to the {@link #type} field. */
- public XrBindingModificationsKHR type$Default() { return type(KHRBindingModification.XR_TYPE_BINDING_MODIFICATIONS_KHR); }
- /** Sets the specified value to the {@link #next} field. */
- public XrBindingModificationsKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #bindingModificationCount} field. */
- public XrBindingModificationsKHR bindingModificationCount(@NativeType("uint32_t") int value) { nbindingModificationCount(address(), value); return this; }
- /** Sets the address of the specified {@link PointerBuffer} to the {@link #bindingModifications} field. */
- public XrBindingModificationsKHR bindingModifications(@Nullable @NativeType("XrBindingModificationBaseHeaderKHR const * const *") PointerBuffer value) { nbindingModifications(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** the number of binding modifications in the array pointed to by {@code bindingModifications}. */
+ @NativeType("uint32_t")
+ public int bindingModificationCount() { return nbindingModificationCount(address()); }
+ /** a pointer to an array of pointers to binding modification structures based on {@link XrBindingModificationBaseHeaderKHR}, that define all of the application’s suggested binding modifications for the specified interaction profile. */
+ @Nullable
+ @NativeType("XrBindingModificationBaseHeaderKHR const * const *")
+ public PointerBuffer bindingModifications() { return nbindingModifications(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBindingModificationsKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link KHRBindingModification#XR_TYPE_BINDING_MODIFICATIONS_KHR TYPE_BINDING_MODIFICATIONS_KHR} value to the {@link #type} field. */
+ public XrBindingModificationsKHR type$Default() { return type(KHRBindingModification.XR_TYPE_BINDING_MODIFICATIONS_KHR); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrBindingModificationsKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #bindingModificationCount} field. */
+ public XrBindingModificationsKHR bindingModificationCount(@NativeType("uint32_t") int value) { nbindingModificationCount(address(), value); return this; }
+ /** Sets the address of the specified {@link PointerBuffer} to the {@link #bindingModifications} field. */
+ public XrBindingModificationsKHR bindingModifications(@Nullable @NativeType("XrBindingModificationBaseHeaderKHR const * const *") PointerBuffer value) { nbindingModifications(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBindingModificationsKHR set(
- int type,
- long next,
- int bindingModificationCount,
+ int type,
+ long next,
+ int bindingModificationCount,
@Nullable PointerBuffer bindingModifications
- ) {
- type(type);
- next(next);
- bindingModificationCount(bindingModificationCount);
- bindingModifications(bindingModifications);
+ ) {
+ type(type);
+ next(next);
+ bindingModificationCount(bindingModificationCount);
+ bindingModifications(bindingModifications);
return this;
}
@@ -259,26 +259,26 @@ public static XrBindingModificationsKHR.Buffer calloc(int capacity, MemoryStack
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBindingModificationsKHR.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrBindingModificationsKHR.NEXT); }
- /** Unsafe version of {@link #bindingModificationCount}. */
- public static int nbindingModificationCount(long struct) { return UNSAFE.getInt(null, struct + XrBindingModificationsKHR.BINDINGMODIFICATIONCOUNT); }
- /** Unsafe version of {@link #bindingModifications() bindingModifications}. */
- @Nullable public static PointerBuffer nbindingModifications(long struct) { return memPointerBufferSafe(memGetAddress(struct + XrBindingModificationsKHR.BINDINGMODIFICATIONS), nbindingModificationCount(struct)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBindingModificationsKHR.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrBindingModificationsKHR.NEXT, value); }
- /** Sets the specified value to the {@code bindingModificationCount} field of the specified {@code struct}. */
- public static void nbindingModificationCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBindingModificationsKHR.BINDINGMODIFICATIONCOUNT, value); }
- /** Unsafe version of {@link #bindingModifications(PointerBuffer) bindingModifications}. */
- public static void nbindingModifications(long struct, @Nullable PointerBuffer value) { memPutAddress(struct + XrBindingModificationsKHR.BINDINGMODIFICATIONS, memAddressSafe(value)); if (value != null) { nbindingModificationCount(struct, value.remaining()); } }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBindingModificationsKHR.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrBindingModificationsKHR.NEXT); }
+ /** Unsafe version of {@link #bindingModificationCount}. */
+ public static int nbindingModificationCount(long struct) { return UNSAFE.getInt(null, struct + XrBindingModificationsKHR.BINDINGMODIFICATIONCOUNT); }
+ /** Unsafe version of {@link #bindingModifications() bindingModifications}. */
+ @Nullable public static PointerBuffer nbindingModifications(long struct) { return memPointerBufferSafe(memGetAddress(struct + XrBindingModificationsKHR.BINDINGMODIFICATIONS), nbindingModificationCount(struct)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBindingModificationsKHR.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrBindingModificationsKHR.NEXT, value); }
+ /** Sets the specified value to the {@code bindingModificationCount} field of the specified {@code struct}. */
+ public static void nbindingModificationCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBindingModificationsKHR.BINDINGMODIFICATIONCOUNT, value); }
+ /** Unsafe version of {@link #bindingModifications(PointerBuffer) bindingModifications}. */
+ public static void nbindingModifications(long struct, @Nullable PointerBuffer value) { memPutAddress(struct + XrBindingModificationsKHR.BINDINGMODIFICATIONS, memAddressSafe(value)); if (value != null) { nbindingModificationCount(struct, value.remaining()); } }
+
+ // -----------------------------------
/** An array of {@link XrBindingModificationsKHR} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -315,31 +315,31 @@ protected Buffer self() {
protected XrBindingModificationsKHR getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBindingModificationsKHR#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBindingModificationsKHR.ntype(address()); }
- /** @return the value of the {@link XrBindingModificationsKHR#next} field. */
- @NativeType("void const *")
- public long next() { return XrBindingModificationsKHR.nnext(address()); }
- /** @return the value of the {@link XrBindingModificationsKHR#bindingModificationCount} field. */
- @NativeType("uint32_t")
- public int bindingModificationCount() { return XrBindingModificationsKHR.nbindingModificationCount(address()); }
- /** @return a {@link PointerBuffer} view of the data pointed to by the {@link XrBindingModificationsKHR#bindingModifications} field. */
- @Nullable
- @NativeType("XrBindingModificationBaseHeaderKHR const * const *")
- public PointerBuffer bindingModifications() { return XrBindingModificationsKHR.nbindingModifications(address()); }
-
- /** Sets the specified value to the {@link XrBindingModificationsKHR#type} field. */
- public XrBindingModificationsKHR.Buffer type(@NativeType("XrStructureType") int value) { XrBindingModificationsKHR.ntype(address(), value); return this; }
- /** Sets the {@link KHRBindingModification#XR_TYPE_BINDING_MODIFICATIONS_KHR TYPE_BINDING_MODIFICATIONS_KHR} value to the {@link XrBindingModificationsKHR#type} field. */
- public XrBindingModificationsKHR.Buffer type$Default() { return type(KHRBindingModification.XR_TYPE_BINDING_MODIFICATIONS_KHR); }
- /** Sets the specified value to the {@link XrBindingModificationsKHR#next} field. */
- public XrBindingModificationsKHR.Buffer next(@NativeType("void const *") long value) { XrBindingModificationsKHR.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrBindingModificationsKHR#bindingModificationCount} field. */
- public XrBindingModificationsKHR.Buffer bindingModificationCount(@NativeType("uint32_t") int value) { XrBindingModificationsKHR.nbindingModificationCount(address(), value); return this; }
- /** Sets the address of the specified {@link PointerBuffer} to the {@link XrBindingModificationsKHR#bindingModifications} field. */
- public XrBindingModificationsKHR.Buffer bindingModifications(@Nullable @NativeType("XrBindingModificationBaseHeaderKHR const * const *") PointerBuffer value) { XrBindingModificationsKHR.nbindingModifications(address(), value); return this; }
+
+ /** @return the value of the {@link XrBindingModificationsKHR#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBindingModificationsKHR.ntype(address()); }
+ /** @return the value of the {@link XrBindingModificationsKHR#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrBindingModificationsKHR.nnext(address()); }
+ /** @return the value of the {@link XrBindingModificationsKHR#bindingModificationCount} field. */
+ @NativeType("uint32_t")
+ public int bindingModificationCount() { return XrBindingModificationsKHR.nbindingModificationCount(address()); }
+ /** @return a {@link PointerBuffer} view of the data pointed to by the {@link XrBindingModificationsKHR#bindingModifications} field. */
+ @Nullable
+ @NativeType("XrBindingModificationBaseHeaderKHR const * const *")
+ public PointerBuffer bindingModifications() { return XrBindingModificationsKHR.nbindingModifications(address()); }
+
+ /** Sets the specified value to the {@link XrBindingModificationsKHR#type} field. */
+ public XrBindingModificationsKHR.Buffer type(@NativeType("XrStructureType") int value) { XrBindingModificationsKHR.ntype(address(), value); return this; }
+ /** Sets the {@link KHRBindingModification#XR_TYPE_BINDING_MODIFICATIONS_KHR TYPE_BINDING_MODIFICATIONS_KHR} value to the {@link XrBindingModificationsKHR#type} field. */
+ public XrBindingModificationsKHR.Buffer type$Default() { return type(KHRBindingModification.XR_TYPE_BINDING_MODIFICATIONS_KHR); }
+ /** Sets the specified value to the {@link XrBindingModificationsKHR#next} field. */
+ public XrBindingModificationsKHR.Buffer next(@NativeType("void const *") long value) { XrBindingModificationsKHR.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBindingModificationsKHR#bindingModificationCount} field. */
+ public XrBindingModificationsKHR.Buffer bindingModificationCount(@NativeType("uint32_t") int value) { XrBindingModificationsKHR.nbindingModificationCount(address(), value); return this; }
+ /** Sets the address of the specified {@link PointerBuffer} to the {@link XrBindingModificationsKHR#bindingModifications} field. */
+ public XrBindingModificationsKHR.Buffer bindingModifications(@Nullable @NativeType("XrBindingModificationBaseHeaderKHR const * const *") PointerBuffer value) { XrBindingModificationsKHR.nbindingModifications(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationFB.java
index 5d0edf21ca..c891170d84 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationFB.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Describes the location and radius of a body joint.
*
@@ -37,8 +37,8 @@
* XrSpaceLocationFlags {@link #locationFlags};
* {@link XrPosef XrPosef} {@link #pose};
* }
- */
-public class XrBodyJointLocationFB extends Struct implements NativeResource {
+ */
+public class XrBodyJointLocationFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -48,21 +48,21 @@ public class XrBodyJointLocationFB extends Struct impleme
/** The struct member offsets. */
public static final int
- LOCATIONFLAGS,
- POSE;
+ LOCATIONFLAGS,
+ POSE;
static {
- Layout layout = __struct(
- __member(8),
+ Layout layout = __struct(
+ __member(8),
__member(XrPosef.SIZEOF, XrPosef.ALIGNOF)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- LOCATIONFLAGS = layout.offsetof(0);
- POSE = layout.offsetof(1);
- }
+ LOCATIONFLAGS = layout.offsetof(0);
+ POSE = layout.offsetof(1);
+ }
protected XrBodyJointLocationFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -85,27 +85,27 @@ public XrBodyJointLocationFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** a bitfield, with bit masks defined in {@code XrSpaceLocationFlagBits}, to indicate which members contain valid data. If none of the bits are set, no other fields in this structure should be considered to be valid or meaningful. */
- @NativeType("XrSpaceLocationFlags")
- public long locationFlags() { return nlocationFlags(address()); }
- /** an {@link XrPosef} defining the position and orientation of the origin of a body joint within the reference frame of the corresponding {@link XrBodyJointsLocateInfoFB}{@code ::baseSpace}. */
- public XrPosef pose() { return npose(address()); }
-
- /** Sets the specified value to the {@link #locationFlags} field. */
- public XrBodyJointLocationFB locationFlags(@NativeType("XrSpaceLocationFlags") long value) { nlocationFlags(address(), value); return this; }
- /** Copies the specified {@link XrPosef} to the {@link #pose} field. */
- public XrBodyJointLocationFB pose(XrPosef value) { npose(address(), value); return this; }
- /** Passes the {@link #pose} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrBodyJointLocationFB pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
+
+ /** a bitfield, with bit masks defined in {@code XrSpaceLocationFlagBits}, to indicate which members contain valid data. If none of the bits are set, no other fields in this structure should be considered to be valid or meaningful. */
+ @NativeType("XrSpaceLocationFlags")
+ public long locationFlags() { return nlocationFlags(address()); }
+ /** an {@link XrPosef} defining the position and orientation of the origin of a body joint within the reference frame of the corresponding {@link XrBodyJointsLocateInfoFB}{@code ::baseSpace}. */
+ public XrPosef pose() { return npose(address()); }
+
+ /** Sets the specified value to the {@link #locationFlags} field. */
+ public XrBodyJointLocationFB locationFlags(@NativeType("XrSpaceLocationFlags") long value) { nlocationFlags(address(), value); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link #pose} field. */
+ public XrBodyJointLocationFB pose(XrPosef value) { npose(address(), value); return this; }
+ /** Passes the {@link #pose} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrBodyJointLocationFB pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
/** Initializes this struct with the specified values. */
public XrBodyJointLocationFB set(
- long locationFlags,
+ long locationFlags,
XrPosef pose
- ) {
- locationFlags(locationFlags);
- pose(pose);
+ ) {
+ locationFlags(locationFlags);
+ pose(pose);
return this;
}
@@ -234,18 +234,18 @@ public static XrBodyJointLocationFB.Buffer calloc(int capacity, MemoryStack stac
}
// -----------------------------------
-
- /** Unsafe version of {@link #locationFlags}. */
- public static long nlocationFlags(long struct) { return UNSAFE.getLong(null, struct + XrBodyJointLocationFB.LOCATIONFLAGS); }
- /** Unsafe version of {@link #pose}. */
- public static XrPosef npose(long struct) { return XrPosef.create(struct + XrBodyJointLocationFB.POSE); }
-
- /** Unsafe version of {@link #locationFlags(long) locationFlags}. */
- public static void nlocationFlags(long struct, long value) { UNSAFE.putLong(null, struct + XrBodyJointLocationFB.LOCATIONFLAGS, value); }
- /** Unsafe version of {@link #pose(XrPosef) pose}. */
- public static void npose(long struct, XrPosef value) { memCopy(value.address(), struct + XrBodyJointLocationFB.POSE, XrPosef.SIZEOF); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #locationFlags}. */
+ public static long nlocationFlags(long struct) { return UNSAFE.getLong(null, struct + XrBodyJointLocationFB.LOCATIONFLAGS); }
+ /** Unsafe version of {@link #pose}. */
+ public static XrPosef npose(long struct) { return XrPosef.create(struct + XrBodyJointLocationFB.POSE); }
+
+ /** Unsafe version of {@link #locationFlags(long) locationFlags}. */
+ public static void nlocationFlags(long struct, long value) { UNSAFE.putLong(null, struct + XrBodyJointLocationFB.LOCATIONFLAGS, value); }
+ /** Unsafe version of {@link #pose(XrPosef) pose}. */
+ public static void npose(long struct, XrPosef value) { memCopy(value.address(), struct + XrBodyJointLocationFB.POSE, XrPosef.SIZEOF); }
+
+ // -----------------------------------
/** An array of {@link XrBodyJointLocationFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -282,19 +282,19 @@ protected Buffer self() {
protected XrBodyJointLocationFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBodyJointLocationFB#locationFlags} field. */
- @NativeType("XrSpaceLocationFlags")
- public long locationFlags() { return XrBodyJointLocationFB.nlocationFlags(address()); }
- /** @return a {@link XrPosef} view of the {@link XrBodyJointLocationFB#pose} field. */
- public XrPosef pose() { return XrBodyJointLocationFB.npose(address()); }
-
- /** Sets the specified value to the {@link XrBodyJointLocationFB#locationFlags} field. */
- public XrBodyJointLocationFB.Buffer locationFlags(@NativeType("XrSpaceLocationFlags") long value) { XrBodyJointLocationFB.nlocationFlags(address(), value); return this; }
- /** Copies the specified {@link XrPosef} to the {@link XrBodyJointLocationFB#pose} field. */
- public XrBodyJointLocationFB.Buffer pose(XrPosef value) { XrBodyJointLocationFB.npose(address(), value); return this; }
- /** Passes the {@link XrBodyJointLocationFB#pose} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrBodyJointLocationFB.Buffer pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
+
+ /** @return the value of the {@link XrBodyJointLocationFB#locationFlags} field. */
+ @NativeType("XrSpaceLocationFlags")
+ public long locationFlags() { return XrBodyJointLocationFB.nlocationFlags(address()); }
+ /** @return a {@link XrPosef} view of the {@link XrBodyJointLocationFB#pose} field. */
+ public XrPosef pose() { return XrBodyJointLocationFB.npose(address()); }
+
+ /** Sets the specified value to the {@link XrBodyJointLocationFB#locationFlags} field. */
+ public XrBodyJointLocationFB.Buffer locationFlags(@NativeType("XrSpaceLocationFlags") long value) { XrBodyJointLocationFB.nlocationFlags(address(), value); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link XrBodyJointLocationFB#pose} field. */
+ public XrBodyJointLocationFB.Buffer pose(XrPosef value) { XrBodyJointLocationFB.npose(address(), value); return this; }
+ /** Passes the {@link XrBodyJointLocationFB#pose} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrBodyJointLocationFB.Buffer pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationsFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationsFB.java
index 46bee8ac3c..ab20474bac 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationsFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointLocationsFB.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Returns the body joint locations.
*
@@ -36,7 +36,7 @@
*
* - The {@link FBBodyTracking XR_FB_body_tracking} extension must be enabled prior to using {@link XrBodyJointLocationsFB}
* - {@code type} must be {@link FBBodyTracking#XR_TYPE_BODY_JOINT_LOCATIONS_FB TYPE_BODY_JOINT_LOCATIONS_FB}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code jointLocations} must be a pointer to an array of {@code jointCount} {@link XrBodyJointLocationFB} structures
* - The {@code jointCount} parameter must be greater than 0
*
@@ -58,8 +58,8 @@
* uint32_t {@link #skeletonChangedCount};
* XrTime {@link #time};
* }
- */
-public class XrBodyJointLocationsFB extends Struct implements NativeResource {
+ */
+public class XrBodyJointLocationsFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -69,39 +69,39 @@ public class XrBodyJointLocationsFB extends Struct imple
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- ISACTIVE,
- CONFIDENCE,
- JOINTCOUNT,
- JOINTLOCATIONS,
- SKELETONCHANGEDCOUNT,
- TIME;
+ TYPE,
+ NEXT,
+ ISACTIVE,
+ CONFIDENCE,
+ JOINTCOUNT,
+ JOINTLOCATIONS,
+ SKELETONCHANGEDCOUNT,
+ TIME;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
- __member(4),
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
+ __member(4),
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
__member(8)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- ISACTIVE = layout.offsetof(2);
- CONFIDENCE = layout.offsetof(3);
- JOINTCOUNT = layout.offsetof(4);
- JOINTLOCATIONS = layout.offsetof(5);
- SKELETONCHANGEDCOUNT = layout.offsetof(6);
- TIME = layout.offsetof(7);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ ISACTIVE = layout.offsetof(2);
+ CONFIDENCE = layout.offsetof(3);
+ JOINTCOUNT = layout.offsetof(4);
+ JOINTLOCATIONS = layout.offsetof(5);
+ SKELETONCHANGEDCOUNT = layout.offsetof(6);
+ TIME = layout.offsetof(7);
+ }
protected XrBodyJointLocationsFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -124,65 +124,65 @@ public XrBodyJointLocationsFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** an {@code XrBool32} indicating if the body tracker is actively tracking. */
- @NativeType("XrBool32")
- public boolean isActive() { return nisActive(address()) != 0; }
- /** a {@code float} between 0 and 1 which represents the confidence for the returned body pose. A value of 0 means there is no confidence in the pose returned, and a value of 1 means maximum confidence in the returned body pose. */
- public float confidence() { return nconfidence(address()); }
- /** a {@code uint32_t} describing the count of elements in {@code jointLocations} array. */
- @NativeType("uint32_t")
- public int jointCount() { return njointCount(address()); }
- /** an application-allocated array of {@link XrBodyJointLocationFB} that will be filled with joint locations. */
- @NativeType("XrBodyJointLocationFB *")
- public XrBodyJointLocationFB.Buffer jointLocations() { return njointLocations(address()); }
- /** an output {@code uint32_t} incremental counter indicating that the skeleton scale proportions have changed. {@link FBBodyTracking#xrGetBodySkeletonFB GetBodySkeletonFB} can be called when this counter increases to get the latest body proportions/scale. */
- @NativeType("uint32_t")
- public int skeletonChangedCount() { return nskeletonChangedCount(address()); }
- /** an {@code XrTime} time at which the returned joints are tracked. Equals the time at which the joints were requested if the interpolation at the time was successful. */
- @NativeType("XrTime")
- public long time() { return ntime(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBodyJointLocationsFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINT_LOCATIONS_FB TYPE_BODY_JOINT_LOCATIONS_FB} value to the {@link #type} field. */
- public XrBodyJointLocationsFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINT_LOCATIONS_FB); }
- /** Sets the specified value to the {@link #next} field. */
- public XrBodyJointLocationsFB next(@NativeType("void *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #isActive} field. */
- public XrBodyJointLocationsFB isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link #confidence} field. */
- public XrBodyJointLocationsFB confidence(float value) { nconfidence(address(), value); return this; }
- /** Sets the address of the specified {@link XrBodyJointLocationFB.Buffer} to the {@link #jointLocations} field. */
- public XrBodyJointLocationsFB jointLocations(@NativeType("XrBodyJointLocationFB *") XrBodyJointLocationFB.Buffer value) { njointLocations(address(), value); return this; }
- /** Sets the specified value to the {@link #skeletonChangedCount} field. */
- public XrBodyJointLocationsFB skeletonChangedCount(@NativeType("uint32_t") int value) { nskeletonChangedCount(address(), value); return this; }
- /** Sets the specified value to the {@link #time} field. */
- public XrBodyJointLocationsFB time(@NativeType("XrTime") long value) { ntime(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** an {@code XrBool32} indicating if the body tracker is actively tracking. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return nisActive(address()) != 0; }
+ /** a {@code float} between 0 and 1 which represents the confidence for the returned body pose. A value of 0 means there is no confidence in the pose returned, and a value of 1 means maximum confidence in the returned body pose. */
+ public float confidence() { return nconfidence(address()); }
+ /** a {@code uint32_t} describing the count of elements in {@code jointLocations} array. */
+ @NativeType("uint32_t")
+ public int jointCount() { return njointCount(address()); }
+ /** an application-allocated array of {@link XrBodyJointLocationFB} that will be filled with joint locations. */
+ @NativeType("XrBodyJointLocationFB *")
+ public XrBodyJointLocationFB.Buffer jointLocations() { return njointLocations(address()); }
+ /** an output {@code uint32_t} incremental counter indicating that the skeleton scale proportions have changed. {@link FBBodyTracking#xrGetBodySkeletonFB GetBodySkeletonFB} can be called when this counter increases to get the latest body proportions/scale. */
+ @NativeType("uint32_t")
+ public int skeletonChangedCount() { return nskeletonChangedCount(address()); }
+ /** an {@code XrTime} time at which the returned joints are tracked. Equals the time at which the joints were requested if the interpolation at the time was successful. */
+ @NativeType("XrTime")
+ public long time() { return ntime(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBodyJointLocationsFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINT_LOCATIONS_FB TYPE_BODY_JOINT_LOCATIONS_FB} value to the {@link #type} field. */
+ public XrBodyJointLocationsFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINT_LOCATIONS_FB); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrBodyJointLocationsFB next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #isActive} field. */
+ public XrBodyJointLocationsFB isActive(@NativeType("XrBool32") boolean value) { nisActive(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link #confidence} field. */
+ public XrBodyJointLocationsFB confidence(float value) { nconfidence(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBodyJointLocationFB.Buffer} to the {@link #jointLocations} field. */
+ public XrBodyJointLocationsFB jointLocations(@NativeType("XrBodyJointLocationFB *") XrBodyJointLocationFB.Buffer value) { njointLocations(address(), value); return this; }
+ /** Sets the specified value to the {@link #skeletonChangedCount} field. */
+ public XrBodyJointLocationsFB skeletonChangedCount(@NativeType("uint32_t") int value) { nskeletonChangedCount(address(), value); return this; }
+ /** Sets the specified value to the {@link #time} field. */
+ public XrBodyJointLocationsFB time(@NativeType("XrTime") long value) { ntime(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBodyJointLocationsFB set(
- int type,
- long next,
- boolean isActive,
- float confidence,
- XrBodyJointLocationFB.Buffer jointLocations,
- int skeletonChangedCount,
+ int type,
+ long next,
+ boolean isActive,
+ float confidence,
+ XrBodyJointLocationFB.Buffer jointLocations,
+ int skeletonChangedCount,
long time
- ) {
- type(type);
- next(next);
- isActive(isActive);
- confidence(confidence);
- jointLocations(jointLocations);
- skeletonChangedCount(skeletonChangedCount);
- time(time);
+ ) {
+ type(type);
+ next(next);
+ isActive(isActive);
+ confidence(confidence);
+ jointLocations(jointLocations);
+ skeletonChangedCount(skeletonChangedCount);
+ time(time);
return this;
}
@@ -311,40 +311,40 @@ public static XrBodyJointLocationsFB.Buffer calloc(int capacity, MemoryStack sta
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrBodyJointLocationsFB.NEXT); }
- /** Unsafe version of {@link #isActive}. */
- public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.ISACTIVE); }
- /** Unsafe version of {@link #confidence}. */
- public static float nconfidence(long struct) { return UNSAFE.getFloat(null, struct + XrBodyJointLocationsFB.CONFIDENCE); }
- /** Unsafe version of {@link #jointCount}. */
- public static int njointCount(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.JOINTCOUNT); }
- /** Unsafe version of {@link #jointLocations}. */
- public static XrBodyJointLocationFB.Buffer njointLocations(long struct) { return XrBodyJointLocationFB.create(memGetAddress(struct + XrBodyJointLocationsFB.JOINTLOCATIONS), njointCount(struct)); }
- /** Unsafe version of {@link #skeletonChangedCount}. */
- public static int nskeletonChangedCount(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.SKELETONCHANGEDCOUNT); }
- /** Unsafe version of {@link #time}. */
- public static long ntime(long struct) { return UNSAFE.getLong(null, struct + XrBodyJointLocationsFB.TIME); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrBodyJointLocationsFB.NEXT, value); }
- /** Unsafe version of {@link #isActive(boolean) isActive}. */
- public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.ISACTIVE, value); }
- /** Unsafe version of {@link #confidence(float) confidence}. */
- public static void nconfidence(long struct, float value) { UNSAFE.putFloat(null, struct + XrBodyJointLocationsFB.CONFIDENCE, value); }
- /** Sets the specified value to the {@code jointCount} field of the specified {@code struct}. */
- public static void njointCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.JOINTCOUNT, value); }
- /** Unsafe version of {@link #jointLocations(XrBodyJointLocationFB.Buffer) jointLocations}. */
- public static void njointLocations(long struct, XrBodyJointLocationFB.Buffer value) { memPutAddress(struct + XrBodyJointLocationsFB.JOINTLOCATIONS, value.address()); njointCount(struct, value.remaining()); }
- /** Unsafe version of {@link #skeletonChangedCount(int) skeletonChangedCount}. */
- public static void nskeletonChangedCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.SKELETONCHANGEDCOUNT, value); }
- /** Unsafe version of {@link #time(long) time}. */
- public static void ntime(long struct, long value) { UNSAFE.putLong(null, struct + XrBodyJointLocationsFB.TIME, value); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrBodyJointLocationsFB.NEXT); }
+ /** Unsafe version of {@link #isActive}. */
+ public static int nisActive(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.ISACTIVE); }
+ /** Unsafe version of {@link #confidence}. */
+ public static float nconfidence(long struct) { return UNSAFE.getFloat(null, struct + XrBodyJointLocationsFB.CONFIDENCE); }
+ /** Unsafe version of {@link #jointCount}. */
+ public static int njointCount(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.JOINTCOUNT); }
+ /** Unsafe version of {@link #jointLocations}. */
+ public static XrBodyJointLocationFB.Buffer njointLocations(long struct) { return XrBodyJointLocationFB.create(memGetAddress(struct + XrBodyJointLocationsFB.JOINTLOCATIONS), njointCount(struct)); }
+ /** Unsafe version of {@link #skeletonChangedCount}. */
+ public static int nskeletonChangedCount(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointLocationsFB.SKELETONCHANGEDCOUNT); }
+ /** Unsafe version of {@link #time}. */
+ public static long ntime(long struct) { return UNSAFE.getLong(null, struct + XrBodyJointLocationsFB.TIME); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrBodyJointLocationsFB.NEXT, value); }
+ /** Unsafe version of {@link #isActive(boolean) isActive}. */
+ public static void nisActive(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.ISACTIVE, value); }
+ /** Unsafe version of {@link #confidence(float) confidence}. */
+ public static void nconfidence(long struct, float value) { UNSAFE.putFloat(null, struct + XrBodyJointLocationsFB.CONFIDENCE, value); }
+ /** Sets the specified value to the {@code jointCount} field of the specified {@code struct}. */
+ public static void njointCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.JOINTCOUNT, value); }
+ /** Unsafe version of {@link #jointLocations(XrBodyJointLocationFB.Buffer) jointLocations}. */
+ public static void njointLocations(long struct, XrBodyJointLocationFB.Buffer value) { memPutAddress(struct + XrBodyJointLocationsFB.JOINTLOCATIONS, value.address()); njointCount(struct, value.remaining()); }
+ /** Unsafe version of {@link #skeletonChangedCount(int) skeletonChangedCount}. */
+ public static void nskeletonChangedCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointLocationsFB.SKELETONCHANGEDCOUNT, value); }
+ /** Unsafe version of {@link #time(long) time}. */
+ public static void ntime(long struct, long value) { UNSAFE.putLong(null, struct + XrBodyJointLocationsFB.TIME, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -353,9 +353,9 @@ public static XrBodyJointLocationsFB.Buffer calloc(int capacity, MemoryStack sta
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrBodyJointLocationsFB.JOINTLOCATIONS));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrBodyJointLocationsFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -392,47 +392,47 @@ protected Buffer self() {
protected XrBodyJointLocationsFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBodyJointLocationsFB#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBodyJointLocationsFB.ntype(address()); }
- /** @return the value of the {@link XrBodyJointLocationsFB#next} field. */
- @NativeType("void *")
- public long next() { return XrBodyJointLocationsFB.nnext(address()); }
- /** @return the value of the {@link XrBodyJointLocationsFB#isActive} field. */
- @NativeType("XrBool32")
- public boolean isActive() { return XrBodyJointLocationsFB.nisActive(address()) != 0; }
- /** @return the value of the {@link XrBodyJointLocationsFB#confidence} field. */
- public float confidence() { return XrBodyJointLocationsFB.nconfidence(address()); }
- /** @return the value of the {@link XrBodyJointLocationsFB#jointCount} field. */
- @NativeType("uint32_t")
- public int jointCount() { return XrBodyJointLocationsFB.njointCount(address()); }
- /** @return a {@link XrBodyJointLocationFB.Buffer} view of the struct array pointed to by the {@link XrBodyJointLocationsFB#jointLocations} field. */
- @NativeType("XrBodyJointLocationFB *")
- public XrBodyJointLocationFB.Buffer jointLocations() { return XrBodyJointLocationsFB.njointLocations(address()); }
- /** @return the value of the {@link XrBodyJointLocationsFB#skeletonChangedCount} field. */
- @NativeType("uint32_t")
- public int skeletonChangedCount() { return XrBodyJointLocationsFB.nskeletonChangedCount(address()); }
- /** @return the value of the {@link XrBodyJointLocationsFB#time} field. */
- @NativeType("XrTime")
- public long time() { return XrBodyJointLocationsFB.ntime(address()); }
-
- /** Sets the specified value to the {@link XrBodyJointLocationsFB#type} field. */
- public XrBodyJointLocationsFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodyJointLocationsFB.ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINT_LOCATIONS_FB TYPE_BODY_JOINT_LOCATIONS_FB} value to the {@link XrBodyJointLocationsFB#type} field. */
- public XrBodyJointLocationsFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINT_LOCATIONS_FB); }
- /** Sets the specified value to the {@link XrBodyJointLocationsFB#next} field. */
- public XrBodyJointLocationsFB.Buffer next(@NativeType("void *") long value) { XrBodyJointLocationsFB.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodyJointLocationsFB#isActive} field. */
- public XrBodyJointLocationsFB.Buffer isActive(@NativeType("XrBool32") boolean value) { XrBodyJointLocationsFB.nisActive(address(), value ? 1 : 0); return this; }
- /** Sets the specified value to the {@link XrBodyJointLocationsFB#confidence} field. */
- public XrBodyJointLocationsFB.Buffer confidence(float value) { XrBodyJointLocationsFB.nconfidence(address(), value); return this; }
- /** Sets the address of the specified {@link XrBodyJointLocationFB.Buffer} to the {@link XrBodyJointLocationsFB#jointLocations} field. */
- public XrBodyJointLocationsFB.Buffer jointLocations(@NativeType("XrBodyJointLocationFB *") XrBodyJointLocationFB.Buffer value) { XrBodyJointLocationsFB.njointLocations(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodyJointLocationsFB#skeletonChangedCount} field. */
- public XrBodyJointLocationsFB.Buffer skeletonChangedCount(@NativeType("uint32_t") int value) { XrBodyJointLocationsFB.nskeletonChangedCount(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodyJointLocationsFB#time} field. */
- public XrBodyJointLocationsFB.Buffer time(@NativeType("XrTime") long value) { XrBodyJointLocationsFB.ntime(address(), value); return this; }
+
+ /** @return the value of the {@link XrBodyJointLocationsFB#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBodyJointLocationsFB.ntype(address()); }
+ /** @return the value of the {@link XrBodyJointLocationsFB#next} field. */
+ @NativeType("void *")
+ public long next() { return XrBodyJointLocationsFB.nnext(address()); }
+ /** @return the value of the {@link XrBodyJointLocationsFB#isActive} field. */
+ @NativeType("XrBool32")
+ public boolean isActive() { return XrBodyJointLocationsFB.nisActive(address()) != 0; }
+ /** @return the value of the {@link XrBodyJointLocationsFB#confidence} field. */
+ public float confidence() { return XrBodyJointLocationsFB.nconfidence(address()); }
+ /** @return the value of the {@link XrBodyJointLocationsFB#jointCount} field. */
+ @NativeType("uint32_t")
+ public int jointCount() { return XrBodyJointLocationsFB.njointCount(address()); }
+ /** @return a {@link XrBodyJointLocationFB.Buffer} view of the struct array pointed to by the {@link XrBodyJointLocationsFB#jointLocations} field. */
+ @NativeType("XrBodyJointLocationFB *")
+ public XrBodyJointLocationFB.Buffer jointLocations() { return XrBodyJointLocationsFB.njointLocations(address()); }
+ /** @return the value of the {@link XrBodyJointLocationsFB#skeletonChangedCount} field. */
+ @NativeType("uint32_t")
+ public int skeletonChangedCount() { return XrBodyJointLocationsFB.nskeletonChangedCount(address()); }
+ /** @return the value of the {@link XrBodyJointLocationsFB#time} field. */
+ @NativeType("XrTime")
+ public long time() { return XrBodyJointLocationsFB.ntime(address()); }
+
+ /** Sets the specified value to the {@link XrBodyJointLocationsFB#type} field. */
+ public XrBodyJointLocationsFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodyJointLocationsFB.ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINT_LOCATIONS_FB TYPE_BODY_JOINT_LOCATIONS_FB} value to the {@link XrBodyJointLocationsFB#type} field. */
+ public XrBodyJointLocationsFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINT_LOCATIONS_FB); }
+ /** Sets the specified value to the {@link XrBodyJointLocationsFB#next} field. */
+ public XrBodyJointLocationsFB.Buffer next(@NativeType("void *") long value) { XrBodyJointLocationsFB.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodyJointLocationsFB#isActive} field. */
+ public XrBodyJointLocationsFB.Buffer isActive(@NativeType("XrBool32") boolean value) { XrBodyJointLocationsFB.nisActive(address(), value ? 1 : 0); return this; }
+ /** Sets the specified value to the {@link XrBodyJointLocationsFB#confidence} field. */
+ public XrBodyJointLocationsFB.Buffer confidence(float value) { XrBodyJointLocationsFB.nconfidence(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBodyJointLocationFB.Buffer} to the {@link XrBodyJointLocationsFB#jointLocations} field. */
+ public XrBodyJointLocationsFB.Buffer jointLocations(@NativeType("XrBodyJointLocationFB *") XrBodyJointLocationFB.Buffer value) { XrBodyJointLocationsFB.njointLocations(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodyJointLocationsFB#skeletonChangedCount} field. */
+ public XrBodyJointLocationsFB.Buffer skeletonChangedCount(@NativeType("uint32_t") int value) { XrBodyJointLocationsFB.nskeletonChangedCount(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodyJointLocationsFB#time} field. */
+ public XrBodyJointLocationsFB.Buffer time(@NativeType("XrTime") long value) { XrBodyJointLocationsFB.ntime(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointsLocateInfoFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointsLocateInfoFB.java
index 2a232e9865..b4d26b809e 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointsLocateInfoFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyJointsLocateInfoFB.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Describes the information to locate body joints.
*
@@ -28,7 +28,7 @@
*
* - The {@link FBBodyTracking XR_FB_body_tracking} extension must be enabled prior to using {@link XrBodyJointsLocateInfoFB}
* - {@code type} must be {@link FBBodyTracking#XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB TYPE_BODY_JOINTS_LOCATE_INFO_FB}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code baseSpace} must be a valid {@code XrSpace} handle
*
*
@@ -45,8 +45,8 @@
* XrSpace {@link #baseSpace};
* XrTime {@link #time};
* }
- */
-public class XrBodyJointsLocateInfoFB extends Struct implements NativeResource {
+ */
+public class XrBodyJointsLocateInfoFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -56,27 +56,27 @@ public class XrBodyJointsLocateInfoFB extends Struct i
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- BASESPACE,
- TIME;
+ TYPE,
+ NEXT,
+ BASESPACE,
+ TIME;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(POINTER_SIZE),
__member(8)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- BASESPACE = layout.offsetof(2);
- TIME = layout.offsetof(3);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ BASESPACE = layout.offsetof(2);
+ TIME = layout.offsetof(3);
+ }
protected XrBodyJointsLocateInfoFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -99,42 +99,42 @@ public XrBodyJointsLocateInfoFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** an {@code XrSpace} within which the returned body joint locations will be represented. */
- @NativeType("XrSpace")
- public long baseSpace() { return nbaseSpace(address()); }
- /** an {@code XrTime} at which to locate the body joints. */
- @NativeType("XrTime")
- public long time() { return ntime(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBodyJointsLocateInfoFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB TYPE_BODY_JOINTS_LOCATE_INFO_FB} value to the {@link #type} field. */
- public XrBodyJointsLocateInfoFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB); }
- /** Sets the specified value to the {@link #next} field. */
- public XrBodyJointsLocateInfoFB next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #baseSpace} field. */
- public XrBodyJointsLocateInfoFB baseSpace(XrSpace value) { nbaseSpace(address(), value); return this; }
- /** Sets the specified value to the {@link #time} field. */
- public XrBodyJointsLocateInfoFB time(@NativeType("XrTime") long value) { ntime(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** an {@code XrSpace} within which the returned body joint locations will be represented. */
+ @NativeType("XrSpace")
+ public long baseSpace() { return nbaseSpace(address()); }
+ /** an {@code XrTime} at which to locate the body joints. */
+ @NativeType("XrTime")
+ public long time() { return ntime(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBodyJointsLocateInfoFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB TYPE_BODY_JOINTS_LOCATE_INFO_FB} value to the {@link #type} field. */
+ public XrBodyJointsLocateInfoFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrBodyJointsLocateInfoFB next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #baseSpace} field. */
+ public XrBodyJointsLocateInfoFB baseSpace(XrSpace value) { nbaseSpace(address(), value); return this; }
+ /** Sets the specified value to the {@link #time} field. */
+ public XrBodyJointsLocateInfoFB time(@NativeType("XrTime") long value) { ntime(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBodyJointsLocateInfoFB set(
- int type,
- long next,
- XrSpace baseSpace,
+ int type,
+ long next,
+ XrSpace baseSpace,
long time
- ) {
- type(type);
- next(next);
- baseSpace(baseSpace);
- time(time);
+ ) {
+ type(type);
+ next(next);
+ baseSpace(baseSpace);
+ time(time);
return this;
}
@@ -263,24 +263,24 @@ public static XrBodyJointsLocateInfoFB.Buffer calloc(int capacity, MemoryStack s
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointsLocateInfoFB.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrBodyJointsLocateInfoFB.NEXT); }
- /** Unsafe version of {@link #baseSpace}. */
- public static long nbaseSpace(long struct) { return memGetAddress(struct + XrBodyJointsLocateInfoFB.BASESPACE); }
- /** Unsafe version of {@link #time}. */
- public static long ntime(long struct) { return UNSAFE.getLong(null, struct + XrBodyJointsLocateInfoFB.TIME); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointsLocateInfoFB.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrBodyJointsLocateInfoFB.NEXT, value); }
- /** Unsafe version of {@link #baseSpace(XrSpace) baseSpace}. */
- public static void nbaseSpace(long struct, XrSpace value) { memPutAddress(struct + XrBodyJointsLocateInfoFB.BASESPACE, value.address()); }
- /** Unsafe version of {@link #time(long) time}. */
- public static void ntime(long struct, long value) { UNSAFE.putLong(null, struct + XrBodyJointsLocateInfoFB.TIME, value); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodyJointsLocateInfoFB.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrBodyJointsLocateInfoFB.NEXT); }
+ /** Unsafe version of {@link #baseSpace}. */
+ public static long nbaseSpace(long struct) { return memGetAddress(struct + XrBodyJointsLocateInfoFB.BASESPACE); }
+ /** Unsafe version of {@link #time}. */
+ public static long ntime(long struct) { return UNSAFE.getLong(null, struct + XrBodyJointsLocateInfoFB.TIME); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyJointsLocateInfoFB.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrBodyJointsLocateInfoFB.NEXT, value); }
+ /** Unsafe version of {@link #baseSpace(XrSpace) baseSpace}. */
+ public static void nbaseSpace(long struct, XrSpace value) { memPutAddress(struct + XrBodyJointsLocateInfoFB.BASESPACE, value.address()); }
+ /** Unsafe version of {@link #time(long) time}. */
+ public static void ntime(long struct, long value) { UNSAFE.putLong(null, struct + XrBodyJointsLocateInfoFB.TIME, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -289,9 +289,9 @@ public static XrBodyJointsLocateInfoFB.Buffer calloc(int capacity, MemoryStack s
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrBodyJointsLocateInfoFB.BASESPACE));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrBodyJointsLocateInfoFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -328,30 +328,30 @@ protected Buffer self() {
protected XrBodyJointsLocateInfoFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBodyJointsLocateInfoFB#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBodyJointsLocateInfoFB.ntype(address()); }
- /** @return the value of the {@link XrBodyJointsLocateInfoFB#next} field. */
- @NativeType("void const *")
- public long next() { return XrBodyJointsLocateInfoFB.nnext(address()); }
- /** @return the value of the {@link XrBodyJointsLocateInfoFB#baseSpace} field. */
- @NativeType("XrSpace")
- public long baseSpace() { return XrBodyJointsLocateInfoFB.nbaseSpace(address()); }
- /** @return the value of the {@link XrBodyJointsLocateInfoFB#time} field. */
- @NativeType("XrTime")
- public long time() { return XrBodyJointsLocateInfoFB.ntime(address()); }
-
- /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#type} field. */
- public XrBodyJointsLocateInfoFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodyJointsLocateInfoFB.ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB TYPE_BODY_JOINTS_LOCATE_INFO_FB} value to the {@link XrBodyJointsLocateInfoFB#type} field. */
- public XrBodyJointsLocateInfoFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB); }
- /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#next} field. */
- public XrBodyJointsLocateInfoFB.Buffer next(@NativeType("void const *") long value) { XrBodyJointsLocateInfoFB.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#baseSpace} field. */
- public XrBodyJointsLocateInfoFB.Buffer baseSpace(XrSpace value) { XrBodyJointsLocateInfoFB.nbaseSpace(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#time} field. */
- public XrBodyJointsLocateInfoFB.Buffer time(@NativeType("XrTime") long value) { XrBodyJointsLocateInfoFB.ntime(address(), value); return this; }
+
+ /** @return the value of the {@link XrBodyJointsLocateInfoFB#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBodyJointsLocateInfoFB.ntype(address()); }
+ /** @return the value of the {@link XrBodyJointsLocateInfoFB#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrBodyJointsLocateInfoFB.nnext(address()); }
+ /** @return the value of the {@link XrBodyJointsLocateInfoFB#baseSpace} field. */
+ @NativeType("XrSpace")
+ public long baseSpace() { return XrBodyJointsLocateInfoFB.nbaseSpace(address()); }
+ /** @return the value of the {@link XrBodyJointsLocateInfoFB#time} field. */
+ @NativeType("XrTime")
+ public long time() { return XrBodyJointsLocateInfoFB.ntime(address()); }
+
+ /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#type} field. */
+ public XrBodyJointsLocateInfoFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodyJointsLocateInfoFB.ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB TYPE_BODY_JOINTS_LOCATE_INFO_FB} value to the {@link XrBodyJointsLocateInfoFB#type} field. */
+ public XrBodyJointsLocateInfoFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_JOINTS_LOCATE_INFO_FB); }
+ /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#next} field. */
+ public XrBodyJointsLocateInfoFB.Buffer next(@NativeType("void const *") long value) { XrBodyJointsLocateInfoFB.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#baseSpace} field. */
+ public XrBodyJointsLocateInfoFB.Buffer baseSpace(XrSpace value) { XrBodyJointsLocateInfoFB.nbaseSpace(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodyJointsLocateInfoFB#time} field. */
+ public XrBodyJointsLocateInfoFB.Buffer time(@NativeType("XrTime") long value) { XrBodyJointsLocateInfoFB.ntime(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonFB.java
index 7afa5a65d8..daa5d70e33 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonFB.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Returns the body skeleton hierarchy.
*
@@ -30,7 +30,7 @@
*
* - The {@link FBBodyTracking XR_FB_body_tracking} extension must be enabled prior to using {@link XrBodySkeletonFB}
* - {@code type} must be {@link FBBodyTracking#XR_TYPE_BODY_SKELETON_FB TYPE_BODY_SKELETON_FB}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code joints} must be a pointer to an array of {@code jointCount} {@link XrBodySkeletonJointFB} structures
* - The {@code jointCount} parameter must be greater than 0
*
@@ -48,8 +48,8 @@
* uint32_t {@link #jointCount};
* {@link XrBodySkeletonJointFB XrBodySkeletonJointFB} * {@link #joints};
* }
- */
-public class XrBodySkeletonFB extends Struct implements NativeResource {
+ */
+public class XrBodySkeletonFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -59,27 +59,27 @@ public class XrBodySkeletonFB extends Struct implements Native
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- JOINTCOUNT,
- JOINTS;
+ TYPE,
+ NEXT,
+ JOINTCOUNT,
+ JOINTS;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- JOINTCOUNT = layout.offsetof(2);
- JOINTS = layout.offsetof(3);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ JOINTCOUNT = layout.offsetof(2);
+ JOINTS = layout.offsetof(3);
+ }
protected XrBodySkeletonFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -102,38 +102,38 @@ public XrBodySkeletonFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
- @NativeType("void *")
- public long next() { return nnext(address()); }
- /** an {@code uint32_t} describing the count of elements in {@code joints} array. */
- @NativeType("uint32_t")
- public int jointCount() { return njointCount(address()); }
- /** an application-allocated array of {@link XrBodySkeletonJointFB} that will be filled with skeleton joint elements. */
- @NativeType("XrBodySkeletonJointFB *")
- public XrBodySkeletonJointFB.Buffer joints() { return njoints(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBodySkeletonFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_SKELETON_FB TYPE_BODY_SKELETON_FB} value to the {@link #type} field. */
- public XrBodySkeletonFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_SKELETON_FB); }
- /** Sets the specified value to the {@link #next} field. */
- public XrBodySkeletonFB next(@NativeType("void *") long value) { nnext(address(), value); return this; }
- /** Sets the address of the specified {@link XrBodySkeletonJointFB.Buffer} to the {@link #joints} field. */
- public XrBodySkeletonFB joints(@NativeType("XrBodySkeletonJointFB *") XrBodySkeletonJointFB.Buffer value) { njoints(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void *")
+ public long next() { return nnext(address()); }
+ /** an {@code uint32_t} describing the count of elements in {@code joints} array. */
+ @NativeType("uint32_t")
+ public int jointCount() { return njointCount(address()); }
+ /** an application-allocated array of {@link XrBodySkeletonJointFB} that will be filled with skeleton joint elements. */
+ @NativeType("XrBodySkeletonJointFB *")
+ public XrBodySkeletonJointFB.Buffer joints() { return njoints(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBodySkeletonFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_SKELETON_FB TYPE_BODY_SKELETON_FB} value to the {@link #type} field. */
+ public XrBodySkeletonFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_SKELETON_FB); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrBodySkeletonFB next(@NativeType("void *") long value) { nnext(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBodySkeletonJointFB.Buffer} to the {@link #joints} field. */
+ public XrBodySkeletonFB joints(@NativeType("XrBodySkeletonJointFB *") XrBodySkeletonJointFB.Buffer value) { njoints(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBodySkeletonFB set(
- int type,
- long next,
+ int type,
+ long next,
XrBodySkeletonJointFB.Buffer joints
- ) {
- type(type);
- next(next);
- joints(joints);
+ ) {
+ type(type);
+ next(next);
+ joints(joints);
return this;
}
@@ -262,24 +262,24 @@ public static XrBodySkeletonFB.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonFB.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrBodySkeletonFB.NEXT); }
- /** Unsafe version of {@link #jointCount}. */
- public static int njointCount(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonFB.JOINTCOUNT); }
- /** Unsafe version of {@link #joints}. */
- public static XrBodySkeletonJointFB.Buffer njoints(long struct) { return XrBodySkeletonJointFB.create(memGetAddress(struct + XrBodySkeletonFB.JOINTS), njointCount(struct)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonFB.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrBodySkeletonFB.NEXT, value); }
- /** Sets the specified value to the {@code jointCount} field of the specified {@code struct}. */
- public static void njointCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonFB.JOINTCOUNT, value); }
- /** Unsafe version of {@link #joints(XrBodySkeletonJointFB.Buffer) joints}. */
- public static void njoints(long struct, XrBodySkeletonJointFB.Buffer value) { memPutAddress(struct + XrBodySkeletonFB.JOINTS, value.address()); njointCount(struct, value.remaining()); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonFB.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrBodySkeletonFB.NEXT); }
+ /** Unsafe version of {@link #jointCount}. */
+ public static int njointCount(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonFB.JOINTCOUNT); }
+ /** Unsafe version of {@link #joints}. */
+ public static XrBodySkeletonJointFB.Buffer njoints(long struct) { return XrBodySkeletonJointFB.create(memGetAddress(struct + XrBodySkeletonFB.JOINTS), njointCount(struct)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonFB.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrBodySkeletonFB.NEXT, value); }
+ /** Sets the specified value to the {@code jointCount} field of the specified {@code struct}. */
+ public static void njointCount(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonFB.JOINTCOUNT, value); }
+ /** Unsafe version of {@link #joints(XrBodySkeletonJointFB.Buffer) joints}. */
+ public static void njoints(long struct, XrBodySkeletonJointFB.Buffer value) { memPutAddress(struct + XrBodySkeletonFB.JOINTS, value.address()); njointCount(struct, value.remaining()); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -288,9 +288,9 @@ public static XrBodySkeletonFB.Buffer calloc(int capacity, MemoryStack stack) {
*/
public static void validate(long struct) {
check(memGetAddress(struct + XrBodySkeletonFB.JOINTS));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrBodySkeletonFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -327,28 +327,28 @@ protected Buffer self() {
protected XrBodySkeletonFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBodySkeletonFB#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBodySkeletonFB.ntype(address()); }
- /** @return the value of the {@link XrBodySkeletonFB#next} field. */
- @NativeType("void *")
- public long next() { return XrBodySkeletonFB.nnext(address()); }
- /** @return the value of the {@link XrBodySkeletonFB#jointCount} field. */
- @NativeType("uint32_t")
- public int jointCount() { return XrBodySkeletonFB.njointCount(address()); }
- /** @return a {@link XrBodySkeletonJointFB.Buffer} view of the struct array pointed to by the {@link XrBodySkeletonFB#joints} field. */
- @NativeType("XrBodySkeletonJointFB *")
- public XrBodySkeletonJointFB.Buffer joints() { return XrBodySkeletonFB.njoints(address()); }
-
- /** Sets the specified value to the {@link XrBodySkeletonFB#type} field. */
- public XrBodySkeletonFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodySkeletonFB.ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_SKELETON_FB TYPE_BODY_SKELETON_FB} value to the {@link XrBodySkeletonFB#type} field. */
- public XrBodySkeletonFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_SKELETON_FB); }
- /** Sets the specified value to the {@link XrBodySkeletonFB#next} field. */
- public XrBodySkeletonFB.Buffer next(@NativeType("void *") long value) { XrBodySkeletonFB.nnext(address(), value); return this; }
- /** Sets the address of the specified {@link XrBodySkeletonJointFB.Buffer} to the {@link XrBodySkeletonFB#joints} field. */
- public XrBodySkeletonFB.Buffer joints(@NativeType("XrBodySkeletonJointFB *") XrBodySkeletonJointFB.Buffer value) { XrBodySkeletonFB.njoints(address(), value); return this; }
+
+ /** @return the value of the {@link XrBodySkeletonFB#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBodySkeletonFB.ntype(address()); }
+ /** @return the value of the {@link XrBodySkeletonFB#next} field. */
+ @NativeType("void *")
+ public long next() { return XrBodySkeletonFB.nnext(address()); }
+ /** @return the value of the {@link XrBodySkeletonFB#jointCount} field. */
+ @NativeType("uint32_t")
+ public int jointCount() { return XrBodySkeletonFB.njointCount(address()); }
+ /** @return a {@link XrBodySkeletonJointFB.Buffer} view of the struct array pointed to by the {@link XrBodySkeletonFB#joints} field. */
+ @NativeType("XrBodySkeletonJointFB *")
+ public XrBodySkeletonJointFB.Buffer joints() { return XrBodySkeletonFB.njoints(address()); }
+
+ /** Sets the specified value to the {@link XrBodySkeletonFB#type} field. */
+ public XrBodySkeletonFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodySkeletonFB.ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_SKELETON_FB TYPE_BODY_SKELETON_FB} value to the {@link XrBodySkeletonFB#type} field. */
+ public XrBodySkeletonFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_SKELETON_FB); }
+ /** Sets the specified value to the {@link XrBodySkeletonFB#next} field. */
+ public XrBodySkeletonFB.Buffer next(@NativeType("void *") long value) { XrBodySkeletonFB.nnext(address(), value); return this; }
+ /** Sets the address of the specified {@link XrBodySkeletonJointFB.Buffer} to the {@link XrBodySkeletonFB#joints} field. */
+ public XrBodySkeletonFB.Buffer joints(@NativeType("XrBodySkeletonJointFB *") XrBodySkeletonJointFB.Buffer value) { XrBodySkeletonFB.njoints(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonJointFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonJointFB.java
index 5375f6d6c6..ed3d33ba65 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonJointFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodySkeletonJointFB.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Describes the location and position of a joint in the skeleton hierarchy.
*
@@ -36,8 +36,8 @@
* int32_t {@link #parentJoint};
* {@link XrPosef XrPosef} {@link #pose};
* }
- */
-public class XrBodySkeletonJointFB extends Struct implements NativeResource {
+ */
+public class XrBodySkeletonJointFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -47,24 +47,24 @@ public class XrBodySkeletonJointFB extends Struct impleme
/** The struct member offsets. */
public static final int
- JOINT,
- PARENTJOINT,
- POSE;
+ JOINT,
+ PARENTJOINT,
+ POSE;
static {
- Layout layout = __struct(
- __member(4),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(4),
__member(XrPosef.SIZEOF, XrPosef.ALIGNOF)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- JOINT = layout.offsetof(0);
- PARENTJOINT = layout.offsetof(1);
- POSE = layout.offsetof(2);
- }
+ JOINT = layout.offsetof(0);
+ PARENTJOINT = layout.offsetof(1);
+ POSE = layout.offsetof(2);
+ }
protected XrBodySkeletonJointFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -87,34 +87,34 @@ public XrBodySkeletonJointFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** an index of a joint using the corresponding body joint enum (e.g. {@code XrBodyJointFB}). */
- @NativeType("int32_t")
- public int joint() { return njoint(address()); }
- /** an index of a parent joint of that joint, using the corresponding body joint enum (e.g. {@code XrBodyJointFB}). */
- @NativeType("int32_t")
- public int parentJoint() { return nparentJoint(address()); }
- /** an {@link XrPosef} defining the position and orientation of the origin of a body joint within the reference frame of the corresponding {@link XrBodyJointsLocateInfoFB}{@code ::baseSpace}. */
- public XrPosef pose() { return npose(address()); }
-
- /** Sets the specified value to the {@link #joint} field. */
- public XrBodySkeletonJointFB joint(@NativeType("int32_t") int value) { njoint(address(), value); return this; }
- /** Sets the specified value to the {@link #parentJoint} field. */
- public XrBodySkeletonJointFB parentJoint(@NativeType("int32_t") int value) { nparentJoint(address(), value); return this; }
- /** Copies the specified {@link XrPosef} to the {@link #pose} field. */
- public XrBodySkeletonJointFB pose(XrPosef value) { npose(address(), value); return this; }
- /** Passes the {@link #pose} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrBodySkeletonJointFB pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
+
+ /** an index of a joint using the corresponding body joint enum (e.g. {@code XrBodyJointFB}). */
+ @NativeType("int32_t")
+ public int joint() { return njoint(address()); }
+ /** an index of a parent joint of that joint, using the corresponding body joint enum (e.g. {@code XrBodyJointFB}). */
+ @NativeType("int32_t")
+ public int parentJoint() { return nparentJoint(address()); }
+ /** an {@link XrPosef} defining the position and orientation of the origin of a body joint within the reference frame of the corresponding {@link XrBodyJointsLocateInfoFB}{@code ::baseSpace}. */
+ public XrPosef pose() { return npose(address()); }
+
+ /** Sets the specified value to the {@link #joint} field. */
+ public XrBodySkeletonJointFB joint(@NativeType("int32_t") int value) { njoint(address(), value); return this; }
+ /** Sets the specified value to the {@link #parentJoint} field. */
+ public XrBodySkeletonJointFB parentJoint(@NativeType("int32_t") int value) { nparentJoint(address(), value); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link #pose} field. */
+ public XrBodySkeletonJointFB pose(XrPosef value) { npose(address(), value); return this; }
+ /** Passes the {@link #pose} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrBodySkeletonJointFB pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
/** Initializes this struct with the specified values. */
public XrBodySkeletonJointFB set(
- int joint,
- int parentJoint,
+ int joint,
+ int parentJoint,
XrPosef pose
- ) {
- joint(joint);
- parentJoint(parentJoint);
- pose(pose);
+ ) {
+ joint(joint);
+ parentJoint(parentJoint);
+ pose(pose);
return this;
}
@@ -243,22 +243,22 @@ public static XrBodySkeletonJointFB.Buffer calloc(int capacity, MemoryStack stac
}
// -----------------------------------
-
- /** Unsafe version of {@link #joint}. */
- public static int njoint(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonJointFB.JOINT); }
- /** Unsafe version of {@link #parentJoint}. */
- public static int nparentJoint(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonJointFB.PARENTJOINT); }
- /** Unsafe version of {@link #pose}. */
- public static XrPosef npose(long struct) { return XrPosef.create(struct + XrBodySkeletonJointFB.POSE); }
-
- /** Unsafe version of {@link #joint(int) joint}. */
- public static void njoint(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonJointFB.JOINT, value); }
- /** Unsafe version of {@link #parentJoint(int) parentJoint}. */
- public static void nparentJoint(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonJointFB.PARENTJOINT, value); }
- /** Unsafe version of {@link #pose(XrPosef) pose}. */
- public static void npose(long struct, XrPosef value) { memCopy(value.address(), struct + XrBodySkeletonJointFB.POSE, XrPosef.SIZEOF); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #joint}. */
+ public static int njoint(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonJointFB.JOINT); }
+ /** Unsafe version of {@link #parentJoint}. */
+ public static int nparentJoint(long struct) { return UNSAFE.getInt(null, struct + XrBodySkeletonJointFB.PARENTJOINT); }
+ /** Unsafe version of {@link #pose}. */
+ public static XrPosef npose(long struct) { return XrPosef.create(struct + XrBodySkeletonJointFB.POSE); }
+
+ /** Unsafe version of {@link #joint(int) joint}. */
+ public static void njoint(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonJointFB.JOINT, value); }
+ /** Unsafe version of {@link #parentJoint(int) parentJoint}. */
+ public static void nparentJoint(long struct, int value) { UNSAFE.putInt(null, struct + XrBodySkeletonJointFB.PARENTJOINT, value); }
+ /** Unsafe version of {@link #pose(XrPosef) pose}. */
+ public static void npose(long struct, XrPosef value) { memCopy(value.address(), struct + XrBodySkeletonJointFB.POSE, XrPosef.SIZEOF); }
+
+ // -----------------------------------
/** An array of {@link XrBodySkeletonJointFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -295,24 +295,24 @@ protected Buffer self() {
protected XrBodySkeletonJointFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBodySkeletonJointFB#joint} field. */
- @NativeType("int32_t")
- public int joint() { return XrBodySkeletonJointFB.njoint(address()); }
- /** @return the value of the {@link XrBodySkeletonJointFB#parentJoint} field. */
- @NativeType("int32_t")
- public int parentJoint() { return XrBodySkeletonJointFB.nparentJoint(address()); }
- /** @return a {@link XrPosef} view of the {@link XrBodySkeletonJointFB#pose} field. */
- public XrPosef pose() { return XrBodySkeletonJointFB.npose(address()); }
-
- /** Sets the specified value to the {@link XrBodySkeletonJointFB#joint} field. */
- public XrBodySkeletonJointFB.Buffer joint(@NativeType("int32_t") int value) { XrBodySkeletonJointFB.njoint(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodySkeletonJointFB#parentJoint} field. */
- public XrBodySkeletonJointFB.Buffer parentJoint(@NativeType("int32_t") int value) { XrBodySkeletonJointFB.nparentJoint(address(), value); return this; }
- /** Copies the specified {@link XrPosef} to the {@link XrBodySkeletonJointFB#pose} field. */
- public XrBodySkeletonJointFB.Buffer pose(XrPosef value) { XrBodySkeletonJointFB.npose(address(), value); return this; }
- /** Passes the {@link XrBodySkeletonJointFB#pose} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrBodySkeletonJointFB.Buffer pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
+
+ /** @return the value of the {@link XrBodySkeletonJointFB#joint} field. */
+ @NativeType("int32_t")
+ public int joint() { return XrBodySkeletonJointFB.njoint(address()); }
+ /** @return the value of the {@link XrBodySkeletonJointFB#parentJoint} field. */
+ @NativeType("int32_t")
+ public int parentJoint() { return XrBodySkeletonJointFB.nparentJoint(address()); }
+ /** @return a {@link XrPosef} view of the {@link XrBodySkeletonJointFB#pose} field. */
+ public XrPosef pose() { return XrBodySkeletonJointFB.npose(address()); }
+
+ /** Sets the specified value to the {@link XrBodySkeletonJointFB#joint} field. */
+ public XrBodySkeletonJointFB.Buffer joint(@NativeType("int32_t") int value) { XrBodySkeletonJointFB.njoint(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodySkeletonJointFB#parentJoint} field. */
+ public XrBodySkeletonJointFB.Buffer parentJoint(@NativeType("int32_t") int value) { XrBodySkeletonJointFB.nparentJoint(address(), value); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link XrBodySkeletonJointFB#pose} field. */
+ public XrBodySkeletonJointFB.Buffer pose(XrPosef value) { XrBodySkeletonJointFB.npose(address(), value); return this; }
+ /** Passes the {@link XrBodySkeletonJointFB#pose} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrBodySkeletonJointFB.Buffer pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerCreateInfoFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerCreateInfoFB.java
index 0efe9d4021..d5d40d7a16 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerCreateInfoFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerCreateInfoFB.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Information to create a body joints handle.
*
@@ -23,7 +23,7 @@
*
* - The {@link FBBodyTracking XR_FB_body_tracking} extension must be enabled prior to using {@link XrBodyTrackerCreateInfoFB}
* - {@code type} must be {@link FBBodyTracking#XR_TYPE_BODY_TRACKER_CREATE_INFO_FB TYPE_BODY_TRACKER_CREATE_INFO_FB}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code bodyJointSet} must be a valid {@code XrBodyJointSetFB} value
*
*
@@ -39,8 +39,8 @@
* void const * {@link #next};
* XrBodyJointSetFB {@link #bodyJointSet};
* }
- */
-public class XrBodyTrackerCreateInfoFB extends Struct implements NativeResource {
+ */
+public class XrBodyTrackerCreateInfoFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -50,24 +50,24 @@ public class XrBodyTrackerCreateInfoFB extends Struct
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- BODYJOINTSET;
+ TYPE,
+ NEXT,
+ BODYJOINTSET;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- BODYJOINTSET = layout.offsetof(2);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ BODYJOINTSET = layout.offsetof(2);
+ }
protected XrBodyTrackerCreateInfoFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -90,35 +90,35 @@ public XrBodyTrackerCreateInfoFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** an {@code XrBodyJointSetFB} that describes the set of body joints to retrieve. */
- @NativeType("XrBodyJointSetFB")
- public int bodyJointSet() { return nbodyJointSet(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBodyTrackerCreateInfoFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_TRACKER_CREATE_INFO_FB TYPE_BODY_TRACKER_CREATE_INFO_FB} value to the {@link #type} field. */
- public XrBodyTrackerCreateInfoFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_TRACKER_CREATE_INFO_FB); }
- /** Sets the specified value to the {@link #next} field. */
- public XrBodyTrackerCreateInfoFB next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #bodyJointSet} field. */
- public XrBodyTrackerCreateInfoFB bodyJointSet(@NativeType("XrBodyJointSetFB") int value) { nbodyJointSet(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** an {@code XrBodyJointSetFB} that describes the set of body joints to retrieve. */
+ @NativeType("XrBodyJointSetFB")
+ public int bodyJointSet() { return nbodyJointSet(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBodyTrackerCreateInfoFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_TRACKER_CREATE_INFO_FB TYPE_BODY_TRACKER_CREATE_INFO_FB} value to the {@link #type} field. */
+ public XrBodyTrackerCreateInfoFB type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_TRACKER_CREATE_INFO_FB); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrBodyTrackerCreateInfoFB next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #bodyJointSet} field. */
+ public XrBodyTrackerCreateInfoFB bodyJointSet(@NativeType("XrBodyJointSetFB") int value) { nbodyJointSet(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBodyTrackerCreateInfoFB set(
- int type,
- long next,
+ int type,
+ long next,
int bodyJointSet
- ) {
- type(type);
- next(next);
- bodyJointSet(bodyJointSet);
+ ) {
+ type(type);
+ next(next);
+ bodyJointSet(bodyJointSet);
return this;
}
@@ -247,22 +247,22 @@ public static XrBodyTrackerCreateInfoFB.Buffer calloc(int capacity, MemoryStack
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodyTrackerCreateInfoFB.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrBodyTrackerCreateInfoFB.NEXT); }
- /** Unsafe version of {@link #bodyJointSet}. */
- public static int nbodyJointSet(long struct) { return UNSAFE.getInt(null, struct + XrBodyTrackerCreateInfoFB.BODYJOINTSET); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyTrackerCreateInfoFB.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrBodyTrackerCreateInfoFB.NEXT, value); }
- /** Unsafe version of {@link #bodyJointSet(int) bodyJointSet}. */
- public static void nbodyJointSet(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyTrackerCreateInfoFB.BODYJOINTSET, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBodyTrackerCreateInfoFB.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrBodyTrackerCreateInfoFB.NEXT); }
+ /** Unsafe version of {@link #bodyJointSet}. */
+ public static int nbodyJointSet(long struct) { return UNSAFE.getInt(null, struct + XrBodyTrackerCreateInfoFB.BODYJOINTSET); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyTrackerCreateInfoFB.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrBodyTrackerCreateInfoFB.NEXT, value); }
+ /** Unsafe version of {@link #bodyJointSet(int) bodyJointSet}. */
+ public static void nbodyJointSet(long struct, int value) { UNSAFE.putInt(null, struct + XrBodyTrackerCreateInfoFB.BODYJOINTSET, value); }
+
+ // -----------------------------------
/** An array of {@link XrBodyTrackerCreateInfoFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -299,25 +299,25 @@ protected Buffer self() {
protected XrBodyTrackerCreateInfoFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBodyTrackerCreateInfoFB#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBodyTrackerCreateInfoFB.ntype(address()); }
- /** @return the value of the {@link XrBodyTrackerCreateInfoFB#next} field. */
- @NativeType("void const *")
- public long next() { return XrBodyTrackerCreateInfoFB.nnext(address()); }
- /** @return the value of the {@link XrBodyTrackerCreateInfoFB#bodyJointSet} field. */
- @NativeType("XrBodyJointSetFB")
- public int bodyJointSet() { return XrBodyTrackerCreateInfoFB.nbodyJointSet(address()); }
-
- /** Sets the specified value to the {@link XrBodyTrackerCreateInfoFB#type} field. */
- public XrBodyTrackerCreateInfoFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodyTrackerCreateInfoFB.ntype(address(), value); return this; }
- /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_TRACKER_CREATE_INFO_FB TYPE_BODY_TRACKER_CREATE_INFO_FB} value to the {@link XrBodyTrackerCreateInfoFB#type} field. */
- public XrBodyTrackerCreateInfoFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_TRACKER_CREATE_INFO_FB); }
- /** Sets the specified value to the {@link XrBodyTrackerCreateInfoFB#next} field. */
- public XrBodyTrackerCreateInfoFB.Buffer next(@NativeType("void const *") long value) { XrBodyTrackerCreateInfoFB.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrBodyTrackerCreateInfoFB#bodyJointSet} field. */
- public XrBodyTrackerCreateInfoFB.Buffer bodyJointSet(@NativeType("XrBodyJointSetFB") int value) { XrBodyTrackerCreateInfoFB.nbodyJointSet(address(), value); return this; }
+
+ /** @return the value of the {@link XrBodyTrackerCreateInfoFB#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBodyTrackerCreateInfoFB.ntype(address()); }
+ /** @return the value of the {@link XrBodyTrackerCreateInfoFB#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrBodyTrackerCreateInfoFB.nnext(address()); }
+ /** @return the value of the {@link XrBodyTrackerCreateInfoFB#bodyJointSet} field. */
+ @NativeType("XrBodyJointSetFB")
+ public int bodyJointSet() { return XrBodyTrackerCreateInfoFB.nbodyJointSet(address()); }
+
+ /** Sets the specified value to the {@link XrBodyTrackerCreateInfoFB#type} field. */
+ public XrBodyTrackerCreateInfoFB.Buffer type(@NativeType("XrStructureType") int value) { XrBodyTrackerCreateInfoFB.ntype(address(), value); return this; }
+ /** Sets the {@link FBBodyTracking#XR_TYPE_BODY_TRACKER_CREATE_INFO_FB TYPE_BODY_TRACKER_CREATE_INFO_FB} value to the {@link XrBodyTrackerCreateInfoFB#type} field. */
+ public XrBodyTrackerCreateInfoFB.Buffer type$Default() { return type(FBBodyTracking.XR_TYPE_BODY_TRACKER_CREATE_INFO_FB); }
+ /** Sets the specified value to the {@link XrBodyTrackerCreateInfoFB#next} field. */
+ public XrBodyTrackerCreateInfoFB.Buffer next(@NativeType("void const *") long value) { XrBodyTrackerCreateInfoFB.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBodyTrackerCreateInfoFB#bodyJointSet} field. */
+ public XrBodyTrackerCreateInfoFB.Buffer bodyJointSet(@NativeType("XrBodyJointSetFB") int value) { XrBodyTrackerCreateInfoFB.nbodyJointSet(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerFB.java
index d0f7bc0b71..89bec45592 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBodyTrackerFB.java
@@ -4,8 +4,8 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
-/** Wraps an {@code XrBodyTrackerFB} handle. */
+
+/** Wraps an {@code XrBodyTrackerFB} handle. */
public class XrBodyTrackerFB extends DispatchableHandle {
private final XrSession session;
@@ -26,4 +26,4 @@ public XrSession getSession() {
return session;
}
-}
+}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundSourcesForActionEnumerateInfo.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundSourcesForActionEnumerateInfo.java
index d6f206d473..7497bb03ce 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundSourcesForActionEnumerateInfo.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundSourcesForActionEnumerateInfo.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Information to query the bound input sources for an action.
*
@@ -23,7 +23,7 @@
*
*
* - {@code type} must be {@link XR10#XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code action} must be a valid {@code XrAction} handle
*
*
@@ -39,8 +39,8 @@
* void const * {@link #next};
* XrAction {@link #action};
* }
- */
-public class XrBoundSourcesForActionEnumerateInfo extends Struct implements NativeResource {
+ */
+public class XrBoundSourcesForActionEnumerateInfo extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -50,24 +50,24 @@ public class XrBoundSourcesForActionEnumerateInfo extends Struct implements NativeResource {
@@ -308,25 +308,25 @@ protected Buffer self() {
protected XrBoundSourcesForActionEnumerateInfo getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBoundSourcesForActionEnumerateInfo#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBoundSourcesForActionEnumerateInfo.ntype(address()); }
- /** @return the value of the {@link XrBoundSourcesForActionEnumerateInfo#next} field. */
- @NativeType("void const *")
- public long next() { return XrBoundSourcesForActionEnumerateInfo.nnext(address()); }
- /** @return the value of the {@link XrBoundSourcesForActionEnumerateInfo#action} field. */
- @NativeType("XrAction")
- public long action() { return XrBoundSourcesForActionEnumerateInfo.naction(address()); }
-
- /** Sets the specified value to the {@link XrBoundSourcesForActionEnumerateInfo#type} field. */
- public XrBoundSourcesForActionEnumerateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrBoundSourcesForActionEnumerateInfo.ntype(address(), value); return this; }
- /** Sets the {@link XR10#XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO} value to the {@link XrBoundSourcesForActionEnumerateInfo#type} field. */
- public XrBoundSourcesForActionEnumerateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO); }
- /** Sets the specified value to the {@link XrBoundSourcesForActionEnumerateInfo#next} field. */
- public XrBoundSourcesForActionEnumerateInfo.Buffer next(@NativeType("void const *") long value) { XrBoundSourcesForActionEnumerateInfo.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrBoundSourcesForActionEnumerateInfo#action} field. */
- public XrBoundSourcesForActionEnumerateInfo.Buffer action(XrAction value) { XrBoundSourcesForActionEnumerateInfo.naction(address(), value); return this; }
+
+ /** @return the value of the {@link XrBoundSourcesForActionEnumerateInfo#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBoundSourcesForActionEnumerateInfo.ntype(address()); }
+ /** @return the value of the {@link XrBoundSourcesForActionEnumerateInfo#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrBoundSourcesForActionEnumerateInfo.nnext(address()); }
+ /** @return the value of the {@link XrBoundSourcesForActionEnumerateInfo#action} field. */
+ @NativeType("XrAction")
+ public long action() { return XrBoundSourcesForActionEnumerateInfo.naction(address()); }
+
+ /** Sets the specified value to the {@link XrBoundSourcesForActionEnumerateInfo#type} field. */
+ public XrBoundSourcesForActionEnumerateInfo.Buffer type(@NativeType("XrStructureType") int value) { XrBoundSourcesForActionEnumerateInfo.ntype(address(), value); return this; }
+ /** Sets the {@link XR10#XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO} value to the {@link XrBoundSourcesForActionEnumerateInfo#type} field. */
+ public XrBoundSourcesForActionEnumerateInfo.Buffer type$Default() { return type(XR10.XR_TYPE_BOUND_SOURCES_FOR_ACTION_ENUMERATE_INFO); }
+ /** Sets the specified value to the {@link XrBoundSourcesForActionEnumerateInfo#next} field. */
+ public XrBoundSourcesForActionEnumerateInfo.Buffer next(@NativeType("void const *") long value) { XrBoundSourcesForActionEnumerateInfo.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBoundSourcesForActionEnumerateInfo#action} field. */
+ public XrBoundSourcesForActionEnumerateInfo.Buffer action(XrAction value) { XrBoundSourcesForActionEnumerateInfo.naction(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundary2DFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundary2DFB.java
index d2cf1f540a..14285c83d4 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundary2DFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrBoundary2DFB.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Provides additional context of a spatial entity representing a room.
*
@@ -27,7 +27,7 @@
*
* - The {@link FBScene XR_FB_scene} extension must be enabled prior to using {@link XrBoundary2DFB}
* - {@code type} must be {@link FBScene#XR_TYPE_BOUNDARY_2D_FB TYPE_BOUNDARY_2D_FB}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - If {@code vertexCapacityInput} is not 0, {@code vertices} must be a pointer to an array of {@code vertexCapacityInput} {@link XrVector2f} structures
*
*
@@ -45,8 +45,8 @@
* uint32_t {@link #vertexCountOutput};
* {@link XrVector2f XrVector2f} * {@link #vertices};
* }
- */
-public class XrBoundary2DFB extends Struct implements NativeResource {
+ */
+public class XrBoundary2DFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -56,30 +56,30 @@ public class XrBoundary2DFB extends Struct implements NativeReso
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- VERTEXCAPACITYINPUT,
- VERTEXCOUNTOUTPUT,
- VERTICES;
+ TYPE,
+ NEXT,
+ VERTEXCAPACITYINPUT,
+ VERTEXCOUNTOUTPUT,
+ VERTICES;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
+ __member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- VERTEXCAPACITYINPUT = layout.offsetof(2);
- VERTEXCOUNTOUTPUT = layout.offsetof(3);
- VERTICES = layout.offsetof(4);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ VERTEXCAPACITYINPUT = layout.offsetof(2);
+ VERTEXCOUNTOUTPUT = layout.offsetof(3);
+ VERTICES = layout.offsetof(4);
+ }
protected XrBoundary2DFB(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -102,50 +102,50 @@ public XrBoundary2DFB(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** the capacity of the {@code vertices} array, in number of vertices, or 0 to indicate a request to retrieve the required capacity. */
- @NativeType("uint32_t")
- public int vertexCapacityInput() { return nvertexCapacityInput(address()); }
- /** the count of {@link XrVector2f} written, or the required capacity in the case that {@code vertexCapacityInput} is insufficient. */
- @NativeType("uint32_t")
- public int vertexCountOutput() { return nvertexCountOutput(address()); }
- /** a pointer to an array of {@link XrVector2f}, but can be {@code NULL} if {@code vertexCapacityInput} is 0. */
- @Nullable
- @NativeType("XrVector2f *")
- public XrVector2f.Buffer vertices() { return nvertices(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrBoundary2DFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link FBScene#XR_TYPE_BOUNDARY_2D_FB TYPE_BOUNDARY_2D_FB} value to the {@link #type} field. */
- public XrBoundary2DFB type$Default() { return type(FBScene.XR_TYPE_BOUNDARY_2D_FB); }
- /** Sets the specified value to the {@link #next} field. */
- public XrBoundary2DFB next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #vertexCapacityInput} field. */
- public XrBoundary2DFB vertexCapacityInput(@NativeType("uint32_t") int value) { nvertexCapacityInput(address(), value); return this; }
- /** Sets the specified value to the {@link #vertexCountOutput} field. */
- public XrBoundary2DFB vertexCountOutput(@NativeType("uint32_t") int value) { nvertexCountOutput(address(), value); return this; }
- /** Sets the address of the specified {@link XrVector2f.Buffer} to the {@link #vertices} field. */
- public XrBoundary2DFB vertices(@Nullable @NativeType("XrVector2f *") XrVector2f.Buffer value) { nvertices(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** the capacity of the {@code vertices} array, in bytes, or 0 to indicate a request to retrieve the required capacity. */
+ @NativeType("uint32_t")
+ public int vertexCapacityInput() { return nvertexCapacityInput(address()); }
+ /** a pointer to the count of {@link XrVector2f} written, or a pointer to the required capacity in the case that {@code vertexCapacityInput} is insufficient. */
+ @NativeType("uint32_t")
+ public int vertexCountOutput() { return nvertexCountOutput(address()); }
+ /** a pointer to an array of {@link XrVector2f}, but can be {@code NULL} if {@code vertexCapacityInput} is 0. */
+ @Nullable
+ @NativeType("XrVector2f *")
+ public XrVector2f.Buffer vertices() { return nvertices(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrBoundary2DFB type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link FBScene#XR_TYPE_BOUNDARY_2D_FB TYPE_BOUNDARY_2D_FB} value to the {@link #type} field. */
+ public XrBoundary2DFB type$Default() { return type(FBScene.XR_TYPE_BOUNDARY_2D_FB); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrBoundary2DFB next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #vertexCapacityInput} field. */
+ public XrBoundary2DFB vertexCapacityInput(@NativeType("uint32_t") int value) { nvertexCapacityInput(address(), value); return this; }
+ /** Sets the specified value to the {@link #vertexCountOutput} field. */
+ public XrBoundary2DFB vertexCountOutput(@NativeType("uint32_t") int value) { nvertexCountOutput(address(), value); return this; }
+ /** Sets the address of the specified {@link XrVector2f.Buffer} to the {@link #vertices} field. */
+ public XrBoundary2DFB vertices(@Nullable @NativeType("XrVector2f *") XrVector2f.Buffer value) { nvertices(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrBoundary2DFB set(
- int type,
- long next,
- int vertexCapacityInput,
- int vertexCountOutput,
+ int type,
+ long next,
+ int vertexCapacityInput,
+ int vertexCountOutput,
@Nullable XrVector2f.Buffer vertices
- ) {
- type(type);
- next(next);
- vertexCapacityInput(vertexCapacityInput);
- vertexCountOutput(vertexCountOutput);
- vertices(vertices);
+ ) {
+ type(type);
+ next(next);
+ vertexCapacityInput(vertexCapacityInput);
+ vertexCountOutput(vertexCountOutput);
+ vertices(vertices);
return this;
}
@@ -274,30 +274,30 @@ public static XrBoundary2DFB.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBoundary2DFB.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrBoundary2DFB.NEXT); }
- /** Unsafe version of {@link #vertexCapacityInput}. */
- public static int nvertexCapacityInput(long struct) { return UNSAFE.getInt(null, struct + XrBoundary2DFB.VERTEXCAPACITYINPUT); }
- /** Unsafe version of {@link #vertexCountOutput}. */
- public static int nvertexCountOutput(long struct) { return UNSAFE.getInt(null, struct + XrBoundary2DFB.VERTEXCOUNTOUTPUT); }
- /** Unsafe version of {@link #vertices}. */
- @Nullable public static XrVector2f.Buffer nvertices(long struct) { return XrVector2f.createSafe(memGetAddress(struct + XrBoundary2DFB.VERTICES), nvertexCapacityInput(struct)); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBoundary2DFB.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrBoundary2DFB.NEXT, value); }
- /** Sets the specified value to the {@code vertexCapacityInput} field of the specified {@code struct}. */
- public static void nvertexCapacityInput(long struct, int value) { UNSAFE.putInt(null, struct + XrBoundary2DFB.VERTEXCAPACITYINPUT, value); }
- /** Unsafe version of {@link #vertexCountOutput(int) vertexCountOutput}. */
- public static void nvertexCountOutput(long struct, int value) { UNSAFE.putInt(null, struct + XrBoundary2DFB.VERTEXCOUNTOUTPUT, value); }
- /** Unsafe version of {@link #vertices(XrVector2f.Buffer) vertices}. */
- public static void nvertices(long struct, @Nullable XrVector2f.Buffer value) { memPutAddress(struct + XrBoundary2DFB.VERTICES, memAddressSafe(value)); if (value != null) { nvertexCapacityInput(struct, value.remaining()); } }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrBoundary2DFB.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrBoundary2DFB.NEXT); }
+ /** Unsafe version of {@link #vertexCapacityInput}. */
+ public static int nvertexCapacityInput(long struct) { return UNSAFE.getInt(null, struct + XrBoundary2DFB.VERTEXCAPACITYINPUT); }
+ /** Unsafe version of {@link #vertexCountOutput}. */
+ public static int nvertexCountOutput(long struct) { return UNSAFE.getInt(null, struct + XrBoundary2DFB.VERTEXCOUNTOUTPUT); }
+ /** Unsafe version of {@link #vertices}. */
+ @Nullable public static XrVector2f.Buffer nvertices(long struct) { return XrVector2f.createSafe(memGetAddress(struct + XrBoundary2DFB.VERTICES), nvertexCapacityInput(struct)); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrBoundary2DFB.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrBoundary2DFB.NEXT, value); }
+ /** Sets the specified value to the {@code vertexCapacityInput} field of the specified {@code struct}. */
+ public static void nvertexCapacityInput(long struct, int value) { UNSAFE.putInt(null, struct + XrBoundary2DFB.VERTEXCAPACITYINPUT, value); }
+ /** Unsafe version of {@link #vertexCountOutput(int) vertexCountOutput}. */
+ public static void nvertexCountOutput(long struct, int value) { UNSAFE.putInt(null, struct + XrBoundary2DFB.VERTEXCOUNTOUTPUT, value); }
+ /** Unsafe version of {@link #vertices(XrVector2f.Buffer) vertices}. */
+ public static void nvertices(long struct, @Nullable XrVector2f.Buffer value) { memPutAddress(struct + XrBoundary2DFB.VERTICES, memAddressSafe(value)); if (value != null) { nvertexCapacityInput(struct, value.remaining()); } }
+
+ // -----------------------------------
/** An array of {@link XrBoundary2DFB} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -334,36 +334,36 @@ protected Buffer self() {
protected XrBoundary2DFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrBoundary2DFB#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrBoundary2DFB.ntype(address()); }
- /** @return the value of the {@link XrBoundary2DFB#next} field. */
- @NativeType("void const *")
- public long next() { return XrBoundary2DFB.nnext(address()); }
- /** @return the value of the {@link XrBoundary2DFB#vertexCapacityInput} field. */
- @NativeType("uint32_t")
- public int vertexCapacityInput() { return XrBoundary2DFB.nvertexCapacityInput(address()); }
- /** @return the value of the {@link XrBoundary2DFB#vertexCountOutput} field. */
- @NativeType("uint32_t")
- public int vertexCountOutput() { return XrBoundary2DFB.nvertexCountOutput(address()); }
- /** @return a {@link XrVector2f.Buffer} view of the struct array pointed to by the {@link XrBoundary2DFB#vertices} field. */
- @Nullable
- @NativeType("XrVector2f *")
- public XrVector2f.Buffer vertices() { return XrBoundary2DFB.nvertices(address()); }
-
- /** Sets the specified value to the {@link XrBoundary2DFB#type} field. */
- public XrBoundary2DFB.Buffer type(@NativeType("XrStructureType") int value) { XrBoundary2DFB.ntype(address(), value); return this; }
- /** Sets the {@link FBScene#XR_TYPE_BOUNDARY_2D_FB TYPE_BOUNDARY_2D_FB} value to the {@link XrBoundary2DFB#type} field. */
- public XrBoundary2DFB.Buffer type$Default() { return type(FBScene.XR_TYPE_BOUNDARY_2D_FB); }
- /** Sets the specified value to the {@link XrBoundary2DFB#next} field. */
- public XrBoundary2DFB.Buffer next(@NativeType("void const *") long value) { XrBoundary2DFB.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrBoundary2DFB#vertexCapacityInput} field. */
- public XrBoundary2DFB.Buffer vertexCapacityInput(@NativeType("uint32_t") int value) { XrBoundary2DFB.nvertexCapacityInput(address(), value); return this; }
- /** Sets the specified value to the {@link XrBoundary2DFB#vertexCountOutput} field. */
- public XrBoundary2DFB.Buffer vertexCountOutput(@NativeType("uint32_t") int value) { XrBoundary2DFB.nvertexCountOutput(address(), value); return this; }
- /** Sets the address of the specified {@link XrVector2f.Buffer} to the {@link XrBoundary2DFB#vertices} field. */
- public XrBoundary2DFB.Buffer vertices(@Nullable @NativeType("XrVector2f *") XrVector2f.Buffer value) { XrBoundary2DFB.nvertices(address(), value); return this; }
+
+ /** @return the value of the {@link XrBoundary2DFB#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrBoundary2DFB.ntype(address()); }
+ /** @return the value of the {@link XrBoundary2DFB#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrBoundary2DFB.nnext(address()); }
+ /** @return the value of the {@link XrBoundary2DFB#vertexCapacityInput} field. */
+ @NativeType("uint32_t")
+ public int vertexCapacityInput() { return XrBoundary2DFB.nvertexCapacityInput(address()); }
+ /** @return the value of the {@link XrBoundary2DFB#vertexCountOutput} field. */
+ @NativeType("uint32_t")
+ public int vertexCountOutput() { return XrBoundary2DFB.nvertexCountOutput(address()); }
+ /** @return a {@link XrVector2f.Buffer} view of the struct array pointed to by the {@link XrBoundary2DFB#vertices} field. */
+ @Nullable
+ @NativeType("XrVector2f *")
+ public XrVector2f.Buffer vertices() { return XrBoundary2DFB.nvertices(address()); }
+
+ /** Sets the specified value to the {@link XrBoundary2DFB#type} field. */
+ public XrBoundary2DFB.Buffer type(@NativeType("XrStructureType") int value) { XrBoundary2DFB.ntype(address(), value); return this; }
+ /** Sets the {@link FBScene#XR_TYPE_BOUNDARY_2D_FB TYPE_BOUNDARY_2D_FB} value to the {@link XrBoundary2DFB#type} field. */
+ public XrBoundary2DFB.Buffer type$Default() { return type(FBScene.XR_TYPE_BOUNDARY_2D_FB); }
+ /** Sets the specified value to the {@link XrBoundary2DFB#next} field. */
+ public XrBoundary2DFB.Buffer next(@NativeType("void const *") long value) { XrBoundary2DFB.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBoundary2DFB#vertexCapacityInput} field. */
+ public XrBoundary2DFB.Buffer vertexCapacityInput(@NativeType("uint32_t") int value) { XrBoundary2DFB.nvertexCapacityInput(address(), value); return this; }
+ /** Sets the specified value to the {@link XrBoundary2DFB#vertexCountOutput} field. */
+ public XrBoundary2DFB.Buffer vertexCountOutput(@NativeType("uint32_t") int value) { XrBoundary2DFB.nvertexCountOutput(address(), value); return this; }
+ /** Sets the address of the specified {@link XrVector2f.Buffer} to the {@link XrBoundary2DFB#vertices} field. */
+ public XrBoundary2DFB.Buffer vertices(@Nullable @NativeType("XrVector2f *") XrVector2f.Buffer value) { XrBoundary2DFB.nvertices(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrColor4f.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrColor4f.java
index db506983fb..e1a5f56163 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrColor4f.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrColor4f.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Color Vector.
*
@@ -37,8 +37,8 @@
* float {@link #b};
* float {@link #a};
* }
- */
-public class XrColor4f extends Struct implements NativeResource {
+ */
+public class XrColor4f extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -48,27 +48,27 @@ public class XrColor4f extends Struct implements NativeResource {
/** The struct member offsets. */
public static final int
- R,
- G,
- B,
- A;
+ R,
+ G,
+ B,
+ A;
static {
- Layout layout = __struct(
- __member(4),
- __member(4),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(4),
+ __member(4),
__member(4)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- R = layout.offsetof(0);
- G = layout.offsetof(1);
- B = layout.offsetof(2);
- A = layout.offsetof(3);
- }
+ R = layout.offsetof(0);
+ G = layout.offsetof(1);
+ B = layout.offsetof(2);
+ A = layout.offsetof(3);
+ }
protected XrColor4f(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -91,36 +91,36 @@ public XrColor4f(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the red component of the color. */
- public float r() { return nr(address()); }
- /** the green component of the color. */
- public float g() { return ng(address()); }
- /** the blue component of the color. */
- public float b() { return nb(address()); }
- /** the alpha component of the color. */
- public float a() { return na(address()); }
-
- /** Sets the specified value to the {@link #r} field. */
- public XrColor4f r(float value) { nr(address(), value); return this; }
- /** Sets the specified value to the {@link #g} field. */
- public XrColor4f g(float value) { ng(address(), value); return this; }
- /** Sets the specified value to the {@link #b} field. */
- public XrColor4f b(float value) { nb(address(), value); return this; }
- /** Sets the specified value to the {@link #a} field. */
- public XrColor4f a(float value) { na(address(), value); return this; }
+
+ /** the red component of the color. */
+ public float r() { return nr(address()); }
+ /** the green component of the color. */
+ public float g() { return ng(address()); }
+ /** the blue component of the color. */
+ public float b() { return nb(address()); }
+ /** the alpha component of the color. */
+ public float a() { return na(address()); }
+
+ /** Sets the specified value to the {@link #r} field. */
+ public XrColor4f r(float value) { nr(address(), value); return this; }
+ /** Sets the specified value to the {@link #g} field. */
+ public XrColor4f g(float value) { ng(address(), value); return this; }
+ /** Sets the specified value to the {@link #b} field. */
+ public XrColor4f b(float value) { nb(address(), value); return this; }
+ /** Sets the specified value to the {@link #a} field. */
+ public XrColor4f a(float value) { na(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrColor4f set(
- float r,
- float g,
- float b,
+ float r,
+ float g,
+ float b,
float a
- ) {
- r(r);
- g(g);
- b(b);
- a(a);
+ ) {
+ r(r);
+ g(g);
+ b(b);
+ a(a);
return this;
}
@@ -249,26 +249,26 @@ public static XrColor4f.Buffer calloc(int capacity, MemoryStack stack) {
}
// -----------------------------------
-
- /** Unsafe version of {@link #r}. */
- public static float nr(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.R); }
- /** Unsafe version of {@link #g}. */
- public static float ng(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.G); }
- /** Unsafe version of {@link #b}. */
- public static float nb(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.B); }
- /** Unsafe version of {@link #a}. */
- public static float na(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.A); }
-
- /** Unsafe version of {@link #r(float) r}. */
- public static void nr(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.R, value); }
- /** Unsafe version of {@link #g(float) g}. */
- public static void ng(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.G, value); }
- /** Unsafe version of {@link #b(float) b}. */
- public static void nb(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.B, value); }
- /** Unsafe version of {@link #a(float) a}. */
- public static void na(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.A, value); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #r}. */
+ public static float nr(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.R); }
+ /** Unsafe version of {@link #g}. */
+ public static float ng(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.G); }
+ /** Unsafe version of {@link #b}. */
+ public static float nb(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.B); }
+ /** Unsafe version of {@link #a}. */
+ public static float na(long struct) { return UNSAFE.getFloat(null, struct + XrColor4f.A); }
+
+ /** Unsafe version of {@link #r(float) r}. */
+ public static void nr(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.R, value); }
+ /** Unsafe version of {@link #g(float) g}. */
+ public static void ng(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.G, value); }
+ /** Unsafe version of {@link #b(float) b}. */
+ public static void nb(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.B, value); }
+ /** Unsafe version of {@link #a(float) a}. */
+ public static void na(long struct, float value) { UNSAFE.putFloat(null, struct + XrColor4f.A, value); }
+
+ // -----------------------------------
/** An array of {@link XrColor4f} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -305,24 +305,24 @@ protected Buffer self() {
protected XrColor4f getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrColor4f#r} field. */
- public float r() { return XrColor4f.nr(address()); }
- /** @return the value of the {@link XrColor4f#g} field. */
- public float g() { return XrColor4f.ng(address()); }
- /** @return the value of the {@link XrColor4f#b} field. */
- public float b() { return XrColor4f.nb(address()); }
- /** @return the value of the {@link XrColor4f#a} field. */
- public float a() { return XrColor4f.na(address()); }
-
- /** Sets the specified value to the {@link XrColor4f#r} field. */
- public XrColor4f.Buffer r(float value) { XrColor4f.nr(address(), value); return this; }
- /** Sets the specified value to the {@link XrColor4f#g} field. */
- public XrColor4f.Buffer g(float value) { XrColor4f.ng(address(), value); return this; }
- /** Sets the specified value to the {@link XrColor4f#b} field. */
- public XrColor4f.Buffer b(float value) { XrColor4f.nb(address(), value); return this; }
- /** Sets the specified value to the {@link XrColor4f#a} field. */
- public XrColor4f.Buffer a(float value) { XrColor4f.na(address(), value); return this; }
+
+ /** @return the value of the {@link XrColor4f#r} field. */
+ public float r() { return XrColor4f.nr(address()); }
+ /** @return the value of the {@link XrColor4f#g} field. */
+ public float g() { return XrColor4f.ng(address()); }
+ /** @return the value of the {@link XrColor4f#b} field. */
+ public float b() { return XrColor4f.nb(address()); }
+ /** @return the value of the {@link XrColor4f#a} field. */
+ public float a() { return XrColor4f.na(address()); }
+
+ /** Sets the specified value to the {@link XrColor4f#r} field. */
+ public XrColor4f.Buffer r(float value) { XrColor4f.nr(address(), value); return this; }
+ /** Sets the specified value to the {@link XrColor4f#g} field. */
+ public XrColor4f.Buffer g(float value) { XrColor4f.ng(address(), value); return this; }
+ /** Sets the specified value to the {@link XrColor4f#b} field. */
+ public XrColor4f.Buffer b(float value) { XrColor4f.nb(address(), value); return this; }
+ /** Sets the specified value to the {@link XrColor4f#a} field. */
+ public XrColor4f.Buffer a(float value) { XrColor4f.na(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerAlphaBlendFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerAlphaBlendFB.java
index be7a858b62..c3e81d98fa 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerAlphaBlendFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerAlphaBlendFB.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* specifies blend factors for composition layers.
*
@@ -29,7 +29,7 @@
*
* - The {@link FBCompositionLayerAlphaBlend XR_FB_composition_layer_alpha_blend} extension must be enabled prior to using {@link XrCompositionLayerAlphaBlendFB}
* - {@code type} must be {@link FBCompositionLayerAlphaBlend#XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code srcFactorColor} must be a valid {@code XrBlendFactorFB} value
* - {@code dstFactorColor} must be a valid {@code XrBlendFactorFB} value
* - {@code srcFactorAlpha} must be a valid {@code XrBlendFactorFB} value
@@ -51,8 +51,8 @@
* XrBlendFactorFB {@link #srcFactorAlpha};
* XrBlendFactorFB {@link #dstFactorAlpha};
* }
- */
-public class XrCompositionLayerAlphaBlendFB extends Struct implements NativeResource {
+ */
+public class XrCompositionLayerAlphaBlendFB extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -62,33 +62,33 @@ public class XrCompositionLayerAlphaBlendFB extends Struct implements NativeResource {
@@ -353,40 +353,40 @@ protected Buffer self() {
protected XrCompositionLayerAlphaBlendFB getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrCompositionLayerAlphaBlendFB.ntype(address()); }
- /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#next} field. */
- @NativeType("void *")
- public long next() { return XrCompositionLayerAlphaBlendFB.nnext(address()); }
- /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#srcFactorColor} field. */
- @NativeType("XrBlendFactorFB")
- public int srcFactorColor() { return XrCompositionLayerAlphaBlendFB.nsrcFactorColor(address()); }
- /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#dstFactorColor} field. */
- @NativeType("XrBlendFactorFB")
- public int dstFactorColor() { return XrCompositionLayerAlphaBlendFB.ndstFactorColor(address()); }
- /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#srcFactorAlpha} field. */
- @NativeType("XrBlendFactorFB")
- public int srcFactorAlpha() { return XrCompositionLayerAlphaBlendFB.nsrcFactorAlpha(address()); }
- /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#dstFactorAlpha} field. */
- @NativeType("XrBlendFactorFB")
- public int dstFactorAlpha() { return XrCompositionLayerAlphaBlendFB.ndstFactorAlpha(address()); }
-
- /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#type} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerAlphaBlendFB.ntype(address(), value); return this; }
- /** Sets the {@link FBCompositionLayerAlphaBlend#XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB} value to the {@link XrCompositionLayerAlphaBlendFB#type} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer type$Default() { return type(FBCompositionLayerAlphaBlend.XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB); }
- /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#next} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer next(@NativeType("void *") long value) { XrCompositionLayerAlphaBlendFB.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#srcFactorColor} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer srcFactorColor(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.nsrcFactorColor(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#dstFactorColor} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer dstFactorColor(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.ndstFactorColor(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#srcFactorAlpha} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer srcFactorAlpha(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.nsrcFactorAlpha(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#dstFactorAlpha} field. */
- public XrCompositionLayerAlphaBlendFB.Buffer dstFactorAlpha(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.ndstFactorAlpha(address(), value); return this; }
+
+ /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrCompositionLayerAlphaBlendFB.ntype(address()); }
+ /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#next} field. */
+ @NativeType("void *")
+ public long next() { return XrCompositionLayerAlphaBlendFB.nnext(address()); }
+ /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#srcFactorColor} field. */
+ @NativeType("XrBlendFactorFB")
+ public int srcFactorColor() { return XrCompositionLayerAlphaBlendFB.nsrcFactorColor(address()); }
+ /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#dstFactorColor} field. */
+ @NativeType("XrBlendFactorFB")
+ public int dstFactorColor() { return XrCompositionLayerAlphaBlendFB.ndstFactorColor(address()); }
+ /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#srcFactorAlpha} field. */
+ @NativeType("XrBlendFactorFB")
+ public int srcFactorAlpha() { return XrCompositionLayerAlphaBlendFB.nsrcFactorAlpha(address()); }
+ /** @return the value of the {@link XrCompositionLayerAlphaBlendFB#dstFactorAlpha} field. */
+ @NativeType("XrBlendFactorFB")
+ public int dstFactorAlpha() { return XrCompositionLayerAlphaBlendFB.ndstFactorAlpha(address()); }
+
+ /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#type} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerAlphaBlendFB.ntype(address(), value); return this; }
+ /** Sets the {@link FBCompositionLayerAlphaBlend#XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB} value to the {@link XrCompositionLayerAlphaBlendFB#type} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer type$Default() { return type(FBCompositionLayerAlphaBlend.XR_TYPE_COMPOSITION_LAYER_ALPHA_BLEND_FB); }
+ /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#next} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer next(@NativeType("void *") long value) { XrCompositionLayerAlphaBlendFB.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#srcFactorColor} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer srcFactorColor(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.nsrcFactorColor(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#dstFactorColor} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer dstFactorColor(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.ndstFactorColor(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#srcFactorAlpha} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer srcFactorAlpha(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.nsrcFactorAlpha(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerAlphaBlendFB#dstFactorAlpha} field. */
+ public XrCompositionLayerAlphaBlendFB.Buffer dstFactorAlpha(@NativeType("XrBlendFactorFB") int value) { XrCompositionLayerAlphaBlendFB.ndstFactorAlpha(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerBaseHeader.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerBaseHeader.java
index e0fafa479c..f1ffcb9d3b 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerBaseHeader.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerBaseHeader.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Composition layer base header.
*
@@ -27,7 +27,7 @@
*
*
* - {@code type} must be one of the following XrStructureType values: {@link KHRCompositionLayerCube#XR_TYPE_COMPOSITION_LAYER_CUBE_KHR TYPE_COMPOSITION_LAYER_CUBE_KHR}, {@link KHRCompositionLayerCylinder#XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR TYPE_COMPOSITION_LAYER_CYLINDER_KHR}, {@link KHRCompositionLayerEquirect2#XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR}, {@link KHRCompositionLayerEquirect#XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR TYPE_COMPOSITION_LAYER_EQUIRECT_KHR}, {@link HTCPassthrough#XR_TYPE_COMPOSITION_LAYER_PASSTHROUGH_HTC TYPE_COMPOSITION_LAYER_PASSTHROUGH_HTC}, {@link XR10#XR_TYPE_COMPOSITION_LAYER_PROJECTION TYPE_COMPOSITION_LAYER_PROJECTION}, {@link XR10#XR_TYPE_COMPOSITION_LAYER_QUAD TYPE_COMPOSITION_LAYER_QUAD}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain. See also: {@link XrCompositionLayerAlphaBlendFB}, {@link XrCompositionLayerColorScaleBiasKHR}, {@link XrCompositionLayerDepthTestFB}, {@link XrCompositionLayerImageLayoutFB}, {@link XrCompositionLayerPassthroughFB}, {@link XrCompositionLayerSecureContentFB}, {@link XrCompositionLayerSettingsFB}
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain. See also: {@link XrCompositionLayerAlphaBlendFB}, {@link XrCompositionLayerColorScaleBiasKHR}, {@link XrCompositionLayerDepthTestFB}, {@link XrCompositionLayerImageLayoutFB}, {@link XrCompositionLayerPassthroughFB}, {@link XrCompositionLayerSecureContentFB}, {@link XrCompositionLayerSettingsFB}
* - {@code layerFlags} must be 0 or a valid combination of {@code XrCompositionLayerFlagBits} values
* - {@code space} must be a valid {@code XrSpace} handle
*
@@ -45,8 +45,8 @@
* XrCompositionLayerFlags {@link #layerFlags};
* XrSpace {@link #space};
* }
- */
-public class XrCompositionLayerBaseHeader extends Struct implements NativeResource {
+ */
+public class XrCompositionLayerBaseHeader extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -56,27 +56,27 @@ public class XrCompositionLayerBaseHeader extends Struct implements NativeResource {
@@ -410,42 +410,42 @@ protected Buffer self() {
protected XrCompositionLayerBaseHeader getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrCompositionLayerBaseHeader#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrCompositionLayerBaseHeader.ntype(address()); }
- /** @return the value of the {@link XrCompositionLayerBaseHeader#next} field. */
- @NativeType("void const *")
- public long next() { return XrCompositionLayerBaseHeader.nnext(address()); }
- /** @return the value of the {@link XrCompositionLayerBaseHeader#layerFlags} field. */
- @NativeType("XrCompositionLayerFlags")
- public long layerFlags() { return XrCompositionLayerBaseHeader.nlayerFlags(address()); }
- /** @return the value of the {@link XrCompositionLayerBaseHeader#space} field. */
- @NativeType("XrSpace")
- public long space() { return XrCompositionLayerBaseHeader.nspace(address()); }
-
- /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#type} field. */
- public XrCompositionLayerBaseHeader.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerBaseHeader.ntype(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#next} field. */
- public XrCompositionLayerBaseHeader.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerBaseHeader.nnext(address(), value); return this; }
- /** Prepends the specified {@link XrCompositionLayerAlphaBlendFB} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerAlphaBlendFB value) { return this.next(value.next(this.next()).address()); }
- /** Prepends the specified {@link XrCompositionLayerColorScaleBiasKHR} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerColorScaleBiasKHR value) { return this.next(value.next(this.next()).address()); }
- /** Prepends the specified {@link XrCompositionLayerDepthTestFB} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerDepthTestFB value) { return this.next(value.next(this.next()).address()); }
- /** Prepends the specified {@link XrCompositionLayerImageLayoutFB} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerImageLayoutFB value) { return this.next(value.next(this.next()).address()); }
- /** Prepends the specified {@link XrCompositionLayerPassthroughFB} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerPassthroughFB value) { return this.next(value.next(this.next()).address()); }
- /** Prepends the specified {@link XrCompositionLayerSecureContentFB} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerSecureContentFB value) { return this.next(value.next(this.next()).address()); }
- /** Prepends the specified {@link XrCompositionLayerSettingsFB} value to the {@code next} chain. */
- public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerSettingsFB value) { return this.next(value.next(this.next()).address()); }
- /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#layerFlags} field. */
- public XrCompositionLayerBaseHeader.Buffer layerFlags(@NativeType("XrCompositionLayerFlags") long value) { XrCompositionLayerBaseHeader.nlayerFlags(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#space} field. */
- public XrCompositionLayerBaseHeader.Buffer space(XrSpace value) { XrCompositionLayerBaseHeader.nspace(address(), value); return this; }
+
+ /** @return the value of the {@link XrCompositionLayerBaseHeader#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrCompositionLayerBaseHeader.ntype(address()); }
+ /** @return the value of the {@link XrCompositionLayerBaseHeader#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrCompositionLayerBaseHeader.nnext(address()); }
+ /** @return the value of the {@link XrCompositionLayerBaseHeader#layerFlags} field. */
+ @NativeType("XrCompositionLayerFlags")
+ public long layerFlags() { return XrCompositionLayerBaseHeader.nlayerFlags(address()); }
+ /** @return the value of the {@link XrCompositionLayerBaseHeader#space} field. */
+ @NativeType("XrSpace")
+ public long space() { return XrCompositionLayerBaseHeader.nspace(address()); }
+
+ /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#type} field. */
+ public XrCompositionLayerBaseHeader.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerBaseHeader.ntype(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#next} field. */
+ public XrCompositionLayerBaseHeader.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerBaseHeader.nnext(address(), value); return this; }
+ /** Prepends the specified {@link XrCompositionLayerAlphaBlendFB} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerAlphaBlendFB value) { return this.next(value.next(this.next()).address()); }
+ /** Prepends the specified {@link XrCompositionLayerColorScaleBiasKHR} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerColorScaleBiasKHR value) { return this.next(value.next(this.next()).address()); }
+ /** Prepends the specified {@link XrCompositionLayerDepthTestFB} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerDepthTestFB value) { return this.next(value.next(this.next()).address()); }
+ /** Prepends the specified {@link XrCompositionLayerImageLayoutFB} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerImageLayoutFB value) { return this.next(value.next(this.next()).address()); }
+ /** Prepends the specified {@link XrCompositionLayerPassthroughFB} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerPassthroughFB value) { return this.next(value.next(this.next()).address()); }
+ /** Prepends the specified {@link XrCompositionLayerSecureContentFB} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerSecureContentFB value) { return this.next(value.next(this.next()).address()); }
+ /** Prepends the specified {@link XrCompositionLayerSettingsFB} value to the {@code next} chain. */
+ public XrCompositionLayerBaseHeader.Buffer next(XrCompositionLayerSettingsFB value) { return this.next(value.next(this.next()).address()); }
+ /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#layerFlags} field. */
+ public XrCompositionLayerBaseHeader.Buffer layerFlags(@NativeType("XrCompositionLayerFlags") long value) { XrCompositionLayerBaseHeader.nlayerFlags(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerBaseHeader#space} field. */
+ public XrCompositionLayerBaseHeader.Buffer space(XrSpace value) { XrCompositionLayerBaseHeader.nspace(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerColorScaleBiasKHR.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerColorScaleBiasKHR.java
index ab70f79fe5..b7525d46d0 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerColorScaleBiasKHR.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerColorScaleBiasKHR.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* defines color scale and bias for layer textures.
*
@@ -29,7 +29,7 @@
*
* - The {@link KHRCompositionLayerColorScaleBias XR_KHR_composition_layer_color_scale_bias} extension must be enabled prior to using {@link XrCompositionLayerColorScaleBiasKHR}
* - {@code type} must be {@link KHRCompositionLayerColorScaleBias#XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
*
*
* See Also
@@ -45,8 +45,8 @@
* {@link XrColor4f XrColor4f} {@link #colorScale};
* {@link XrColor4f XrColor4f} {@link #colorBias};
* }
- */
-public class XrCompositionLayerColorScaleBiasKHR extends Struct implements NativeResource {
+ */
+public class XrCompositionLayerColorScaleBiasKHR extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -56,27 +56,27 @@ public class XrCompositionLayerColorScaleBiasKHR extends Struct consumer) { consumer.accept(colorScale()); return this; }
- /** Copies the specified {@link XrColor4f} to the {@link #colorBias} field. */
- public XrCompositionLayerColorScaleBiasKHR colorBias(XrColor4f value) { ncolorBias(address(), value); return this; }
- /** Passes the {@link #colorBias} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerColorScaleBiasKHR colorBias(java.util.function.Consumer consumer) { consumer.accept(colorBias()); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** an {@link XrColor4f} which will modulate the color sourced from the images. */
+ public XrColor4f colorScale() { return ncolorScale(address()); }
+ /** an {@link XrColor4f} which will offset the color sourced from the images. */
+ public XrColor4f colorBias() { return ncolorBias(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrCompositionLayerColorScaleBiasKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerColorScaleBias#XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR} value to the {@link #type} field. */
+ public XrCompositionLayerColorScaleBiasKHR type$Default() { return type(KHRCompositionLayerColorScaleBias.XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrCompositionLayerColorScaleBiasKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Copies the specified {@link XrColor4f} to the {@link #colorScale} field. */
+ public XrCompositionLayerColorScaleBiasKHR colorScale(XrColor4f value) { ncolorScale(address(), value); return this; }
+ /** Passes the {@link #colorScale} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerColorScaleBiasKHR colorScale(java.util.function.Consumer consumer) { consumer.accept(colorScale()); return this; }
+ /** Copies the specified {@link XrColor4f} to the {@link #colorBias} field. */
+ public XrCompositionLayerColorScaleBiasKHR colorBias(XrColor4f value) { ncolorBias(address(), value); return this; }
+ /** Passes the {@link #colorBias} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerColorScaleBiasKHR colorBias(java.util.function.Consumer consumer) { consumer.accept(colorBias()); return this; }
/** Initializes this struct with the specified values. */
public XrCompositionLayerColorScaleBiasKHR set(
- int type,
- long next,
- XrColor4f colorScale,
+ int type,
+ long next,
+ XrColor4f colorScale,
XrColor4f colorBias
- ) {
- type(type);
- next(next);
- colorScale(colorScale);
- colorBias(colorBias);
+ ) {
+ type(type);
+ next(next);
+ colorScale(colorScale);
+ colorBias(colorBias);
return this;
}
@@ -265,26 +265,26 @@ public static XrCompositionLayerColorScaleBiasKHR.Buffer calloc(int capacity, Me
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerColorScaleBiasKHR.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerColorScaleBiasKHR.NEXT); }
- /** Unsafe version of {@link #colorScale}. */
- public static XrColor4f ncolorScale(long struct) { return XrColor4f.create(struct + XrCompositionLayerColorScaleBiasKHR.COLORSCALE); }
- /** Unsafe version of {@link #colorBias}. */
- public static XrColor4f ncolorBias(long struct) { return XrColor4f.create(struct + XrCompositionLayerColorScaleBiasKHR.COLORBIAS); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerColorScaleBiasKHR.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerColorScaleBiasKHR.NEXT, value); }
- /** Unsafe version of {@link #colorScale(XrColor4f) colorScale}. */
- public static void ncolorScale(long struct, XrColor4f value) { memCopy(value.address(), struct + XrCompositionLayerColorScaleBiasKHR.COLORSCALE, XrColor4f.SIZEOF); }
- /** Unsafe version of {@link #colorBias(XrColor4f) colorBias}. */
- public static void ncolorBias(long struct, XrColor4f value) { memCopy(value.address(), struct + XrCompositionLayerColorScaleBiasKHR.COLORBIAS, XrColor4f.SIZEOF); }
-
- // -----------------------------------
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerColorScaleBiasKHR.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerColorScaleBiasKHR.NEXT); }
+ /** Unsafe version of {@link #colorScale}. */
+ public static XrColor4f ncolorScale(long struct) { return XrColor4f.create(struct + XrCompositionLayerColorScaleBiasKHR.COLORSCALE); }
+ /** Unsafe version of {@link #colorBias}. */
+ public static XrColor4f ncolorBias(long struct) { return XrColor4f.create(struct + XrCompositionLayerColorScaleBiasKHR.COLORBIAS); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerColorScaleBiasKHR.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerColorScaleBiasKHR.NEXT, value); }
+ /** Unsafe version of {@link #colorScale(XrColor4f) colorScale}. */
+ public static void ncolorScale(long struct, XrColor4f value) { memCopy(value.address(), struct + XrCompositionLayerColorScaleBiasKHR.COLORSCALE, XrColor4f.SIZEOF); }
+ /** Unsafe version of {@link #colorBias(XrColor4f) colorBias}. */
+ public static void ncolorBias(long struct, XrColor4f value) { memCopy(value.address(), struct + XrCompositionLayerColorScaleBiasKHR.COLORBIAS, XrColor4f.SIZEOF); }
+
+ // -----------------------------------
/** An array of {@link XrCompositionLayerColorScaleBiasKHR} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -321,32 +321,32 @@ protected Buffer self() {
protected XrCompositionLayerColorScaleBiasKHR getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrCompositionLayerColorScaleBiasKHR#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrCompositionLayerColorScaleBiasKHR.ntype(address()); }
- /** @return the value of the {@link XrCompositionLayerColorScaleBiasKHR#next} field. */
- @NativeType("void const *")
- public long next() { return XrCompositionLayerColorScaleBiasKHR.nnext(address()); }
- /** @return a {@link XrColor4f} view of the {@link XrCompositionLayerColorScaleBiasKHR#colorScale} field. */
- public XrColor4f colorScale() { return XrCompositionLayerColorScaleBiasKHR.ncolorScale(address()); }
- /** @return a {@link XrColor4f} view of the {@link XrCompositionLayerColorScaleBiasKHR#colorBias} field. */
- public XrColor4f colorBias() { return XrCompositionLayerColorScaleBiasKHR.ncolorBias(address()); }
-
- /** Sets the specified value to the {@link XrCompositionLayerColorScaleBiasKHR#type} field. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerColorScaleBiasKHR.ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerColorScaleBias#XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR} value to the {@link XrCompositionLayerColorScaleBiasKHR#type} field. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer type$Default() { return type(KHRCompositionLayerColorScaleBias.XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR); }
- /** Sets the specified value to the {@link XrCompositionLayerColorScaleBiasKHR#next} field. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerColorScaleBiasKHR.nnext(address(), value); return this; }
- /** Copies the specified {@link XrColor4f} to the {@link XrCompositionLayerColorScaleBiasKHR#colorScale} field. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer colorScale(XrColor4f value) { XrCompositionLayerColorScaleBiasKHR.ncolorScale(address(), value); return this; }
- /** Passes the {@link XrCompositionLayerColorScaleBiasKHR#colorScale} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer colorScale(java.util.function.Consumer consumer) { consumer.accept(colorScale()); return this; }
- /** Copies the specified {@link XrColor4f} to the {@link XrCompositionLayerColorScaleBiasKHR#colorBias} field. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer colorBias(XrColor4f value) { XrCompositionLayerColorScaleBiasKHR.ncolorBias(address(), value); return this; }
- /** Passes the {@link XrCompositionLayerColorScaleBiasKHR#colorBias} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerColorScaleBiasKHR.Buffer colorBias(java.util.function.Consumer consumer) { consumer.accept(colorBias()); return this; }
+
+ /** @return the value of the {@link XrCompositionLayerColorScaleBiasKHR#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrCompositionLayerColorScaleBiasKHR.ntype(address()); }
+ /** @return the value of the {@link XrCompositionLayerColorScaleBiasKHR#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrCompositionLayerColorScaleBiasKHR.nnext(address()); }
+ /** @return a {@link XrColor4f} view of the {@link XrCompositionLayerColorScaleBiasKHR#colorScale} field. */
+ public XrColor4f colorScale() { return XrCompositionLayerColorScaleBiasKHR.ncolorScale(address()); }
+ /** @return a {@link XrColor4f} view of the {@link XrCompositionLayerColorScaleBiasKHR#colorBias} field. */
+ public XrColor4f colorBias() { return XrCompositionLayerColorScaleBiasKHR.ncolorBias(address()); }
+
+ /** Sets the specified value to the {@link XrCompositionLayerColorScaleBiasKHR#type} field. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerColorScaleBiasKHR.ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerColorScaleBias#XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR} value to the {@link XrCompositionLayerColorScaleBiasKHR#type} field. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer type$Default() { return type(KHRCompositionLayerColorScaleBias.XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR); }
+ /** Sets the specified value to the {@link XrCompositionLayerColorScaleBiasKHR#next} field. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerColorScaleBiasKHR.nnext(address(), value); return this; }
+ /** Copies the specified {@link XrColor4f} to the {@link XrCompositionLayerColorScaleBiasKHR#colorScale} field. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer colorScale(XrColor4f value) { XrCompositionLayerColorScaleBiasKHR.ncolorScale(address(), value); return this; }
+ /** Passes the {@link XrCompositionLayerColorScaleBiasKHR#colorScale} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer colorScale(java.util.function.Consumer consumer) { consumer.accept(colorScale()); return this; }
+ /** Copies the specified {@link XrColor4f} to the {@link XrCompositionLayerColorScaleBiasKHR#colorBias} field. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer colorBias(XrColor4f value) { XrCompositionLayerColorScaleBiasKHR.ncolorBias(address(), value); return this; }
+ /** Passes the {@link XrCompositionLayerColorScaleBiasKHR#colorBias} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerColorScaleBiasKHR.Buffer colorBias(java.util.function.Consumer consumer) { consumer.accept(colorBias()); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCubeKHR.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCubeKHR.java
index ed55ed5222..f7258e4abe 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCubeKHR.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCubeKHR.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Cube map layer composition info.
*
@@ -28,7 +28,7 @@
*
* - The {@link KHRCompositionLayerCube XR_KHR_composition_layer_cube} extension must be enabled prior to using {@link XrCompositionLayerCubeKHR}
* - {@code type} must be {@link KHRCompositionLayerCube#XR_TYPE_COMPOSITION_LAYER_CUBE_KHR TYPE_COMPOSITION_LAYER_CUBE_KHR}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code layerFlags} must be 0 or a valid combination of {@code XrCompositionLayerFlagBits} values
* - {@code space} must be a valid {@code XrSpace} handle
* - {@code eyeVisibility} must be a valid {@code XrEyeVisibility} value
@@ -48,13 +48,13 @@
* void const * {@link #next};
* XrCompositionLayerFlags {@link #layerFlags};
* XrSpace {@link #space};
- * XrEyeVisibility {@link #eyeVisibility};
+ * XrEyeVisibility eyeVisibility;
* XrSwapchain {@link #swapchain};
* uint32_t {@link #imageArrayIndex};
* {@link XrQuaternionf XrQuaternionf} {@link #orientation};
* }
- */
-public class XrCompositionLayerCubeKHR extends Struct implements NativeResource {
+ */
+public class XrCompositionLayerCubeKHR extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -64,39 +64,39 @@ public class XrCompositionLayerCubeKHR extends Struct
/** The struct member offsets. */
public static final int
- TYPE,
- NEXT,
- LAYERFLAGS,
- SPACE,
- EYEVISIBILITY,
- SWAPCHAIN,
- IMAGEARRAYINDEX,
- ORIENTATION;
+ TYPE,
+ NEXT,
+ LAYERFLAGS,
+ SPACE,
+ EYEVISIBILITY,
+ SWAPCHAIN,
+ IMAGEARRAYINDEX,
+ ORIENTATION;
static {
- Layout layout = __struct(
- __member(4),
- __member(POINTER_SIZE),
- __member(8),
- __member(POINTER_SIZE),
- __member(4),
- __member(POINTER_SIZE),
- __member(4),
+ Layout layout = __struct(
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(8),
+ __member(POINTER_SIZE),
+ __member(4),
+ __member(POINTER_SIZE),
+ __member(4),
__member(XrQuaternionf.SIZEOF, XrQuaternionf.ALIGNOF)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
- TYPE = layout.offsetof(0);
- NEXT = layout.offsetof(1);
- LAYERFLAGS = layout.offsetof(2);
- SPACE = layout.offsetof(3);
- EYEVISIBILITY = layout.offsetof(4);
- SWAPCHAIN = layout.offsetof(5);
- IMAGEARRAYINDEX = layout.offsetof(6);
- ORIENTATION = layout.offsetof(7);
- }
+ TYPE = layout.offsetof(0);
+ NEXT = layout.offsetof(1);
+ LAYERFLAGS = layout.offsetof(2);
+ SPACE = layout.offsetof(3);
+ EYEVISIBILITY = layout.offsetof(4);
+ SWAPCHAIN = layout.offsetof(5);
+ IMAGEARRAYINDEX = layout.offsetof(6);
+ ORIENTATION = layout.offsetof(7);
+ }
protected XrCompositionLayerCubeKHR(long address, @Nullable ByteBuffer container) {
super(address, container);
@@ -119,71 +119,71 @@ public XrCompositionLayerCubeKHR(ByteBuffer container) {
@Override
public int sizeof() { return SIZEOF; }
-
- /** the {@code XrStructureType} of this structure. */
- @NativeType("XrStructureType")
- public int type() { return ntype(address()); }
- /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
- @NativeType("void const *")
- public long next() { return nnext(address()); }
- /** any flags to apply to this layer. */
- @NativeType("XrCompositionLayerFlags")
- public long layerFlags() { return nlayerFlags(address()); }
- /** the {@code XrSpace} in which the {@code orientation} of the cube layer is evaluated over time. */
- @NativeType("XrSpace")
- public long space() { return nspace(address()); }
- /** the eye represented by this layer. */
- @NativeType("XrEyeVisibility")
- public int eyeVisibility() { return neyeVisibility(address()); }
- /** the swapchain, which must have been created with a {@code faceCount} of 6. */
- @NativeType("XrSwapchain")
- public long swapchain() { return nswapchain(address()); }
- /** the image array index, with 0 meaning the first or only array element. */
- @NativeType("uint32_t")
- public int imageArrayIndex() { return nimageArrayIndex(address()); }
- /** the orientation of the environment map in the {@code space}. */
- public XrQuaternionf orientation() { return norientation(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrCompositionLayerCubeKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerCube#XR_TYPE_COMPOSITION_LAYER_CUBE_KHR TYPE_COMPOSITION_LAYER_CUBE_KHR} value to the {@link #type} field. */
- public XrCompositionLayerCubeKHR type$Default() { return type(KHRCompositionLayerCube.XR_TYPE_COMPOSITION_LAYER_CUBE_KHR); }
- /** Sets the specified value to the {@link #next} field. */
- public XrCompositionLayerCubeKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #layerFlags} field. */
- public XrCompositionLayerCubeKHR layerFlags(@NativeType("XrCompositionLayerFlags") long value) { nlayerFlags(address(), value); return this; }
- /** Sets the specified value to the {@link #space} field. */
- public XrCompositionLayerCubeKHR space(XrSpace value) { nspace(address(), value); return this; }
- /** Sets the specified value to the {@link #eyeVisibility} field. */
- public XrCompositionLayerCubeKHR eyeVisibility(@NativeType("XrEyeVisibility") int value) { neyeVisibility(address(), value); return this; }
- /** Sets the specified value to the {@link #swapchain} field. */
- public XrCompositionLayerCubeKHR swapchain(XrSwapchain value) { nswapchain(address(), value); return this; }
- /** Sets the specified value to the {@link #imageArrayIndex} field. */
- public XrCompositionLayerCubeKHR imageArrayIndex(@NativeType("uint32_t") int value) { nimageArrayIndex(address(), value); return this; }
- /** Copies the specified {@link XrQuaternionf} to the {@link #orientation} field. */
- public XrCompositionLayerCubeKHR orientation(XrQuaternionf value) { norientation(address(), value); return this; }
- /** Passes the {@link #orientation} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerCubeKHR orientation(java.util.function.Consumer consumer) { consumer.accept(orientation()); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** any flags to apply to this layer. */
+ @NativeType("XrCompositionLayerFlags")
+ public long layerFlags() { return nlayerFlags(address()); }
+ /** the {@code XrSpace} in which the {@code orientation} of the cube layer is evaluated over time. */
+ @NativeType("XrSpace")
+ public long space() { return nspace(address()); }
+ /** @return the value of the {@code eyeVisibility} field. */
+ @NativeType("XrEyeVisibility")
+ public int eyeVisibility() { return neyeVisibility(address()); }
+ /** the swapchain, which must have been created with a {@code faceCount} of 6. */
+ @NativeType("XrSwapchain")
+ public long swapchain() { return nswapchain(address()); }
+ /** the image array index, with 0 meaning the first or only array element. */
+ @NativeType("uint32_t")
+ public int imageArrayIndex() { return nimageArrayIndex(address()); }
+ /** the orientation of the environment map in the {@code space}. */
+ public XrQuaternionf orientation() { return norientation(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrCompositionLayerCubeKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerCube#XR_TYPE_COMPOSITION_LAYER_CUBE_KHR TYPE_COMPOSITION_LAYER_CUBE_KHR} value to the {@link #type} field. */
+ public XrCompositionLayerCubeKHR type$Default() { return type(KHRCompositionLayerCube.XR_TYPE_COMPOSITION_LAYER_CUBE_KHR); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrCompositionLayerCubeKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #layerFlags} field. */
+ public XrCompositionLayerCubeKHR layerFlags(@NativeType("XrCompositionLayerFlags") long value) { nlayerFlags(address(), value); return this; }
+ /** Sets the specified value to the {@link #space} field. */
+ public XrCompositionLayerCubeKHR space(XrSpace value) { nspace(address(), value); return this; }
+ /** Sets the specified value to the {@code eyeVisibility} field. */
+ public XrCompositionLayerCubeKHR eyeVisibility(@NativeType("XrEyeVisibility") int value) { neyeVisibility(address(), value); return this; }
+ /** Sets the specified value to the {@link #swapchain} field. */
+ public XrCompositionLayerCubeKHR swapchain(XrSwapchain value) { nswapchain(address(), value); return this; }
+ /** Sets the specified value to the {@link #imageArrayIndex} field. */
+ public XrCompositionLayerCubeKHR imageArrayIndex(@NativeType("uint32_t") int value) { nimageArrayIndex(address(), value); return this; }
+ /** Copies the specified {@link XrQuaternionf} to the {@link #orientation} field. */
+ public XrCompositionLayerCubeKHR orientation(XrQuaternionf value) { norientation(address(), value); return this; }
+ /** Passes the {@link #orientation} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerCubeKHR orientation(java.util.function.Consumer consumer) { consumer.accept(orientation()); return this; }
/** Initializes this struct with the specified values. */
public XrCompositionLayerCubeKHR set(
- int type,
- long next,
- long layerFlags,
- XrSpace space,
- int eyeVisibility,
- XrSwapchain swapchain,
- int imageArrayIndex,
+ int type,
+ long next,
+ long layerFlags,
+ XrSpace space,
+ int eyeVisibility,
+ XrSwapchain swapchain,
+ int imageArrayIndex,
XrQuaternionf orientation
- ) {
- type(type);
- next(next);
- layerFlags(layerFlags);
- space(space);
- eyeVisibility(eyeVisibility);
- swapchain(swapchain);
- imageArrayIndex(imageArrayIndex);
- orientation(orientation);
+ ) {
+ type(type);
+ next(next);
+ layerFlags(layerFlags);
+ space(space);
+ eyeVisibility(eyeVisibility);
+ swapchain(swapchain);
+ imageArrayIndex(imageArrayIndex);
+ orientation(orientation);
return this;
}
@@ -322,40 +322,40 @@ public static XrCompositionLayerCubeKHR.Buffer calloc(int capacity, MemoryStack
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCubeKHR.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerCubeKHR.NEXT); }
- /** Unsafe version of {@link #layerFlags}. */
- public static long nlayerFlags(long struct) { return UNSAFE.getLong(null, struct + XrCompositionLayerCubeKHR.LAYERFLAGS); }
- /** Unsafe version of {@link #space}. */
- public static long nspace(long struct) { return memGetAddress(struct + XrCompositionLayerCubeKHR.SPACE); }
- /** Unsafe version of {@link #eyeVisibility}. */
- public static int neyeVisibility(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCubeKHR.EYEVISIBILITY); }
- /** Unsafe version of {@link #swapchain}. */
- public static long nswapchain(long struct) { return memGetAddress(struct + XrCompositionLayerCubeKHR.SWAPCHAIN); }
- /** Unsafe version of {@link #imageArrayIndex}. */
- public static int nimageArrayIndex(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCubeKHR.IMAGEARRAYINDEX); }
- /** Unsafe version of {@link #orientation}. */
- public static XrQuaternionf norientation(long struct) { return XrQuaternionf.create(struct + XrCompositionLayerCubeKHR.ORIENTATION); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCubeKHR.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerCubeKHR.NEXT, value); }
- /** Unsafe version of {@link #layerFlags(long) layerFlags}. */
- public static void nlayerFlags(long struct, long value) { UNSAFE.putLong(null, struct + XrCompositionLayerCubeKHR.LAYERFLAGS, value); }
- /** Unsafe version of {@link #space(XrSpace) space}. */
- public static void nspace(long struct, XrSpace value) { memPutAddress(struct + XrCompositionLayerCubeKHR.SPACE, value.address()); }
- /** Unsafe version of {@link #eyeVisibility(int) eyeVisibility}. */
- public static void neyeVisibility(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCubeKHR.EYEVISIBILITY, value); }
- /** Unsafe version of {@link #swapchain(XrSwapchain) swapchain}. */
- public static void nswapchain(long struct, XrSwapchain value) { memPutAddress(struct + XrCompositionLayerCubeKHR.SWAPCHAIN, value.address()); }
- /** Unsafe version of {@link #imageArrayIndex(int) imageArrayIndex}. */
- public static void nimageArrayIndex(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCubeKHR.IMAGEARRAYINDEX, value); }
- /** Unsafe version of {@link #orientation(XrQuaternionf) orientation}. */
- public static void norientation(long struct, XrQuaternionf value) { memCopy(value.address(), struct + XrCompositionLayerCubeKHR.ORIENTATION, XrQuaternionf.SIZEOF); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCubeKHR.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerCubeKHR.NEXT); }
+ /** Unsafe version of {@link #layerFlags}. */
+ public static long nlayerFlags(long struct) { return UNSAFE.getLong(null, struct + XrCompositionLayerCubeKHR.LAYERFLAGS); }
+ /** Unsafe version of {@link #space}. */
+ public static long nspace(long struct) { return memGetAddress(struct + XrCompositionLayerCubeKHR.SPACE); }
+ /** Unsafe version of {@link #eyeVisibility}. */
+ public static int neyeVisibility(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCubeKHR.EYEVISIBILITY); }
+ /** Unsafe version of {@link #swapchain}. */
+ public static long nswapchain(long struct) { return memGetAddress(struct + XrCompositionLayerCubeKHR.SWAPCHAIN); }
+ /** Unsafe version of {@link #imageArrayIndex}. */
+ public static int nimageArrayIndex(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCubeKHR.IMAGEARRAYINDEX); }
+ /** Unsafe version of {@link #orientation}. */
+ public static XrQuaternionf norientation(long struct) { return XrQuaternionf.create(struct + XrCompositionLayerCubeKHR.ORIENTATION); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCubeKHR.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerCubeKHR.NEXT, value); }
+ /** Unsafe version of {@link #layerFlags(long) layerFlags}. */
+ public static void nlayerFlags(long struct, long value) { UNSAFE.putLong(null, struct + XrCompositionLayerCubeKHR.LAYERFLAGS, value); }
+ /** Unsafe version of {@link #space(XrSpace) space}. */
+ public static void nspace(long struct, XrSpace value) { memPutAddress(struct + XrCompositionLayerCubeKHR.SPACE, value.address()); }
+ /** Unsafe version of {@link #eyeVisibility(int) eyeVisibility}. */
+ public static void neyeVisibility(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCubeKHR.EYEVISIBILITY, value); }
+ /** Unsafe version of {@link #swapchain(XrSwapchain) swapchain}. */
+ public static void nswapchain(long struct, XrSwapchain value) { memPutAddress(struct + XrCompositionLayerCubeKHR.SWAPCHAIN, value.address()); }
+ /** Unsafe version of {@link #imageArrayIndex(int) imageArrayIndex}. */
+ public static void nimageArrayIndex(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCubeKHR.IMAGEARRAYINDEX, value); }
+ /** Unsafe version of {@link #orientation(XrQuaternionf) orientation}. */
+ public static void norientation(long struct, XrQuaternionf value) { memCopy(value.address(), struct + XrCompositionLayerCubeKHR.ORIENTATION, XrQuaternionf.SIZEOF); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -365,9 +365,9 @@ public static XrCompositionLayerCubeKHR.Buffer calloc(int capacity, MemoryStack
public static void validate(long struct) {
check(memGetAddress(struct + XrCompositionLayerCubeKHR.SPACE));
check(memGetAddress(struct + XrCompositionLayerCubeKHR.SWAPCHAIN));
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrCompositionLayerCubeKHR} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -404,51 +404,51 @@ protected Buffer self() {
protected XrCompositionLayerCubeKHR getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrCompositionLayerCubeKHR#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrCompositionLayerCubeKHR.ntype(address()); }
- /** @return the value of the {@link XrCompositionLayerCubeKHR#next} field. */
- @NativeType("void const *")
- public long next() { return XrCompositionLayerCubeKHR.nnext(address()); }
- /** @return the value of the {@link XrCompositionLayerCubeKHR#layerFlags} field. */
- @NativeType("XrCompositionLayerFlags")
- public long layerFlags() { return XrCompositionLayerCubeKHR.nlayerFlags(address()); }
- /** @return the value of the {@link XrCompositionLayerCubeKHR#space} field. */
- @NativeType("XrSpace")
- public long space() { return XrCompositionLayerCubeKHR.nspace(address()); }
- /** @return the value of the {@link XrCompositionLayerCubeKHR#eyeVisibility} field. */
- @NativeType("XrEyeVisibility")
- public int eyeVisibility() { return XrCompositionLayerCubeKHR.neyeVisibility(address()); }
- /** @return the value of the {@link XrCompositionLayerCubeKHR#swapchain} field. */
- @NativeType("XrSwapchain")
- public long swapchain() { return XrCompositionLayerCubeKHR.nswapchain(address()); }
- /** @return the value of the {@link XrCompositionLayerCubeKHR#imageArrayIndex} field. */
- @NativeType("uint32_t")
- public int imageArrayIndex() { return XrCompositionLayerCubeKHR.nimageArrayIndex(address()); }
- /** @return a {@link XrQuaternionf} view of the {@link XrCompositionLayerCubeKHR#orientation} field. */
- public XrQuaternionf orientation() { return XrCompositionLayerCubeKHR.norientation(address()); }
-
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#type} field. */
- public XrCompositionLayerCubeKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerCubeKHR.ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerCube#XR_TYPE_COMPOSITION_LAYER_CUBE_KHR TYPE_COMPOSITION_LAYER_CUBE_KHR} value to the {@link XrCompositionLayerCubeKHR#type} field. */
- public XrCompositionLayerCubeKHR.Buffer type$Default() { return type(KHRCompositionLayerCube.XR_TYPE_COMPOSITION_LAYER_CUBE_KHR); }
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#next} field. */
- public XrCompositionLayerCubeKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerCubeKHR.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#layerFlags} field. */
- public XrCompositionLayerCubeKHR.Buffer layerFlags(@NativeType("XrCompositionLayerFlags") long value) { XrCompositionLayerCubeKHR.nlayerFlags(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#space} field. */
- public XrCompositionLayerCubeKHR.Buffer space(XrSpace value) { XrCompositionLayerCubeKHR.nspace(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#eyeVisibility} field. */
- public XrCompositionLayerCubeKHR.Buffer eyeVisibility(@NativeType("XrEyeVisibility") int value) { XrCompositionLayerCubeKHR.neyeVisibility(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#swapchain} field. */
- public XrCompositionLayerCubeKHR.Buffer swapchain(XrSwapchain value) { XrCompositionLayerCubeKHR.nswapchain(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#imageArrayIndex} field. */
- public XrCompositionLayerCubeKHR.Buffer imageArrayIndex(@NativeType("uint32_t") int value) { XrCompositionLayerCubeKHR.nimageArrayIndex(address(), value); return this; }
- /** Copies the specified {@link XrQuaternionf} to the {@link XrCompositionLayerCubeKHR#orientation} field. */
- public XrCompositionLayerCubeKHR.Buffer orientation(XrQuaternionf value) { XrCompositionLayerCubeKHR.norientation(address(), value); return this; }
- /** Passes the {@link XrCompositionLayerCubeKHR#orientation} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerCubeKHR.Buffer orientation(java.util.function.Consumer consumer) { consumer.accept(orientation()); return this; }
+
+ /** @return the value of the {@link XrCompositionLayerCubeKHR#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrCompositionLayerCubeKHR.ntype(address()); }
+ /** @return the value of the {@link XrCompositionLayerCubeKHR#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrCompositionLayerCubeKHR.nnext(address()); }
+ /** @return the value of the {@link XrCompositionLayerCubeKHR#layerFlags} field. */
+ @NativeType("XrCompositionLayerFlags")
+ public long layerFlags() { return XrCompositionLayerCubeKHR.nlayerFlags(address()); }
+ /** @return the value of the {@link XrCompositionLayerCubeKHR#space} field. */
+ @NativeType("XrSpace")
+ public long space() { return XrCompositionLayerCubeKHR.nspace(address()); }
+ /** @return the value of the {@code eyeVisibility} field. */
+ @NativeType("XrEyeVisibility")
+ public int eyeVisibility() { return XrCompositionLayerCubeKHR.neyeVisibility(address()); }
+ /** @return the value of the {@link XrCompositionLayerCubeKHR#swapchain} field. */
+ @NativeType("XrSwapchain")
+ public long swapchain() { return XrCompositionLayerCubeKHR.nswapchain(address()); }
+ /** @return the value of the {@link XrCompositionLayerCubeKHR#imageArrayIndex} field. */
+ @NativeType("uint32_t")
+ public int imageArrayIndex() { return XrCompositionLayerCubeKHR.nimageArrayIndex(address()); }
+ /** @return a {@link XrQuaternionf} view of the {@link XrCompositionLayerCubeKHR#orientation} field. */
+ public XrQuaternionf orientation() { return XrCompositionLayerCubeKHR.norientation(address()); }
+
+ /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#type} field. */
+ public XrCompositionLayerCubeKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerCubeKHR.ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerCube#XR_TYPE_COMPOSITION_LAYER_CUBE_KHR TYPE_COMPOSITION_LAYER_CUBE_KHR} value to the {@link XrCompositionLayerCubeKHR#type} field. */
+ public XrCompositionLayerCubeKHR.Buffer type$Default() { return type(KHRCompositionLayerCube.XR_TYPE_COMPOSITION_LAYER_CUBE_KHR); }
+ /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#next} field. */
+ public XrCompositionLayerCubeKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerCubeKHR.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#layerFlags} field. */
+ public XrCompositionLayerCubeKHR.Buffer layerFlags(@NativeType("XrCompositionLayerFlags") long value) { XrCompositionLayerCubeKHR.nlayerFlags(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#space} field. */
+ public XrCompositionLayerCubeKHR.Buffer space(XrSpace value) { XrCompositionLayerCubeKHR.nspace(address(), value); return this; }
+ /** Sets the specified value to the {@code eyeVisibility} field. */
+ public XrCompositionLayerCubeKHR.Buffer eyeVisibility(@NativeType("XrEyeVisibility") int value) { XrCompositionLayerCubeKHR.neyeVisibility(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#swapchain} field. */
+ public XrCompositionLayerCubeKHR.Buffer swapchain(XrSwapchain value) { XrCompositionLayerCubeKHR.nswapchain(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCubeKHR#imageArrayIndex} field. */
+ public XrCompositionLayerCubeKHR.Buffer imageArrayIndex(@NativeType("uint32_t") int value) { XrCompositionLayerCubeKHR.nimageArrayIndex(address(), value); return this; }
+ /** Copies the specified {@link XrQuaternionf} to the {@link XrCompositionLayerCubeKHR#orientation} field. */
+ public XrCompositionLayerCubeKHR.Buffer orientation(XrQuaternionf value) { XrCompositionLayerCubeKHR.norientation(address(), value); return this; }
+ /** Passes the {@link XrCompositionLayerCubeKHR#orientation} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerCubeKHR.Buffer orientation(java.util.function.Consumer consumer) { consumer.accept(orientation()); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCylinderKHR.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCylinderKHR.java
index 95f8f5336e..15fde50891 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCylinderKHR.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerCylinderKHR.java
@@ -4,18 +4,18 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.Checks.*;
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.Checks.*;
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Cylindrical layer composition info.
*
@@ -28,7 +28,7 @@
*
* - The {@link KHRCompositionLayerCylinder XR_KHR_composition_layer_cylinder} extension must be enabled prior to using {@link XrCompositionLayerCylinderKHR}
* - {@code type} must be {@link KHRCompositionLayerCylinder#XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR TYPE_COMPOSITION_LAYER_CYLINDER_KHR}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code layerFlags} must be 0 or a valid combination of {@code XrCompositionLayerFlagBits} values
* - {@code space} must be a valid {@code XrSpace} handle
* - {@code eyeVisibility} must be a valid {@code XrEyeVisibility} value
@@ -47,15 +47,15 @@
* void const * {@link #next};
* XrCompositionLayerFlags {@link #layerFlags};
* XrSpace {@link #space};
- * XrEyeVisibility {@link #eyeVisibility};
+ * XrEyeVisibility eyeVisibility;
* {@link XrSwapchainSubImage XrSwapchainSubImage} {@link #subImage};
* {@link XrPosef XrPosef} {@link #pose};
* float {@link #radius};
* float {@link #centralAngle};
* float {@link #aspectRatio};
* }
- */
-public class XrCompositionLayerCylinderKHR extends Struct implements NativeResource {
+ */
+public class XrCompositionLayerCylinderKHR extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -65,45 +65,45 @@ public class XrCompositionLayerCylinderKHR extends Structmust have been created with a {@code faceCount} of 1. */
- public XrSwapchainSubImage subImage() { return nsubImage(address()); }
- /** an {@link XrPosef} defining the position and orientation of the center point of the view of the cylinder within the reference frame of the {@code space}. */
- public XrPosef pose() { return npose(address()); }
- /** the non-negative radius of the cylinder. Values of zero or floating point positive infinity are treated as an infinite cylinder. */
- public float radius() { return nradius(address()); }
- /** the angle of the visible section of the cylinder, based at 0 radians, in the range of [0, 2π)
. It grows symmetrically around the 0 radian angle. */
- public float centralAngle() { return ncentralAngle(address()); }
- /** the ratio of the visible cylinder section width / height
. The height of the cylinder is given by: (cylinder radius × cylinder angle) / aspectRatio
. */
- public float aspectRatio() { return naspectRatio(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrCompositionLayerCylinderKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerCylinder#XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR TYPE_COMPOSITION_LAYER_CYLINDER_KHR} value to the {@link #type} field. */
- public XrCompositionLayerCylinderKHR type$Default() { return type(KHRCompositionLayerCylinder.XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR); }
- /** Sets the specified value to the {@link #next} field. */
- public XrCompositionLayerCylinderKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Sets the specified value to the {@link #layerFlags} field. */
- public XrCompositionLayerCylinderKHR layerFlags(@NativeType("XrCompositionLayerFlags") long value) { nlayerFlags(address(), value); return this; }
- /** Sets the specified value to the {@link #space} field. */
- public XrCompositionLayerCylinderKHR space(XrSpace value) { nspace(address(), value); return this; }
- /** Sets the specified value to the {@link #eyeVisibility} field. */
- public XrCompositionLayerCylinderKHR eyeVisibility(@NativeType("XrEyeVisibility") int value) { neyeVisibility(address(), value); return this; }
- /** Copies the specified {@link XrSwapchainSubImage} to the {@link #subImage} field. */
- public XrCompositionLayerCylinderKHR subImage(XrSwapchainSubImage value) { nsubImage(address(), value); return this; }
- /** Passes the {@link #subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerCylinderKHR subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
- /** Copies the specified {@link XrPosef} to the {@link #pose} field. */
- public XrCompositionLayerCylinderKHR pose(XrPosef value) { npose(address(), value); return this; }
- /** Passes the {@link #pose} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerCylinderKHR pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
- /** Sets the specified value to the {@link #radius} field. */
- public XrCompositionLayerCylinderKHR radius(float value) { nradius(address(), value); return this; }
- /** Sets the specified value to the {@link #centralAngle} field. */
- public XrCompositionLayerCylinderKHR centralAngle(float value) { ncentralAngle(address(), value); return this; }
- /** Sets the specified value to the {@link #aspectRatio} field. */
- public XrCompositionLayerCylinderKHR aspectRatio(float value) { naspectRatio(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** specifies options for the layer. */
+ @NativeType("XrCompositionLayerFlags")
+ public long layerFlags() { return nlayerFlags(address()); }
+ /** the {@code XrSpace} in which the {@code pose} of the cylinder layer is evaluated over time. */
+ @NativeType("XrSpace")
+ public long space() { return nspace(address()); }
+ /** @return the value of the {@code eyeVisibility} field. */
+ @NativeType("XrEyeVisibility")
+ public int eyeVisibility() { return neyeVisibility(address()); }
+ /** identifies the image {@link XrSwapchainSubImage} to use. The swapchain must have been created with a {@code faceCount} of 1. */
+ public XrSwapchainSubImage subImage() { return nsubImage(address()); }
+ /** an {@link XrPosef} defining the position and orientation of the center point of the view of the cylinder within the reference frame of the {@code space}. */
+ public XrPosef pose() { return npose(address()); }
+ /** the non-negative radius of the cylinder. Values of zero or floating point positive infinity are treated as an infinite cylinder. */
+ public float radius() { return nradius(address()); }
+ /** the angle of the visible section of the cylinder, based at 0 radians, in the range of [0, 2π)
. It grows symmetrically around the 0 radian angle. */
+ public float centralAngle() { return ncentralAngle(address()); }
+ /** the ratio of the visible cylinder section width / height
. The height of the cylinder is given by: (cylinder radius × cylinder angle) / aspectRatio
. */
+ public float aspectRatio() { return naspectRatio(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrCompositionLayerCylinderKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerCylinder#XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR TYPE_COMPOSITION_LAYER_CYLINDER_KHR} value to the {@link #type} field. */
+ public XrCompositionLayerCylinderKHR type$Default() { return type(KHRCompositionLayerCylinder.XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrCompositionLayerCylinderKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link #layerFlags} field. */
+ public XrCompositionLayerCylinderKHR layerFlags(@NativeType("XrCompositionLayerFlags") long value) { nlayerFlags(address(), value); return this; }
+ /** Sets the specified value to the {@link #space} field. */
+ public XrCompositionLayerCylinderKHR space(XrSpace value) { nspace(address(), value); return this; }
+ /** Sets the specified value to the {@code eyeVisibility} field. */
+ public XrCompositionLayerCylinderKHR eyeVisibility(@NativeType("XrEyeVisibility") int value) { neyeVisibility(address(), value); return this; }
+ /** Copies the specified {@link XrSwapchainSubImage} to the {@link #subImage} field. */
+ public XrCompositionLayerCylinderKHR subImage(XrSwapchainSubImage value) { nsubImage(address(), value); return this; }
+ /** Passes the {@link #subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerCylinderKHR subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link #pose} field. */
+ public XrCompositionLayerCylinderKHR pose(XrPosef value) { npose(address(), value); return this; }
+ /** Passes the {@link #pose} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerCylinderKHR pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
+ /** Sets the specified value to the {@link #radius} field. */
+ public XrCompositionLayerCylinderKHR radius(float value) { nradius(address(), value); return this; }
+ /** Sets the specified value to the {@link #centralAngle} field. */
+ public XrCompositionLayerCylinderKHR centralAngle(float value) { ncentralAngle(address(), value); return this; }
+ /** Sets the specified value to the {@link #aspectRatio} field. */
+ public XrCompositionLayerCylinderKHR aspectRatio(float value) { naspectRatio(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrCompositionLayerCylinderKHR set(
- int type,
- long next,
- long layerFlags,
- XrSpace space,
- int eyeVisibility,
- XrSwapchainSubImage subImage,
- XrPosef pose,
- float radius,
- float centralAngle,
+ int type,
+ long next,
+ long layerFlags,
+ XrSpace space,
+ int eyeVisibility,
+ XrSwapchainSubImage subImage,
+ XrPosef pose,
+ float radius,
+ float centralAngle,
float aspectRatio
- ) {
- type(type);
- next(next);
- layerFlags(layerFlags);
- space(space);
- eyeVisibility(eyeVisibility);
- subImage(subImage);
- pose(pose);
- radius(radius);
- centralAngle(centralAngle);
- aspectRatio(aspectRatio);
+ ) {
+ type(type);
+ next(next);
+ layerFlags(layerFlags);
+ space(space);
+ eyeVisibility(eyeVisibility);
+ subImage(subImage);
+ pose(pose);
+ radius(radius);
+ centralAngle(centralAngle);
+ aspectRatio(aspectRatio);
return this;
}
@@ -341,48 +341,48 @@ public static XrCompositionLayerCylinderKHR.Buffer calloc(int capacity, MemorySt
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCylinderKHR.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerCylinderKHR.NEXT); }
- /** Unsafe version of {@link #layerFlags}. */
- public static long nlayerFlags(long struct) { return UNSAFE.getLong(null, struct + XrCompositionLayerCylinderKHR.LAYERFLAGS); }
- /** Unsafe version of {@link #space}. */
- public static long nspace(long struct) { return memGetAddress(struct + XrCompositionLayerCylinderKHR.SPACE); }
- /** Unsafe version of {@link #eyeVisibility}. */
- public static int neyeVisibility(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCylinderKHR.EYEVISIBILITY); }
- /** Unsafe version of {@link #subImage}. */
- public static XrSwapchainSubImage nsubImage(long struct) { return XrSwapchainSubImage.create(struct + XrCompositionLayerCylinderKHR.SUBIMAGE); }
- /** Unsafe version of {@link #pose}. */
- public static XrPosef npose(long struct) { return XrPosef.create(struct + XrCompositionLayerCylinderKHR.POSE); }
- /** Unsafe version of {@link #radius}. */
- public static float nradius(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerCylinderKHR.RADIUS); }
- /** Unsafe version of {@link #centralAngle}. */
- public static float ncentralAngle(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerCylinderKHR.CENTRALANGLE); }
- /** Unsafe version of {@link #aspectRatio}. */
- public static float naspectRatio(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerCylinderKHR.ASPECTRATIO); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCylinderKHR.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerCylinderKHR.NEXT, value); }
- /** Unsafe version of {@link #layerFlags(long) layerFlags}. */
- public static void nlayerFlags(long struct, long value) { UNSAFE.putLong(null, struct + XrCompositionLayerCylinderKHR.LAYERFLAGS, value); }
- /** Unsafe version of {@link #space(XrSpace) space}. */
- public static void nspace(long struct, XrSpace value) { memPutAddress(struct + XrCompositionLayerCylinderKHR.SPACE, value.address()); }
- /** Unsafe version of {@link #eyeVisibility(int) eyeVisibility}. */
- public static void neyeVisibility(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCylinderKHR.EYEVISIBILITY, value); }
- /** Unsafe version of {@link #subImage(XrSwapchainSubImage) subImage}. */
- public static void nsubImage(long struct, XrSwapchainSubImage value) { memCopy(value.address(), struct + XrCompositionLayerCylinderKHR.SUBIMAGE, XrSwapchainSubImage.SIZEOF); }
- /** Unsafe version of {@link #pose(XrPosef) pose}. */
- public static void npose(long struct, XrPosef value) { memCopy(value.address(), struct + XrCompositionLayerCylinderKHR.POSE, XrPosef.SIZEOF); }
- /** Unsafe version of {@link #radius(float) radius}. */
- public static void nradius(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerCylinderKHR.RADIUS, value); }
- /** Unsafe version of {@link #centralAngle(float) centralAngle}. */
- public static void ncentralAngle(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerCylinderKHR.CENTRALANGLE, value); }
- /** Unsafe version of {@link #aspectRatio(float) aspectRatio}. */
- public static void naspectRatio(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerCylinderKHR.ASPECTRATIO, value); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCylinderKHR.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerCylinderKHR.NEXT); }
+ /** Unsafe version of {@link #layerFlags}. */
+ public static long nlayerFlags(long struct) { return UNSAFE.getLong(null, struct + XrCompositionLayerCylinderKHR.LAYERFLAGS); }
+ /** Unsafe version of {@link #space}. */
+ public static long nspace(long struct) { return memGetAddress(struct + XrCompositionLayerCylinderKHR.SPACE); }
+ /** Unsafe version of {@link #eyeVisibility}. */
+ public static int neyeVisibility(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerCylinderKHR.EYEVISIBILITY); }
+ /** Unsafe version of {@link #subImage}. */
+ public static XrSwapchainSubImage nsubImage(long struct) { return XrSwapchainSubImage.create(struct + XrCompositionLayerCylinderKHR.SUBIMAGE); }
+ /** Unsafe version of {@link #pose}. */
+ public static XrPosef npose(long struct) { return XrPosef.create(struct + XrCompositionLayerCylinderKHR.POSE); }
+ /** Unsafe version of {@link #radius}. */
+ public static float nradius(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerCylinderKHR.RADIUS); }
+ /** Unsafe version of {@link #centralAngle}. */
+ public static float ncentralAngle(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerCylinderKHR.CENTRALANGLE); }
+ /** Unsafe version of {@link #aspectRatio}. */
+ public static float naspectRatio(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerCylinderKHR.ASPECTRATIO); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCylinderKHR.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerCylinderKHR.NEXT, value); }
+ /** Unsafe version of {@link #layerFlags(long) layerFlags}. */
+ public static void nlayerFlags(long struct, long value) { UNSAFE.putLong(null, struct + XrCompositionLayerCylinderKHR.LAYERFLAGS, value); }
+ /** Unsafe version of {@link #space(XrSpace) space}. */
+ public static void nspace(long struct, XrSpace value) { memPutAddress(struct + XrCompositionLayerCylinderKHR.SPACE, value.address()); }
+ /** Unsafe version of {@link #eyeVisibility(int) eyeVisibility}. */
+ public static void neyeVisibility(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerCylinderKHR.EYEVISIBILITY, value); }
+ /** Unsafe version of {@link #subImage(XrSwapchainSubImage) subImage}. */
+ public static void nsubImage(long struct, XrSwapchainSubImage value) { memCopy(value.address(), struct + XrCompositionLayerCylinderKHR.SUBIMAGE, XrSwapchainSubImage.SIZEOF); }
+ /** Unsafe version of {@link #pose(XrPosef) pose}. */
+ public static void npose(long struct, XrPosef value) { memCopy(value.address(), struct + XrCompositionLayerCylinderKHR.POSE, XrPosef.SIZEOF); }
+ /** Unsafe version of {@link #radius(float) radius}. */
+ public static void nradius(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerCylinderKHR.RADIUS, value); }
+ /** Unsafe version of {@link #centralAngle(float) centralAngle}. */
+ public static void ncentralAngle(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerCylinderKHR.CENTRALANGLE, value); }
+ /** Unsafe version of {@link #aspectRatio(float) aspectRatio}. */
+ public static void naspectRatio(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerCylinderKHR.ASPECTRATIO, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -392,9 +392,9 @@ public static XrCompositionLayerCylinderKHR.Buffer calloc(int capacity, MemorySt
public static void validate(long struct) {
check(memGetAddress(struct + XrCompositionLayerCylinderKHR.SPACE));
XrSwapchainSubImage.validate(struct + XrCompositionLayerCylinderKHR.SUBIMAGE);
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrCompositionLayerCylinderKHR} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -431,59 +431,59 @@ protected Buffer self() {
protected XrCompositionLayerCylinderKHR getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrCompositionLayerCylinderKHR.ntype(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#next} field. */
- @NativeType("void const *")
- public long next() { return XrCompositionLayerCylinderKHR.nnext(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#layerFlags} field. */
- @NativeType("XrCompositionLayerFlags")
- public long layerFlags() { return XrCompositionLayerCylinderKHR.nlayerFlags(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#space} field. */
- @NativeType("XrSpace")
- public long space() { return XrCompositionLayerCylinderKHR.nspace(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#eyeVisibility} field. */
- @NativeType("XrEyeVisibility")
- public int eyeVisibility() { return XrCompositionLayerCylinderKHR.neyeVisibility(address()); }
- /** @return a {@link XrSwapchainSubImage} view of the {@link XrCompositionLayerCylinderKHR#subImage} field. */
- public XrSwapchainSubImage subImage() { return XrCompositionLayerCylinderKHR.nsubImage(address()); }
- /** @return a {@link XrPosef} view of the {@link XrCompositionLayerCylinderKHR#pose} field. */
- public XrPosef pose() { return XrCompositionLayerCylinderKHR.npose(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#radius} field. */
- public float radius() { return XrCompositionLayerCylinderKHR.nradius(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#centralAngle} field. */
- public float centralAngle() { return XrCompositionLayerCylinderKHR.ncentralAngle(address()); }
- /** @return the value of the {@link XrCompositionLayerCylinderKHR#aspectRatio} field. */
- public float aspectRatio() { return XrCompositionLayerCylinderKHR.naspectRatio(address()); }
-
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#type} field. */
- public XrCompositionLayerCylinderKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerCylinderKHR.ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerCylinder#XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR TYPE_COMPOSITION_LAYER_CYLINDER_KHR} value to the {@link XrCompositionLayerCylinderKHR#type} field. */
- public XrCompositionLayerCylinderKHR.Buffer type$Default() { return type(KHRCompositionLayerCylinder.XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR); }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#next} field. */
- public XrCompositionLayerCylinderKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerCylinderKHR.nnext(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#layerFlags} field. */
- public XrCompositionLayerCylinderKHR.Buffer layerFlags(@NativeType("XrCompositionLayerFlags") long value) { XrCompositionLayerCylinderKHR.nlayerFlags(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#space} field. */
- public XrCompositionLayerCylinderKHR.Buffer space(XrSpace value) { XrCompositionLayerCylinderKHR.nspace(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#eyeVisibility} field. */
- public XrCompositionLayerCylinderKHR.Buffer eyeVisibility(@NativeType("XrEyeVisibility") int value) { XrCompositionLayerCylinderKHR.neyeVisibility(address(), value); return this; }
- /** Copies the specified {@link XrSwapchainSubImage} to the {@link XrCompositionLayerCylinderKHR#subImage} field. */
- public XrCompositionLayerCylinderKHR.Buffer subImage(XrSwapchainSubImage value) { XrCompositionLayerCylinderKHR.nsubImage(address(), value); return this; }
- /** Passes the {@link XrCompositionLayerCylinderKHR#subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerCylinderKHR.Buffer subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
- /** Copies the specified {@link XrPosef} to the {@link XrCompositionLayerCylinderKHR#pose} field. */
- public XrCompositionLayerCylinderKHR.Buffer pose(XrPosef value) { XrCompositionLayerCylinderKHR.npose(address(), value); return this; }
- /** Passes the {@link XrCompositionLayerCylinderKHR#pose} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerCylinderKHR.Buffer pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#radius} field. */
- public XrCompositionLayerCylinderKHR.Buffer radius(float value) { XrCompositionLayerCylinderKHR.nradius(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#centralAngle} field. */
- public XrCompositionLayerCylinderKHR.Buffer centralAngle(float value) { XrCompositionLayerCylinderKHR.ncentralAngle(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#aspectRatio} field. */
- public XrCompositionLayerCylinderKHR.Buffer aspectRatio(float value) { XrCompositionLayerCylinderKHR.naspectRatio(address(), value); return this; }
+
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrCompositionLayerCylinderKHR.ntype(address()); }
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrCompositionLayerCylinderKHR.nnext(address()); }
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#layerFlags} field. */
+ @NativeType("XrCompositionLayerFlags")
+ public long layerFlags() { return XrCompositionLayerCylinderKHR.nlayerFlags(address()); }
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#space} field. */
+ @NativeType("XrSpace")
+ public long space() { return XrCompositionLayerCylinderKHR.nspace(address()); }
+ /** @return the value of the {@code eyeVisibility} field. */
+ @NativeType("XrEyeVisibility")
+ public int eyeVisibility() { return XrCompositionLayerCylinderKHR.neyeVisibility(address()); }
+ /** @return a {@link XrSwapchainSubImage} view of the {@link XrCompositionLayerCylinderKHR#subImage} field. */
+ public XrSwapchainSubImage subImage() { return XrCompositionLayerCylinderKHR.nsubImage(address()); }
+ /** @return a {@link XrPosef} view of the {@link XrCompositionLayerCylinderKHR#pose} field. */
+ public XrPosef pose() { return XrCompositionLayerCylinderKHR.npose(address()); }
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#radius} field. */
+ public float radius() { return XrCompositionLayerCylinderKHR.nradius(address()); }
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#centralAngle} field. */
+ public float centralAngle() { return XrCompositionLayerCylinderKHR.ncentralAngle(address()); }
+ /** @return the value of the {@link XrCompositionLayerCylinderKHR#aspectRatio} field. */
+ public float aspectRatio() { return XrCompositionLayerCylinderKHR.naspectRatio(address()); }
+
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#type} field. */
+ public XrCompositionLayerCylinderKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerCylinderKHR.ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerCylinder#XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR TYPE_COMPOSITION_LAYER_CYLINDER_KHR} value to the {@link XrCompositionLayerCylinderKHR#type} field. */
+ public XrCompositionLayerCylinderKHR.Buffer type$Default() { return type(KHRCompositionLayerCylinder.XR_TYPE_COMPOSITION_LAYER_CYLINDER_KHR); }
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#next} field. */
+ public XrCompositionLayerCylinderKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerCylinderKHR.nnext(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#layerFlags} field. */
+ public XrCompositionLayerCylinderKHR.Buffer layerFlags(@NativeType("XrCompositionLayerFlags") long value) { XrCompositionLayerCylinderKHR.nlayerFlags(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#space} field. */
+ public XrCompositionLayerCylinderKHR.Buffer space(XrSpace value) { XrCompositionLayerCylinderKHR.nspace(address(), value); return this; }
+ /** Sets the specified value to the {@code eyeVisibility} field. */
+ public XrCompositionLayerCylinderKHR.Buffer eyeVisibility(@NativeType("XrEyeVisibility") int value) { XrCompositionLayerCylinderKHR.neyeVisibility(address(), value); return this; }
+ /** Copies the specified {@link XrSwapchainSubImage} to the {@link XrCompositionLayerCylinderKHR#subImage} field. */
+ public XrCompositionLayerCylinderKHR.Buffer subImage(XrSwapchainSubImage value) { XrCompositionLayerCylinderKHR.nsubImage(address(), value); return this; }
+ /** Passes the {@link XrCompositionLayerCylinderKHR#subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerCylinderKHR.Buffer subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
+ /** Copies the specified {@link XrPosef} to the {@link XrCompositionLayerCylinderKHR#pose} field. */
+ public XrCompositionLayerCylinderKHR.Buffer pose(XrPosef value) { XrCompositionLayerCylinderKHR.npose(address(), value); return this; }
+ /** Passes the {@link XrCompositionLayerCylinderKHR#pose} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerCylinderKHR.Buffer pose(java.util.function.Consumer consumer) { consumer.accept(pose()); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#radius} field. */
+ public XrCompositionLayerCylinderKHR.Buffer radius(float value) { XrCompositionLayerCylinderKHR.nradius(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#centralAngle} field. */
+ public XrCompositionLayerCylinderKHR.Buffer centralAngle(float value) { XrCompositionLayerCylinderKHR.ncentralAngle(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerCylinderKHR#aspectRatio} field. */
+ public XrCompositionLayerCylinderKHR.Buffer aspectRatio(float value) { XrCompositionLayerCylinderKHR.naspectRatio(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthInfoKHR.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthInfoKHR.java
index 9fafc9e41d..5ec1bb8a81 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthInfoKHR.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthInfoKHR.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* Depth map layer info.
*
@@ -43,7 +43,7 @@
*
* - The {@link KHRCompositionLayerDepth XR_KHR_composition_layer_depth} extension must be enabled prior to using {@link XrCompositionLayerDepthInfoKHR}
* - {@code type} must be {@link KHRCompositionLayerDepth#XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR}
- * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
+ * - {@code next} must be {@code NULL} or a valid pointer to the next structure in a structure chain
* - {@code subImage} must be a valid {@link XrSwapchainSubImage} structure
*
*
@@ -63,8 +63,8 @@
* float {@link #nearZ};
* float {@link #farZ};
* }
- */
-public class XrCompositionLayerDepthInfoKHR extends Struct implements NativeResource {
+ */
+public class XrCompositionLayerDepthInfoKHR extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
@@ -74,36 +74,36 @@ public class XrCompositionLayerDepthInfoKHR extends Structmust have been created with a {@code faceCount} of 1. */
- public XrSwapchainSubImage subImage() { return nsubImage(address()); }
- /** {@code minDepth} and {@code maxDepth} are the window space depths that correspond to the near and far frustum planes, respectively. {@code minDepth} must be less than {@code maxDepth}. {@code minDepth} and {@code maxDepth} must be in the range [0, 1]. */
- public float minDepth() { return nminDepth(address()); }
- /** see {@code minDepth} */
- public float maxDepth() { return nmaxDepth(address()); }
- /** {@code nearZ} and {@code farZ} are the positive distances in meters to the near and far frustum planes, respectively. {@code nearZ} and {@code farZ} must not be equal. {@code nearZ} and {@code farZ} must be in the range (0, +infinity]. */
- public float nearZ() { return nnearZ(address()); }
- /** see {@code nearZ} */
- public float farZ() { return nfarZ(address()); }
-
- /** Sets the specified value to the {@link #type} field. */
- public XrCompositionLayerDepthInfoKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerDepth#XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR} value to the {@link #type} field. */
- public XrCompositionLayerDepthInfoKHR type$Default() { return type(KHRCompositionLayerDepth.XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR); }
- /** Sets the specified value to the {@link #next} field. */
- public XrCompositionLayerDepthInfoKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
- /** Copies the specified {@link XrSwapchainSubImage} to the {@link #subImage} field. */
- public XrCompositionLayerDepthInfoKHR subImage(XrSwapchainSubImage value) { nsubImage(address(), value); return this; }
- /** Passes the {@link #subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerDepthInfoKHR subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
- /** Sets the specified value to the {@link #minDepth} field. */
- public XrCompositionLayerDepthInfoKHR minDepth(float value) { nminDepth(address(), value); return this; }
- /** Sets the specified value to the {@link #maxDepth} field. */
- public XrCompositionLayerDepthInfoKHR maxDepth(float value) { nmaxDepth(address(), value); return this; }
- /** Sets the specified value to the {@link #nearZ} field. */
- public XrCompositionLayerDepthInfoKHR nearZ(float value) { nnearZ(address(), value); return this; }
- /** Sets the specified value to the {@link #farZ} field. */
- public XrCompositionLayerDepthInfoKHR farZ(float value) { nfarZ(address(), value); return this; }
+
+ /** the {@code XrStructureType} of this structure. */
+ @NativeType("XrStructureType")
+ public int type() { return ntype(address()); }
+ /** {@code NULL} or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension. */
+ @NativeType("void const *")
+ public long next() { return nnext(address()); }
+ /** identifies the depth image {@link XrSwapchainSubImage} to be associated with the color swapchain. The swapchain must have been created with a {@code faceCount} of 1. */
+ public XrSwapchainSubImage subImage() { return nsubImage(address()); }
+ /** {@code minDepth} and {@code maxDepth} are the window space depths that correspond to the near and far frustum planes, respectively. {@code minDepth} must be less than {@code maxDepth}. {@code minDepth} and {@code maxDepth} must be in the range [0, 1]. */
+ public float minDepth() { return nminDepth(address()); }
+ /** see {@code minDepth} */
+ public float maxDepth() { return nmaxDepth(address()); }
+ /** {@code nearZ} and {@code farZ} are the positive distances in meters to the near and far frustum planes, respectively. {@code nearZ} and {@code farZ} must not be equal. {@code nearZ} and {@code farZ} must be in the range (0, +infinity]. */
+ public float nearZ() { return nnearZ(address()); }
+ /** see {@code nearZ} */
+ public float farZ() { return nfarZ(address()); }
+
+ /** Sets the specified value to the {@link #type} field. */
+ public XrCompositionLayerDepthInfoKHR type(@NativeType("XrStructureType") int value) { ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerDepth#XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR} value to the {@link #type} field. */
+ public XrCompositionLayerDepthInfoKHR type$Default() { return type(KHRCompositionLayerDepth.XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR); }
+ /** Sets the specified value to the {@link #next} field. */
+ public XrCompositionLayerDepthInfoKHR next(@NativeType("void const *") long value) { nnext(address(), value); return this; }
+ /** Copies the specified {@link XrSwapchainSubImage} to the {@link #subImage} field. */
+ public XrCompositionLayerDepthInfoKHR subImage(XrSwapchainSubImage value) { nsubImage(address(), value); return this; }
+ /** Passes the {@link #subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerDepthInfoKHR subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
+ /** Sets the specified value to the {@link #minDepth} field. */
+ public XrCompositionLayerDepthInfoKHR minDepth(float value) { nminDepth(address(), value); return this; }
+ /** Sets the specified value to the {@link #maxDepth} field. */
+ public XrCompositionLayerDepthInfoKHR maxDepth(float value) { nmaxDepth(address(), value); return this; }
+ /** Sets the specified value to the {@link #nearZ} field. */
+ public XrCompositionLayerDepthInfoKHR nearZ(float value) { nnearZ(address(), value); return this; }
+ /** Sets the specified value to the {@link #farZ} field. */
+ public XrCompositionLayerDepthInfoKHR farZ(float value) { nfarZ(address(), value); return this; }
/** Initializes this struct with the specified values. */
public XrCompositionLayerDepthInfoKHR set(
- int type,
- long next,
- XrSwapchainSubImage subImage,
- float minDepth,
- float maxDepth,
- float nearZ,
+ int type,
+ long next,
+ XrSwapchainSubImage subImage,
+ float minDepth,
+ float maxDepth,
+ float nearZ,
float farZ
- ) {
- type(type);
- next(next);
- subImage(subImage);
- minDepth(minDepth);
- maxDepth(maxDepth);
- nearZ(nearZ);
- farZ(farZ);
+ ) {
+ type(type);
+ next(next);
+ subImage(subImage);
+ minDepth(minDepth);
+ maxDepth(maxDepth);
+ nearZ(nearZ);
+ farZ(farZ);
return this;
}
@@ -308,36 +308,36 @@ public static XrCompositionLayerDepthInfoKHR.Buffer calloc(int capacity, MemoryS
}
// -----------------------------------
-
- /** Unsafe version of {@link #type}. */
- public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerDepthInfoKHR.TYPE); }
- /** Unsafe version of {@link #next}. */
- public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerDepthInfoKHR.NEXT); }
- /** Unsafe version of {@link #subImage}. */
- public static XrSwapchainSubImage nsubImage(long struct) { return XrSwapchainSubImage.create(struct + XrCompositionLayerDepthInfoKHR.SUBIMAGE); }
- /** Unsafe version of {@link #minDepth}. */
- public static float nminDepth(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.MINDEPTH); }
- /** Unsafe version of {@link #maxDepth}. */
- public static float nmaxDepth(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.MAXDEPTH); }
- /** Unsafe version of {@link #nearZ}. */
- public static float nnearZ(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.NEARZ); }
- /** Unsafe version of {@link #farZ}. */
- public static float nfarZ(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.FARZ); }
-
- /** Unsafe version of {@link #type(int) type}. */
- public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerDepthInfoKHR.TYPE, value); }
- /** Unsafe version of {@link #next(long) next}. */
- public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerDepthInfoKHR.NEXT, value); }
- /** Unsafe version of {@link #subImage(XrSwapchainSubImage) subImage}. */
- public static void nsubImage(long struct, XrSwapchainSubImage value) { memCopy(value.address(), struct + XrCompositionLayerDepthInfoKHR.SUBIMAGE, XrSwapchainSubImage.SIZEOF); }
- /** Unsafe version of {@link #minDepth(float) minDepth}. */
- public static void nminDepth(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.MINDEPTH, value); }
- /** Unsafe version of {@link #maxDepth(float) maxDepth}. */
- public static void nmaxDepth(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.MAXDEPTH, value); }
- /** Unsafe version of {@link #nearZ(float) nearZ}. */
- public static void nnearZ(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.NEARZ, value); }
- /** Unsafe version of {@link #farZ(float) farZ}. */
- public static void nfarZ(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.FARZ, value); }
+
+ /** Unsafe version of {@link #type}. */
+ public static int ntype(long struct) { return UNSAFE.getInt(null, struct + XrCompositionLayerDepthInfoKHR.TYPE); }
+ /** Unsafe version of {@link #next}. */
+ public static long nnext(long struct) { return memGetAddress(struct + XrCompositionLayerDepthInfoKHR.NEXT); }
+ /** Unsafe version of {@link #subImage}. */
+ public static XrSwapchainSubImage nsubImage(long struct) { return XrSwapchainSubImage.create(struct + XrCompositionLayerDepthInfoKHR.SUBIMAGE); }
+ /** Unsafe version of {@link #minDepth}. */
+ public static float nminDepth(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.MINDEPTH); }
+ /** Unsafe version of {@link #maxDepth}. */
+ public static float nmaxDepth(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.MAXDEPTH); }
+ /** Unsafe version of {@link #nearZ}. */
+ public static float nnearZ(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.NEARZ); }
+ /** Unsafe version of {@link #farZ}. */
+ public static float nfarZ(long struct) { return UNSAFE.getFloat(null, struct + XrCompositionLayerDepthInfoKHR.FARZ); }
+
+ /** Unsafe version of {@link #type(int) type}. */
+ public static void ntype(long struct, int value) { UNSAFE.putInt(null, struct + XrCompositionLayerDepthInfoKHR.TYPE, value); }
+ /** Unsafe version of {@link #next(long) next}. */
+ public static void nnext(long struct, long value) { memPutAddress(struct + XrCompositionLayerDepthInfoKHR.NEXT, value); }
+ /** Unsafe version of {@link #subImage(XrSwapchainSubImage) subImage}. */
+ public static void nsubImage(long struct, XrSwapchainSubImage value) { memCopy(value.address(), struct + XrCompositionLayerDepthInfoKHR.SUBIMAGE, XrSwapchainSubImage.SIZEOF); }
+ /** Unsafe version of {@link #minDepth(float) minDepth}. */
+ public static void nminDepth(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.MINDEPTH, value); }
+ /** Unsafe version of {@link #maxDepth(float) maxDepth}. */
+ public static void nmaxDepth(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.MAXDEPTH, value); }
+ /** Unsafe version of {@link #nearZ(float) nearZ}. */
+ public static void nnearZ(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.NEARZ, value); }
+ /** Unsafe version of {@link #farZ(float) farZ}. */
+ public static void nfarZ(long struct, float value) { UNSAFE.putFloat(null, struct + XrCompositionLayerDepthInfoKHR.FARZ, value); }
/**
* Validates pointer members that should not be {@code NULL}.
@@ -346,9 +346,9 @@ public static XrCompositionLayerDepthInfoKHR.Buffer calloc(int capacity, MemoryS
*/
public static void validate(long struct) {
XrSwapchainSubImage.validate(struct + XrCompositionLayerDepthInfoKHR.SUBIMAGE);
- }
+ }
- // -----------------------------------
+ // -----------------------------------
/** An array of {@link XrCompositionLayerDepthInfoKHR} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
@@ -385,42 +385,42 @@ protected Buffer self() {
protected XrCompositionLayerDepthInfoKHR getElementFactory() {
return ELEMENT_FACTORY;
}
-
- /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#type} field. */
- @NativeType("XrStructureType")
- public int type() { return XrCompositionLayerDepthInfoKHR.ntype(address()); }
- /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#next} field. */
- @NativeType("void const *")
- public long next() { return XrCompositionLayerDepthInfoKHR.nnext(address()); }
- /** @return a {@link XrSwapchainSubImage} view of the {@link XrCompositionLayerDepthInfoKHR#subImage} field. */
- public XrSwapchainSubImage subImage() { return XrCompositionLayerDepthInfoKHR.nsubImage(address()); }
- /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#minDepth} field. */
- public float minDepth() { return XrCompositionLayerDepthInfoKHR.nminDepth(address()); }
- /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#maxDepth} field. */
- public float maxDepth() { return XrCompositionLayerDepthInfoKHR.nmaxDepth(address()); }
- /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#nearZ} field. */
- public float nearZ() { return XrCompositionLayerDepthInfoKHR.nnearZ(address()); }
- /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#farZ} field. */
- public float farZ() { return XrCompositionLayerDepthInfoKHR.nfarZ(address()); }
-
- /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#type} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerDepthInfoKHR.ntype(address(), value); return this; }
- /** Sets the {@link KHRCompositionLayerDepth#XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR} value to the {@link XrCompositionLayerDepthInfoKHR#type} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer type$Default() { return type(KHRCompositionLayerDepth.XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR); }
- /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#next} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerDepthInfoKHR.nnext(address(), value); return this; }
- /** Copies the specified {@link XrSwapchainSubImage} to the {@link XrCompositionLayerDepthInfoKHR#subImage} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer subImage(XrSwapchainSubImage value) { XrCompositionLayerDepthInfoKHR.nsubImage(address(), value); return this; }
- /** Passes the {@link XrCompositionLayerDepthInfoKHR#subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
- public XrCompositionLayerDepthInfoKHR.Buffer subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#minDepth} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer minDepth(float value) { XrCompositionLayerDepthInfoKHR.nminDepth(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#maxDepth} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer maxDepth(float value) { XrCompositionLayerDepthInfoKHR.nmaxDepth(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#nearZ} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer nearZ(float value) { XrCompositionLayerDepthInfoKHR.nnearZ(address(), value); return this; }
- /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#farZ} field. */
- public XrCompositionLayerDepthInfoKHR.Buffer farZ(float value) { XrCompositionLayerDepthInfoKHR.nfarZ(address(), value); return this; }
+
+ /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#type} field. */
+ @NativeType("XrStructureType")
+ public int type() { return XrCompositionLayerDepthInfoKHR.ntype(address()); }
+ /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#next} field. */
+ @NativeType("void const *")
+ public long next() { return XrCompositionLayerDepthInfoKHR.nnext(address()); }
+ /** @return a {@link XrSwapchainSubImage} view of the {@link XrCompositionLayerDepthInfoKHR#subImage} field. */
+ public XrSwapchainSubImage subImage() { return XrCompositionLayerDepthInfoKHR.nsubImage(address()); }
+ /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#minDepth} field. */
+ public float minDepth() { return XrCompositionLayerDepthInfoKHR.nminDepth(address()); }
+ /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#maxDepth} field. */
+ public float maxDepth() { return XrCompositionLayerDepthInfoKHR.nmaxDepth(address()); }
+ /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#nearZ} field. */
+ public float nearZ() { return XrCompositionLayerDepthInfoKHR.nnearZ(address()); }
+ /** @return the value of the {@link XrCompositionLayerDepthInfoKHR#farZ} field. */
+ public float farZ() { return XrCompositionLayerDepthInfoKHR.nfarZ(address()); }
+
+ /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#type} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer type(@NativeType("XrStructureType") int value) { XrCompositionLayerDepthInfoKHR.ntype(address(), value); return this; }
+ /** Sets the {@link KHRCompositionLayerDepth#XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR} value to the {@link XrCompositionLayerDepthInfoKHR#type} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer type$Default() { return type(KHRCompositionLayerDepth.XR_TYPE_COMPOSITION_LAYER_DEPTH_INFO_KHR); }
+ /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#next} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer next(@NativeType("void const *") long value) { XrCompositionLayerDepthInfoKHR.nnext(address(), value); return this; }
+ /** Copies the specified {@link XrSwapchainSubImage} to the {@link XrCompositionLayerDepthInfoKHR#subImage} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer subImage(XrSwapchainSubImage value) { XrCompositionLayerDepthInfoKHR.nsubImage(address(), value); return this; }
+ /** Passes the {@link XrCompositionLayerDepthInfoKHR#subImage} field to the specified {@link java.util.function.Consumer Consumer}. */
+ public XrCompositionLayerDepthInfoKHR.Buffer subImage(java.util.function.Consumer consumer) { consumer.accept(subImage()); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#minDepth} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer minDepth(float value) { XrCompositionLayerDepthInfoKHR.nminDepth(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#maxDepth} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer maxDepth(float value) { XrCompositionLayerDepthInfoKHR.nmaxDepth(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#nearZ} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer nearZ(float value) { XrCompositionLayerDepthInfoKHR.nnearZ(address(), value); return this; }
+ /** Sets the specified value to the {@link XrCompositionLayerDepthInfoKHR#farZ} field. */
+ public XrCompositionLayerDepthInfoKHR.Buffer farZ(float value) { XrCompositionLayerDepthInfoKHR.nfarZ(address(), value); return this; }
}
diff --git a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthTestFB.java b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthTestFB.java
index f4089180bb..a46cfb161b 100644
--- a/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthTestFB.java
+++ b/modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrCompositionLayerDepthTestFB.java
@@ -4,17 +4,17 @@
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
-
+
import javax.annotation.*;
-
+
import java.nio.*;
-
-import org.lwjgl.*;
+
+import org.lwjgl.*;
import org.lwjgl.system.*;
-
-import static org.lwjgl.system.MemoryUtil.*;
-import static org.lwjgl.system.MemoryStack.*;
-
+
+import static org.lwjgl.system.MemoryUtil.*;
+import static org.lwjgl.system.MemoryStack.*;
+
/**
* specifies depth test for composition layer.
*
@@ -27,7 +27,7 @@
*