Class CompositorOverlaySettings.Buffer

    • Constructor Detail

      • Buffer

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

      • size

        public int size()
        Returns the value of the size field.
      • curved

        public boolean curved()
        Returns the value of the curved field.
      • antialias

        public boolean antialias()
        Returns the value of the antialias field.
      • scale

        public float scale()
        Returns the value of the scale field.
      • distance

        public float distance()
        Returns the value of the distance field.
      • alpha

        public float alpha()
        Returns the value of the alpha field.
      • uOffset

        public float uOffset()
        Returns the value of the uOffset field.
      • vOffset

        public float vOffset()
        Returns the value of the vOffset field.
      • uScale

        public float uScale()
        Returns the value of the uScale field.
      • vScale

        public float vScale()
        Returns the value of the vScale field.
      • gridDivs

        public float gridDivs()
        Returns the value of the gridDivs field.
      • gridWidth

        public float gridWidth()
        Returns the value of the gridWidth field.
      • gridScale

        public float gridScale()
        Returns the value of the gridScale field.