Class TextureInfo


  • public final class TextureInfo
    extends Object
    Contains information describing an OpenGL texture.
    • Field Detail

      • texId

        public final int texId
        The OpenGL texture identifier.
      • fboId

        public final int fboId
        Identifier of a framebuffer object associated with the texture.
      • width

        public final int width
        The width of the texture, in pixels.
      • height

        public final int height
        The height of the texture, in pixels.
    • Constructor Detail

      • TextureInfo

        public TextureInfo​(int texId,
                           int fboId,
                           int width,
                           int height)
        Creates a new instance.
        Parameters:
        texId - The OpenGL texture identifier.
        fboId - Identifier of a framebuffer object associated with the texture.
        width - The width of the texture, in pixels.
        height - The height of the texture, in pixels.