On this page

RenderOutputProvider QML Type

Used as a bridge to access textures provided in passes. More...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.11
Inherits:

TextureProviderExtension

Properties

Detailed Description

This type is used to provide textures that are generated by passes in the rendering pipeline.

Some example of when this is useful is when you want to access the depth texture generated by the ZPrePass, or the ambient occlusion texture generated by the SSAO pass. This type can be used to access these generated textures and use them in materials or effects.

Texture {
    textureProvider: RenderOutputProvider {
        // Specify the pass buffer texture you want to access
        textureSource: RenderOutputProvider.DepthTexture
    }
}

See also QQuick3DTextureProviderExtension and QSSGRenderExtension.

Property Documentation

attachmentSelector : enumeration

This property holds which attachment to use when accessing a user defined pass texture.

Possible attachments when using a user defined render pass:

ConstantValue
RenderOutputProvider.Attachment0
RenderOutputProvider.Attachment1
RenderOutputProvider.Attachment2
RenderOutputProvider.Attachment3

renderPass : RenderPass

This property holds the user defined render pass to use when accessing a user defined pass texture.

When this property is set, the textureSource property is automatically set to RenderOutputProvider.UserPassTexture.

See also textureSource and RenderPass.

textureSource : enumeration

This property holds which pass buffer texture to use.

ConstantDescription
RenderOutputProvider.NoneNo texture source is selected.
RenderOutputProvider.UserPassTextureA user defined pass. If this is used to access a user defined pass.
RenderOutputProvider.AoTextureThe ambient occlusion texture created by QtQuick3D's AO pass.
RenderOutputProvider.DepthTextureThe depth texture created by QtQuick3D's Depth map pass.
RenderOutputProvider.ScreenTextureThe texture containing the rendered scene.
RenderOutputProvider.NormalTextureThe normal texture created by QtQuick3D's Normal map pass.
RenderOutputProvider.MotionVectorTextureThe motion vector texture created by QtQuick3D's Motion Vector pass.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.