Package org.lwjgl.ovr

Class OVRTextureSwapChainDesc.Buffer

    • Constructor Detail

      • Buffer

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

      • Type

        public int Type()
        Returns the value of the Type field.
      • Format

        public int Format()
        Returns the value of the Format field.
      • ArraySize

        public int ArraySize()
        Returns the value of the ArraySize field.
      • Width

        public int Width()
        Returns the value of the Width field.
      • Height

        public int Height()
        Returns the value of the Height field.
      • MipLevels

        public int MipLevels()
        Returns the value of the MipLevels field.
      • SampleCount

        public int SampleCount()
        Returns the value of the SampleCount field.
      • StaticImage

        public boolean StaticImage()
        Returns the value of the StaticImage field.
      • MiscFlags

        public int MiscFlags()
        Returns the value of the MiscFlags field.
      • BindFlags

        public int BindFlags()
        Returns the value of the BindFlags field.