Qt3DRender::QDithering Class
class Qt3DRender::QDitheringAtivar dithering. Mais...
| Cabeçalho: | #include <qdithering.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| No QML: | Dithering |
| Herda de: | Qt3DRender::QRenderState |
| Status: | Obsoleto |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja utilizada em código novo.
Funções públicas
| QDithering(Qt3DCore::QNode *parent = nullptr) |
Descrição detalhada
Uma classe ` Qt3DRender::QDithering ` habilita o dithering. O dithering adiciona ruído aos valores de cor para randomizar o erro de quantização, a fim de evitar padrões em grande escala na imagem final, como faixas. O dithering é mais útil ao renderizar em uma superfície com baixa profundidade de bits de cor, como RGB565 ou RGBA4444.
Documentação das funções de membro
[explicit] QDithering::QDithering(Qt3DCore::QNode *parent = nullptr)
O construtor cria uma nova instância de ` QDithering::QDithering ` com o ` parent` especificado.
© 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.