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

QRhiResourceUpdateBatch::copyTexture() documentation is a bit unclear

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.1
    • Documentation, Qt RHI
    • None

    Description

      The documentation of QRhiResourceUpdateBatch::copyTexture() states that "The format of the textures must match". Does "format" here mean format in the narrow sense of QRhiTexture::Format or do other attributes such as sampleCount also have to match? In other words, can the function be used to "collapse" a multi-sample texture to a single-sample texture or not? This is not clear from the documentation.  Please make the documentation more explicit on this point.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            jrade Johan Råde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes