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 <laszlo.agocs@qt.io>
(cherry picked from commit c26bf302963e354ef0f2e3e0bb0a6a4f6dbafc22)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Andreas Eliasson 2024-06-21 12:57:06 +02:00 committed by Qt Cherry-pick Bot
parent df192e7874
commit 199f06e31b

View File

@ -5077,7 +5077,8 @@ QRhiResource::Type QRhiSwapChainRenderTarget::resourceType() const
For multisample rendering the common approach is to use a renderbuffer as For multisample rendering the common approach is to use a renderbuffer as
the color attachment and set the non-multisample destination texture as the 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 \note Textures used in combination with QRhiTextureRenderTarget must be
created with the QRhiTexture::RenderTarget flag. created with the QRhiTexture::RenderTarget flag.