aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrendercontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/items/qquickrendercontrol.h')
-rw-r--r--src/quick/items/qquickrendercontrol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quick/items/qquickrendercontrol.h b/src/quick/items/qquickrendercontrol.h
index 195b518dcc..1d8da84e57 100644
--- a/src/quick/items/qquickrendercontrol.h
+++ b/src/quick/items/qquickrendercontrol.h
@@ -14,6 +14,8 @@ class QQuickWindow;
class QOpenGLContext;
class QQuickRenderControlPrivate;
class QThread;
+class QRhi;
+class QRhiCommandBuffer;
class Q_QUICK_EXPORT QQuickRenderControl : public QObject
{
@@ -44,6 +46,9 @@ public:
QQuickWindow *window() const;
+ QRhi *rhi() const;
+ QRhiCommandBuffer *commandBuffer() const;
+
protected:
explicit QQuickRenderControl(QQuickRenderControlPrivate &dd, QObject *parent = nullptr);