On this page

QSSGRenderExtensionHelpers Class

Class containing helper functions for the extensions. More...

Header: #include <qssgrenderhelpers.h>
Since: Qt 6.7

Static Public Members

void registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture)
(since 6.13) void registerRenderResultBuffer(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiBuffer *buffer)

Detailed Description

Member Function Documentation

[static] void QSSGRenderExtensionHelpers::registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture)

Register a render result, in form of a texture, for this extension. Once a texture is registered, the extension can be used as a {QtQuick3D::Texture::textureProvider}{texture provider} in QML.

Note: To ensure that the texture is available for renderables, for example to be used by a {QtQuick3D::Texture} item, textures should be registered during the QSSGRenderExtension::prepareData call of the extension.

Note: Calling this function with a new texture will unregister any previously registered texture. To unregister a texture, call this function with a nullptr texture.

frameData

See also textureProvider.

[static, since 6.13] void QSSGRenderExtensionHelpers::registerRenderResultBuffer(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiBuffer *buffer)

Register a render result, in form of a buffer, for this extension. Once a buffer is registered, the extension can be used as a buffer provider in QML.

To ensure that the buffer is available for renderables, for example, to be used by a ShaderStorageBuffer item, buffers must be registered during the QSSGRenderExtension::prepareData call of the extension.

Calling this function with a new buffer unregisters any previously registered buffer. To unregister a buffer, call this function with a nullptr buffer. A ShaderStorageBuffer that uses the extension as its buffer provider then falls back to a buffer of its own, holding its bufferData, or empty if it has none.

frameData

This function was introduced in Qt 6.13.

See also bufferProvider.

© 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.