aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-08-26 15:22:41 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-09-08 09:40:49 +0200
commit144d4ec0262680aa9cf7732e3896a836ec126a71 (patch)
treedde015f6732d271b76d688cbf7a0988d00067758 /src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
parent81ac3bd856e7c6ead21fc2efc34cdf52cd9196b1 (diff)
Expose renderpass from QSGRendererInterface
Important for Vulkan and (upcoming) examples like vulkanunderqml. Change-Id: I5b6c978f38175eca76efe059aa83bb7158724752 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgrendererinterface.cpp')
-rw-r--r--src/quick/scenegraph/coreapi/qsgrendererinterface.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp b/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
index e504fe1c62..bc68199e08 100644
--- a/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
+++ b/src/quick/scenegraph/coreapi/qsgrendererinterface.cpp
@@ -134,6 +134,10 @@ QT_BEGIN_NAMESPACE
\value VulkanInstanceResource The resource is a pointer to the
QVulkanInstance used by the scenegraph, when applicable.
+
+ \value RenderPassResource The resource is a pointer to the render pass used
+ by the scenegraph, describing the color and depth/stecil attachments and
+ how they are used. For example, a \c{VkRenderPass *}.
*/
/*!