Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49802

Error on QOpenGLTexture documentation page

    XMLWordPrintable

Details

    • 382619de6592ff9583504bd31176bf8dc51b0771 (qt/qtbase/5.14)
    • DaVinci sprint 2

    Description

      There seems to be a typo or some kind of mismatch in the QOpenGLTexture docs.

      From https://www.opengl.org/wiki/Array_Texture

      "2D array textures are created similarly; bind a newly-created texture object to GL_TEXTURE_2D_ARRAY, then use the "3D" image functions to allocate storage. The depth​ parameter sets the number of layers in the array.

      Each 2D row/column sequence of pixel data in the "3D" array of pixels is considered a separate 2D layer. "

      From http://doc.qt.io/qt-5/qopengltexture.html

      "QOpenGLTexture::Target2DArray 0x8C1A An array of 1-dimensional textures. Equivalent to GL_TEXTURE_2D_ARRAY"

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            leenam Leena Miettinen
            delt delt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes