Class XrEventDataReferenceSpaceChangePending.Buffer

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

public static class XrEventDataReferenceSpaceChangePending.Buffer extends StructBuffer<XrEventDataReferenceSpaceChangePending,XrEventDataReferenceSpaceChangePending.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new XrEventDataReferenceSpaceChangePending.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 XrEventDataReferenceSpaceChangePending.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.
    • session

      public long session()
      Returns:
      the value of the session field.
    • referenceSpaceType

      public int referenceSpaceType()
      Returns:
      the value of the referenceSpaceType field.
    • changeTime

      public long changeTime()
      Returns:
      the value of the changeTime field.
    • poseValid

      public boolean poseValid()
      Returns:
      the value of the poseValid field.
    • poseInPreviousSpace

      public XrPosef poseInPreviousSpace()
      Returns:
      a XrPosef view of the poseInPreviousSpace field.
    • type

      Sets the specified value to the type field.
    • type$Default

      Sets the TYPE_EVENT_DATA_REFERENCE_SPACE_CHANGE_PENDING value to the type field.
    • next

      Sets the specified value to the next field.