Doc: mention that clipping can affect performance and link to page

Pick-to: 5.15 5.12
Change-Id: I85e60dd5c8643a8e443a14250987b2b38c78dc08
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Mitch Curtis 2020-10-09 10:59:46 +02:00
parent 7658785395
commit c1c01e21d1
1 changed files with 3 additions and 0 deletions

View File

@ -3706,6 +3706,9 @@ QList<QQuickItem *> QQuickItem::childItems() const
as the painting of its children, to its bounding rectangle. If you set
clipping during an item's paint operation, remember to re-set it to
prevent clipping the rest of your scene.
\note Clipping can affect rendering performance. See \l {Clipping} for more
information.
*/
bool QQuickItem::clip() const
{