From 199f06e31bbec5613bc9ec8aadb2b88d14177a64 Mon Sep 17 00:00:00 2001 From: Andreas Eliasson Date: Fri, 21 Jun 2024 12:57:06 +0200 Subject: [PATCH] Doc: Link to QRhiColorAttachment after 'resolve texture' After mentioning 'resolve texture', link to the QRhiColorAttachment class to provide more information. Fixes: QTBUG-126165 Pick-to: 6.7 Change-Id: Ib6af6b238be2c1ee1f3b15ff08e39dc07d69515d Reviewed-by: Laszlo Agocs (cherry picked from commit c26bf302963e354ef0f2e3e0bb0a6a4f6dbafc22) Reviewed-by: Qt Cherry-pick Bot --- src/gui/rhi/qrhi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/rhi/qrhi.cpp b/src/gui/rhi/qrhi.cpp index f10fc1b5bf8..5cdb13e593d 100644 --- a/src/gui/rhi/qrhi.cpp +++ b/src/gui/rhi/qrhi.cpp @@ -5077,7 +5077,8 @@ QRhiResource::Type QRhiSwapChainRenderTarget::resourceType() const For multisample rendering the common approach is to use a renderbuffer as the color attachment and set the non-multisample destination texture as the - \c{resolve texture}. + \c{resolve texture}. For more information, read the detailed description of + the \l QRhiColorAttachment class. \note Textures used in combination with QRhiTextureRenderTarget must be created with the QRhiTexture::RenderTarget flag.