Class XrSystemAnchorPropertiesHTC

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

public class XrSystemAnchorPropertiesHTC extends org.lwjgl.system.Struct<XrSystemAnchorPropertiesHTC> implements org.lwjgl.system.NativeResource
System property for anchor.
Description

An application can inspect whether the system is capable of anchor functionality by chaining an XrSystemAnchorPropertiesHTC structure to the XrSystemProperties when calling GetSystemProperties. The runtime must return ERROR_FEATURE_UNSUPPORTED if XrSystemAnchorPropertiesHTC::supportsAnchor was FALSE.

Valid Usage (Implicit)
See Also

XrSystemProperties, GetSystemProperties

Layout


 struct XrSystemAnchorPropertiesHTC {
     XrStructureType type();
     void * next();
     XrBool32 supportsAnchor();
 }
  • 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.
    • SUPPORTSANCHOR

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

    • XrSystemAnchorPropertiesHTC

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