Details
-
User Story
-
Resolution: Fixed
-
P2: Important
-
6.5.0 FF
-
None
-
-
fc0d46971 (dev)
Description
With the Qt Quick Effect Maker, advanced use cases will be covered. However, there is still the use case of adding one or two standard effects on your UI items programmatically, without launching a separate tool.
Since we have solutions for the advanced use case, we can tailor this for the common usages that will benefit the most of our users.
This can be based on the current multi-effect work, but we will limit the effects we need to effects commonly used by UIs and a predefined order they are applied. We don't need to worry about incorporating custom shader code in this, since this is already handled perfectly by Qt Quick Effect Maker.
To avoid an explosion of pre-generated shaders we can either:
- Keep the number of available effects low,
- Limit the number of chained effects in a single pass,
- Support certain combination with pregenerated shaders and a have a fallback option which works for any combination (either by generating shader code at runtime or by having one big universal fragment shader with conditional branches for all effects.
Either way, this is a convenience to replace most common uses of Qt Graphical Effects and Qt Effect Maker is the go-to solution for any use case too advanced for it.
Note: The component should be added to Qt Quick, so that it can also be used by Qt Quick Controls.
Attachments
Issue Links
- mentioned in
-
Page Loading...
Gerrit Reviews
For Gerrit Dashboard: QTBUG-106651 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
442859,26 | Add QtQuick.Effects & MultiEffect | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |