QDithering Class

(Qt3DRender::QDithering)

Enable dithering 更多...

头文件: #include <QDithering>
qmake: QT += 3drender
开始支持版本: Qt 5.7
Instantiated By: Dithering
基类: Qt3DRender::QRenderState

公有函数

QDithering(Qt3DCore::QNode *parent = nullptr)

其他继承的成员

详细描述

Enable dithering

A Qt3DRender::QDithering class enables dithering. Dithering adds noise to the color values to randomize quantization error in order to prevent large scale patterns in the final image, such as banding. Dithering is most useful when rendering to a surface with low color bit depth, such as RGB565 or RGBA4444.

成员函数

QDithering::QDithering(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QDithering.