Class XrSystemHeadsetIdPropertiesMETA

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSystemHeadsetIdPropertiesMETA>
org.lwjgl.openxr.XrSystemHeadsetIdPropertiesMETA
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrSystemHeadsetIdPropertiesMETA extends org.lwjgl.system.Struct<XrSystemHeadsetIdPropertiesMETA> implements org.lwjgl.system.NativeResource
get headset model id from xrGetSystemProperties.
Description

An application can get a corresponding headset UUID of the headset model by chaining an XrSystemHeadsetIdPropertiesMETA structure to the XrSystemProperties when calling GetSystemProperties.

The UUID returned in the XrSystemHeadsetIdPropertiesMETA structure is an opaque UUID that identifies a runtime / headset model combo.

The runtime should always return the same UUID for a given headset model for the entire lifetime of that product.

The runtime may report a different UUID to some applications for compatibility purposes.

This is in contrast to the XrSystemProperties::systemName field which is not required to be consistent across product renames.

This is intended to be a temporary feature that will be deprecated along with its extension as soon as motivating use cases are resolved in a better way. See the disclaimer at the start of the XR_META_headset_id extension documentation for more details.

Valid Usage (Implicit)
See Also

XrUuidEXT, GetSystemProperties

Layout


 struct XrSystemHeadsetIdPropertiesMETA {
     XrStructureType type();
     void * next();
     XrUuidEXT id();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • ID

      public static final int ID
      The struct member offsets.
  • Constructor Details

    • XrSystemHeadsetIdPropertiesMETA

      public XrSystemHeadsetIdPropertiesMETA(ByteBuffer container)
      Creates a XrSystemHeadsetIdPropertiesMETA instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details