Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.5.1, 5.14.0
-
None
-
web
-
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"