Class PIXELFORMATDESCRIPTOR.Buffer

    • Constructor Detail

      • Buffer

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

      • nSize

        public short nSize()
        Returns the value of the nSize field.
      • nVersion

        public short nVersion()
        Returns the value of the nVersion field.
      • dwFlags

        public int dwFlags()
        Returns the value of the dwFlags field.
      • iPixelType

        public byte iPixelType()
        Returns the value of the iPixelType field.
      • cColorBits

        public byte cColorBits()
        Returns the value of the cColorBits field.
      • cRedBits

        public byte cRedBits()
        Returns the value of the cRedBits field.
      • cRedShift

        public byte cRedShift()
        Returns the value of the cRedShift field.
      • cGreenBits

        public byte cGreenBits()
        Returns the value of the cGreenBits field.
      • cGreenShift

        public byte cGreenShift()
        Returns the value of the cGreenShift field.
      • cBlueBits

        public byte cBlueBits()
        Returns the value of the cBlueBits field.
      • cBlueShift

        public byte cBlueShift()
        Returns the value of the cBlueShift field.
      • cAlphaBits

        public byte cAlphaBits()
        Returns the value of the cAlphaBits field.
      • cAlphaShift

        public byte cAlphaShift()
        Returns the value of the cAlphaShift field.
      • cAccumBits

        public byte cAccumBits()
        Returns the value of the cAccumBits field.
      • cAccumRedBits

        public byte cAccumRedBits()
        Returns the value of the cAccumRedBits field.
      • cAccumGreenBits

        public byte cAccumGreenBits()
        Returns the value of the cAccumGreenBits field.
      • cAccumBlueBits

        public byte cAccumBlueBits()
        Returns the value of the cAccumBlueBits field.
      • cAccumAlphaBits

        public byte cAccumAlphaBits()
        Returns the value of the cAccumAlphaBits field.
      • cDepthBits

        public byte cDepthBits()
        Returns the value of the cDepthBits field.
      • cStencilBits

        public byte cStencilBits()
        Returns the value of the cStencilBits field.
      • cAuxBuffers

        public byte cAuxBuffers()
        Returns the value of the cAuxBuffers field.
      • iLayerType

        public byte iLayerType()
        Returns the value of the iLayerType field.
      • bReserved

        public byte bReserved()
        Returns the value of the bReserved field.
      • dwLayerMask

        public int dwLayerMask()
        Returns the value of the dwLayerMask field.
      • dwVisibleMask

        public int dwVisibleMask()
        Returns the value of the dwVisibleMask field.
      • dwDamageMask

        public int dwDamageMask()
        Returns the value of the dwDamageMask field.
      • cAccumGreenBits

        public PIXELFORMATDESCRIPTOR.Buffer cAccumGreenBits​(byte value)
        Sets the specified value to the cAccumGreenBits field.
      • cAccumAlphaBits

        public PIXELFORMATDESCRIPTOR.Buffer cAccumAlphaBits​(byte value)
        Sets the specified value to the cAccumAlphaBits field.