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: |
Propiedades
- samplerHint : enumeration
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:
| Constante | Descripción |
|---|---|
TextureProviderExtension.Sampler2D | La textura será una textura 2D. |
TextureProviderExtension.Sampler2DArray | La textura será una textura array. |
TextureProviderExtension.Sampler3D | La textura será una textura 3D. |
TextureProviderExtension.SamplerCube | La textura será una textura de mapa cúbico. |
TextureProviderExtension.SamplerCubeArray | La textura será una matriz de texturas de mapa cúbico. |
TextureProviderExtension.SamplerBuffer | La 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.