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

Consider how to handle multiple, different clear values for attachments (MRT)

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Qt RHI
    • None

    Description

      beginPass() has one color clear value that applies to all color attachments, and one depth and stencil clear value.

      Ideally there should be a way to specify a color clear value per color attachment. This maps well to most modern APIs, whereas for GL and GLES (3.0+) we'd likely begin using glClearBufferfv in the backend to implement htis.

      (while we are at it, using QColor is not necessarily ideal always)

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes