Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
None
-
None
-
4a33bd768 (dev), 13c000727 (6.8), 5683caaf1 (dev), 46165cccc (6.8), 5fc1e3f97 (6.7)
Description
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.
Attachments
For Gerrit Dashboard: QTBUG-127993 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
586509,3 | Docs: improve the MultiEffect documentation | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
586985,4 | Docs: add recomendations for using MultiEffect with ShaderEffectSource | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
587153,2 | Docs: improve the MultiEffect documentation | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
587233,2 | Docs: improve the MultiEffect documentation | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
587374,2 | Docs: add recomendations for using MultiEffect with ShaderEffectSource | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |