Class XrFaceTrackerCreateInfo2FB.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<XrFaceTrackerCreateInfo2FB>, NativeResource, Pointer
Enclosing class:
XrFaceTrackerCreateInfo2FB

public static class XrFaceTrackerCreateInfo2FB.Buffer extends StructBuffer<XrFaceTrackerCreateInfo2FB,XrFaceTrackerCreateInfo2FB.Buffer> implements NativeResource
An array of XrFaceTrackerCreateInfo2FB structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new XrFaceTrackerCreateInfo2FB.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by XrFaceTrackerCreateInfo2FB.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • type

      public int type()
      Returns:
      the value of the type field.
    • next

      public long next()
      Returns:
      the value of the next field.
    • faceExpressionSet

      public int faceExpressionSet()
      Returns:
      the value of the faceExpressionSet field.
    • requestedDataSourceCount

      public int requestedDataSourceCount()
      Returns:
      the value of the requestedDataSourceCount field.
    • requestedDataSources

      public @Nullable IntBuffer requestedDataSources()
      Returns:
      a IntBuffer view of the data pointed to by the requestedDataSources field.
    • type

      public XrFaceTrackerCreateInfo2FB.Buffer type(int value)
      Sets the specified value to the type field.
    • type$Default

      public XrFaceTrackerCreateInfo2FB.Buffer type$Default()
      Sets the TYPE_FACE_TRACKER_CREATE_INFO2_FB value to the type field.
    • next

      public XrFaceTrackerCreateInfo2FB.Buffer next(long value)
      Sets the specified value to the next field.
    • faceExpressionSet

      public XrFaceTrackerCreateInfo2FB.Buffer faceExpressionSet(int value)
      Sets the specified value to the faceExpressionSet field.
    • requestedDataSourceCount

      public XrFaceTrackerCreateInfo2FB.Buffer requestedDataSourceCount(int value)
      Sets the specified value to the requestedDataSourceCount field.
    • requestedDataSources

      public XrFaceTrackerCreateInfo2FB.Buffer requestedDataSources(@Nullable IntBuffer value)
      Sets the address of the specified IntBuffer to the requestedDataSources field.