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

Selects which color attachment of the user-defined RenderPass to expose as a texture. Only relevant when textureSource is set to UserPassTexture.

ConstantDescription
RenderOutputProvider.Attachment0Use color attachment 0 (default).
RenderOutputProvider.Attachment1Use color attachment 1.
RenderOutputProvider.Attachment2Use color attachment 2.
RenderOutputProvider.Attachment3Use color attachment 3.

See also renderPass and textureSource.

renderPass : RenderPass

The RenderPass whose output attachments will be exposed as a texture. Setting this property automatically sets textureSource to UserPassTexture. Use attachmentSelector to choose which color attachment of the pass to expose.

See also attachmentSelector, textureSource, and RenderPass.

textureSource : enumeration

This property holds which pass buffer texture to expose.

ConstantDescription
RenderOutputProvider.NoneNo texture source is selected.
RenderOutputProvider.UserPassTextureAccesses a color attachment from a user-defined RenderPass. Use the renderPass and attachmentSelector properties to specify which pass and attachment to use.
RenderOutputProvider.AoTextureThe ambient occlusion texture created by QtQuick3D's SSAO pass.
RenderOutputProvider.DepthTextureThe depth texture created by QtQuick3D's depth pre-pass.
RenderOutputProvider.ScreenTextureThe texture containing the rendered scene.
RenderOutputProvider.NormalTextureThe world-space normal texture created by QtQuick3D's normal pre-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.