Class XrSceneMarkerTypeFilterMSFT

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

public class XrSceneMarkerTypeFilterMSFT extends org.lwjgl.system.Struct<XrSceneMarkerTypeFilterMSFT> implements org.lwjgl.system.NativeResource
The information to filter marker query results.
Description

The application can filter the returned scene components to specific marker types by chaining XrSceneMarkerTypeFilterMSFT to the next pointer of XrSceneComponentsGetInfoMSFT when calling GetSceneComponentsMSFT.

When XrSceneMarkerTypeFilterMSFT is provided to GetSceneComponentsMSFT, the runtime must only return scene components that match the requested types.

The application must provide a non-empty array of unique markerTypes, i.e. the markerTypeCount must be positive and the elements in the markerTypes array must not have duplicated values. Otherwise, the runtime must return ERROR_VALIDATION_FAILURE for GetSceneComponentsMSFT function.

Valid Usage (Implicit)
See Also

GetSceneComponentsMSFT

Layout


 struct XrSceneMarkerTypeFilterMSFT {
     XrStructureType type();
     void const * next();
     uint32_t markerTypeCount();
     XrSceneMarkerTypeMSFT * markerTypes();
 }
  • 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.
    • MARKERTYPECOUNT

      public static final int MARKERTYPECOUNT
      The struct member offsets.
    • MARKERTYPES

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

    • XrSceneMarkerTypeFilterMSFT

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