aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2026-02-10 13:56:47 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2026-02-20 14:28:17 +0000
commit72be0c99b677c0f65ed5519818addf40c974e95d (patch)
tree6a6161005249532c5fc298229531f6237f91b89c
parentd085d3f7eabfceaee3b9757b8dbcc16bae3b1c62 (diff)
QQuickRhiItem: Add missing TextureFormat enum docs
Pick-to: 6.10 6.8 Change-Id: If6528dd95f662d460f85b36f6545a0dfdc8d8f81 Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io> (cherry picked from commit c99d7890449921a89127ecafb360f3308d25eea9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/quick/items/qquickrhiitem.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/quick/items/qquickrhiitem.cpp b/src/quick/items/qquickrhiitem.cpp
index f305063297..d2cd3f5252 100644
--- a/src/quick/items/qquickrhiitem.cpp
+++ b/src/quick/items/qquickrhiitem.cpp
@@ -599,6 +599,18 @@ void QQuickRhiItem::setSampleCount(int samples)
}
/*!
+ \enum QQuickRhiItem::TextureFormat
+ Specifies the format of the backing texture to which the QQuickRhiItem renders.
+
+ \value RGBA8 See QRhiTexture::RGBA8. This is the default.
+ \value RGBA16F See QRhiTexture::RGBA16F.
+ \value RGBA32F See QRhiTexture::RGBA32F.
+ \value RGB10A2 See QRhiTexture::RGB10A2.
+
+ \sa QRhiTexture
+ */
+
+/*!
\property QQuickRhiItem::colorBufferFormat
This property controls the texture format for the texture used as the color