TextureProviderExtension QML Type

An uncreatable abstract base type for texture provider extensions. More...

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

RenderExtension

Properties

Detailed Description

See also QQuick3DTextureProviderExtension and QSSGRenderExtension.

Property Documentation

samplerHint : enumeration

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. This property should be set to one of the following values:

ConstantDescription
TextureProviderExtension.Sampler2DThe texture will be a 2D texture.
TextureProviderExtension.Sampler2DArrayThe texture will be an array texture.
TextureProviderExtension.Sampler3DThe texture will be a 3D texture.
TextureProviderExtension.SamplerCubeThe texture will be a cube map texture.
TextureProviderExtension.SamplerCubeArrayThe texture will be an array of cube map textures.
TextureProviderExtension.SamplerBufferThe texture will be a buffer texture.

The default value is TextureProviderExtension.Sampler2D.

Note: This property is only used when using CustomMaterials.

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