Class DistortionCoordinates.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new DistortionCoordinates.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 DistortionCoordinates.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 Detail

      • rfRed

        public java.nio.FloatBuffer rfRed()
        Returns a FloatBuffer view of the rfRed field.
      • rfRed

        public float rfRed​(int index)
        Returns the value at the specified index of the rfRed field.
      • rfGreen

        public java.nio.FloatBuffer rfGreen()
        Returns a FloatBuffer view of the rfGreen field.
      • rfGreen

        public float rfGreen​(int index)
        Returns the value at the specified index of the rfGreen field.
      • rfBlue

        public java.nio.FloatBuffer rfBlue()
        Returns a FloatBuffer view of the rfBlue field.
      • rfBlue

        public float rfBlue​(int index)
        Returns the value at the specified index of the rfBlue field.