Class XrSystemUserPresencePropertiesEXT

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

public class XrSystemUserPresencePropertiesEXT extends org.lwjgl.system.Struct<XrSystemUserPresencePropertiesEXT> implements org.lwjgl.system.NativeResource
Returns the system capability whether it supports user presence.
Description

The application can use the XrSystemUserPresencePropertiesEXT event in GetSystemProperties to detect if the given system supports the sensing of user presence.

If the system does not support user presence sensing, the runtime must return FALSE for supportsUserPresence and must not queue the XrEventDataUserPresenceChangedEXT event for any session on this system.

In this case, an application typically assumes that the user is always present, as the runtime is unable to detect changes in user presence.

Valid Usage (Implicit)
See Also

GetSystemProperties

Layout


 struct XrSystemUserPresencePropertiesEXT {
     XrStructureType type();
     void * next();
     XrBool32 supportsUserPresence();
 }
  • 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.
    • SUPPORTSUSERPRESENCE

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

    • XrSystemUserPresencePropertiesEXT

      public XrSystemUserPresencePropertiesEXT(ByteBuffer container)
      Creates a XrSystemUserPresencePropertiesEXT 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