Qt3DRender::QDithering Class
class Qt3DRender::QDitheringActive le tramage. Plus...
| En-tête : | #include <QDithering> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3drender)target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake : | QT += 3drender |
| En QML : | Dithering |
| Hérite : | Qt3DRender::QRenderState |
| Statut : | Déclassé |
Fonctions publiques
| QDithering(Qt3DCore::QNode *parent = nullptr) |
Description détaillée
La classe Qt3DRender::QDithering permet d'activer la fonction de tramage. Le tramage ajoute du bruit aux valeurs de couleur pour randomiser l'erreur de quantification afin d'éviter les motifs à grande échelle dans l'image finale, tels que l'effet de bande. Le tramage est particulièrement utile lors du rendu sur une surface avec une faible profondeur de bits de couleur, telle que RGB565 ou RGBA4444.
Documentation des fonctions membres
[explicit] QDithering::QDithering(Qt3DCore::QNode *parent = nullptr)
Le constructeur crée une nouvelle instance QDithering::QDithering avec l'adresse parent spécifiée.
© 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.