RenderPassTexture QML Type
Définit une texture à utiliser comme cible de rendu dans une page pass. Plus....
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| Inherits: |
Propriétés
- format : enumeration
Description détaillée
Le type RenderPassTexture est utilisé pour spécifier une texture qui sera utilisée comme cible de rendu dans un site RenderPass. Vous pouvez définir le format de la texture à l'aide de la propriété format.
Une fois définie, la texture peut être attachée à une couleur ou à une profondeur. La texture sera automatiquement créée et gérée par le système de rendu.
Voir également ColorAttachment et DepthTextureAttachment.
Documentation sur les propriétés
format : enumeration
Définit le format de la texture de la cible de rendu.
Les formats disponibles sont les suivants :
| Constante | Valeur |
|---|---|
RenderPassTexture.Unknown | |
RenderPassTexture.RGBA8 | |
RenderPassTexture.RGBA16F | |
RenderPassTexture.RGBA32F | |
RenderPassTexture.R8 | |
RenderPassTexture.R16 | |
RenderPassTexture.R16F | |
RenderPassTexture.R32F | |
RenderPassTexture.Depth16 | |
RenderPassTexture.Depth24 | |
RenderPassTexture.Depth32 | |
RenderPassTexture.Depth24Stencil8 |
© 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.