diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-08-22 16:30:20 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-08-25 23:57:17 +0000 |
commit | 2f54eb1b1182855f90c6433b47d691cfb7c406d9 (patch) | |
tree | 2ea6d2a0e8d3d218039190722da519bd2b530458 | |
parent | d199a957577375063daf135535600483101c8d95 (diff) |
scenegraph docs: Mention a way to enable Metal validation
Change-Id: I07e69b8456c3e5ae5f4c364874d69781491e10fa
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
(cherry picked from commit fc088c4d5a8d74bc477e5924fd01b9dad6ec6e8c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc b/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc index 505e7b570a..8163cf0dd6 100644 --- a/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc +++ b/src/quick/doc/src/concepts/visualcanvas/scenegraph.qdoc @@ -1171,8 +1171,10 @@ with multiple windows. \row \li \c QSG_RHI_DEBUG_LAYER \li \c 1 - \li Where applicable (Vulkan, Direct3D), enables the graphics API implementation's debug - and/or validation layers, if available. + \li Where applicable (Vulkan, Direct3D), enables the graphics API implementation's + debug or validation layers, if available, either on the graphics device or the instance + object. For Metal on \macos, set the environment variable + \c{METAL_DEVICE_WRAPPER_TYPE=1} instead. \row \li \c QSG_RHI_PREFER_SOFTWARE_RENDERER |