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

Document layer.effect: MultiEffect{} on the MultiEffect docs page

XMLWordPrintable

    • 4a33bd768 (dev), 13c000727 (6.8), 5683caaf1 (dev), 46165cccc (6.8), 5fc1e3f97 (6.7)

      The docs for MultiEffect don't mention that you can do layer.effect: MultiEffect{}. Just found that trick mentioned on a completely different page. It would have been very useful to know earlier.

      The MultiEffect docs page is extemely under-written. It needs to talk about:

      • Using layer.effect: MultiEffect{}
      • When you can use the source directly vs when you should wrap it in ShaderEffectSource
      • How MultiEffect creates a new visual item that you need to size and position and use instead of the source item. Most people would assume it applies an effect to the source item, not create a new item alongside the source.
      • How you should use hideSource on MultiEffect rather than make the source item invisible.

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

            lexcaz Alexei Cazacov
            mattsidefx Matt Chaput
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes