Class XrSceneMarkerQRCodesMSFT

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

public class XrSceneMarkerQRCodesMSFT extends org.lwjgl.system.Struct<XrSceneMarkerQRCodesMSFT> implements org.lwjgl.system.NativeResource
Properties for QRCode marker.
Description

An XrSceneMarkerQRCodesMSFT structure can be chained to the next pointer of XrSceneComponentsMSFT when calling GetSceneComponentsMSFT function to retrieve the QR Code specific properties through an array of XrSceneMarkerQRCodeMSFT structures.

GetSceneComponentsMSFT follows the two-call idiom for filling the XrSceneComponentsMSFT structure to which an XrSceneMarkerQRCodesMSFT structure can be chained.

The qrCodeCapacityInput must be equal to or greater than the corresponding XrSceneComponentsMSFT::componentCapacityInput, otherwise the runtime must return the success code ERROR_SIZE_INSUFFICIENT from GetSceneComponentsMSFT.

The actual count of elements returned in the array qrCodes is consistent to the extended XrSceneComponentsMSFT structure and returned in XrSceneComponentsMSFT::componentCountOutput.

Valid Usage (Implicit)
See Also

XrSceneMarkerQRCodeMSFT, GetSceneComponentsMSFT

Layout


 struct XrSceneMarkerQRCodesMSFT {
     XrStructureType type();
     void const * next();
     uint32_t qrCodeCapacityInput();
     XrSceneMarkerQRCodeMSFT * qrCodes();
 }
  • 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.
    • QRCODECAPACITYINPUT

      public static final int QRCODECAPACITYINPUT
      The struct member offsets.
    • QRCODES

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

    • XrSceneMarkerQRCodesMSFT

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