QSSGRenderExtensionHelpers Class | Qt Quick 3D | Qt 6.12.0
Description: Class containing helper functions for the extensions.
Keywords: class

- Qt 6.12
- Qt Quick 3D
- C++ Classes
- QSSGRenderExtensionHelpers
- Qt Quick 3D | Commercial or GPLv3

# QSSGRenderExtensionHelpers Class

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

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

- List of all members, including inherited members

## Static Public Members

void | registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture)

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