En esta página

TextureProviderExtension QML Type

Un tipo base abstracto no creable para extensiones de proveedores de texturas. Más...

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

RenderExtension

Propiedades

Descripción detallada

Véase también QQuick3DTextureProviderExtension y QSSGRenderExtension.

Documentación de propiedades

samplerHint : enumeration

Esta propiedad contiene una pista sobre el tipo de textura que proporcionará la extensión. Esto es necesario porque los datos de textura no serán proporcionados hasta que sean necesarios, pero los materiales que utilizan el componente Textura necesitan saber qué tipo de muestreador proporcionar. Esta propiedad debe establecerse a uno de los siguientes valores:

ConstanteDescripción
TextureProviderExtension.Sampler2DLa textura será una textura 2D.
TextureProviderExtension.Sampler2DArrayLa textura será una textura array.
TextureProviderExtension.Sampler3DLa textura será una textura 3D.
TextureProviderExtension.SamplerCubeLa textura será una textura de mapa cúbico.
TextureProviderExtension.SamplerCubeArrayLa textura será una matriz de texturas de mapa cúbico.
TextureProviderExtension.SamplerBufferLa textura será una textura de búfer.

El valor por defecto es TextureProviderExtension.Sampler2D.

Nota: Esta propiedad sólo se utiliza cuando se usan CustomMaterials.

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