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

CustomMaterial passes property doesn't work with non-inlined passes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.15.1
    • Fix Version/s: 5.15.1
    • Component/s: Quick: 3D
    • Labels:
      None
    • Commits:
      54cc8fa76eb4a813084ec8f67e01e001cdd66ef6 (qt/qtquick3d/5.15)

      Description

      E.g. in custom material example, if I define the passes like this, the object fails to render:

          Pass {
              id: thePass
              shaders: [ vertShader, fragShader ]
          }
      
          passes: [thePass] 

      Error in trace: [400] qrc:/ExampleMaterial.qml:82:5: Unable to assign QList<QObject*> to QQmlListProperty<QQuick3DShaderUtilsRenderPass>

      It's necessary to be able to assing non-inlined passes for QDS.

        Attachments

        For Gerrit Dashboard: QTBUG-85979
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            e0348803 Miikka Heikkinen
            Reporter:
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes