Class XrFovf.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new XrFovf.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 XrFovf.SIZEOF, and its mark will be undefined.

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

    • Buffer Link icon

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

    • angleLeft Link icon

      public float angleLeft()
      Returns:
      the value of the angleLeft field.
    • angleRight Link icon

      public float angleRight()
      Returns:
      the value of the angleRight field.
    • angleUp Link icon

      public float angleUp()
      Returns:
      the value of the angleUp field.
    • angleDown Link icon

      public float angleDown()
      Returns:
      the value of the angleDown field.
    • angleLeft Link icon

      public XrFovf.Buffer angleLeft(float value)
      Sets the specified value to the angleLeft field.
    • angleRight Link icon

      public XrFovf.Buffer angleRight(float value)
      Sets the specified value to the angleRight field.
    • angleUp Link icon

      public XrFovf.Buffer angleUp(float value)
      Sets the specified value to the angleUp field.
    • angleDown Link icon

      public XrFovf.Buffer angleDown(float value)
      Sets the specified value to the angleDown field.