On this page

TextureProviderExtension QML Type (Uncreatable)

Abstract base type for render extensions that produce a texture. More...

Import Statement: import QtQuick3D
Since: Qt 6.11
In C++: QQuick3DTextureProviderExtension
Inherits:

RenderExtension

Inherited By:

QuadTextureProvider and RenderOutputProvider

Note: This is an uncreatable type. It cannot be instantiated in QML.

Enumerations

Properties

Detailed Description

TextureProviderExtension is an uncreatable abstract base type for render extensions that expose a GPU texture to the Qt Quick 3D scene. Subclasses (such as RenderOutputProvider) can be assigned to the textureProvider property of a Texture, causing the extension's render code to run automatically when the texture is needed by the scene.

See also RenderOutputProvider, QQuick3DTextureProviderExtension, and QSSGRenderExtension.

Enumeration Documentation

[since 6.11] SamplerHint

Specifies a hint about the type of texture the extension provides.

ConstantDescription
TextureProviderExtension.Sampler2DA 2D texture
TextureProviderExtension.Sampler2DArrayAn array texture
TextureProviderExtension.Sampler3DA 3D texture
TextureProviderExtension.SamplerCubeA cube map texture
TextureProviderExtension.SamplerCubeArrayAn array of cube map textures
TextureProviderExtension.SamplerBufferA buffer texture

This enumeration was introduced in Qt 6.11.

Property Documentation

samplerHint : SamplerHint [since 6.11]

This property contains a hint about the type of texture that will be provided by the extension. This is necessary because the texture data will not be provided until it is necessary, but materials that use the Texture component need to know what type of sampler to provide.

The default value is TextureProviderExtension.Sampler2D.

Note: This property is only used when using CustomMaterials.

This property was introduced in Qt 6.11.

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