Qt3DRender::QDithering Class
class Qt3DRender::QDitheringAbilita il dithering. Altro...
| Intestazione: | #include <qdithering.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | Dithering |
| Eredita da: | Qt3DRender::QRenderState |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Funzioni pubbliche
| QDithering(Qt3DCore::QNode *parent = nullptr) |
Descrizione dettagliata
Una classe di tipo " Qt3DRender::QDithering " abilita il dithering. Il dithering aggiunge rumore ai valori dei colori per randomizzare l'errore di quantizzazione, al fine di evitare la formazione di motivi su larga scala nell'immagine finale, come ad esempio le strisce. Il dithering è particolarmente utile quando si esegue il rendering su una superficie con una profondità di bit di colore ridotta, come RGB565 o RGBA4444.
Documentazione delle funzioni membro
[explicit] QDithering::QDithering(Qt3DCore::QNode *parent = nullptr)
Il costruttore crea una nuova istanza di ` QDithering::QDithering ` con il valore specificato in ` parent`.
© 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.