From c26bf302963e354ef0f2e3e0bb0a6a4f6dbafc22 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.8 6.7 Change-Id: Ib6af6b238be2c1ee1f3b15ff08e39dc07d69515d Reviewed-by: Laszlo Agocs --- 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 8a2e150b1bb..000a8edde9c 100644 --- a/src/gui/rhi/qrhi.cpp +++ b/src/gui/rhi/qrhi.cpp @@ -5080,7 +5080,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.